File: INSTALL

package info (click to toggle)
mysql-navigator 1.2.4-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,756 kB
  • ctags: 1,058
  • sloc: cpp: 11,213; makefile: 46; sh: 24; sql: 11
file content (44 lines) | stat: -rw-r--r-- 1,309 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Install MySQL Navigator
-----------------------

* Warning

MySQL Navigator doesn't support configure script currently, because MySQL Navigator Makefiles are generated by tmake.
Therefore to compile MySQL Navigator successfully. you must modify two Makefiles. 
One is located at $prefix/src/mysql, another is $prefix/src/main directory. 
Please edit MySQL and Qt include, library path before compile. 
Then, MySQL Navigator will compile without any warning or error.

Default MySQL include path is /usr/local/mysql/include/mysql.
Default MySQL library path is /usr/local/mysql/lib/mysql.
Default Qt include path is $QTDIR/include.
Default Qt library path is $QTDIR/lib.

1. install Qt shared object 	(http://www.trolltech.com)
2. install MySQL shared object	(http://www.mysql.com)
3. $ tar xzvf mysql_navigator_xxx.tar.gz
4. $ cd mysql_navigator_xxx
5. $ make 
6. $ su
7. # make install
8. # exit
9. $ mysql_naviagtor


Deinstall MySQL Navigator
-------------------------

1. $ su
2. # make deinstall


Using tmake to make makefile
----------------------------

1. install tmake (ftp://ftp.troll.no/freebies/tmake)
2. $ export TMAKEPATH=/usr/local/tmake/lib/linux-g++
3. $ export PATH=$PATH:/usr/local/tmake/bin
4. $ cd mysql_navigator_xxx
5. $ edit build.pro file.
6. $ tmake build.pro -o makefile
7. $ make