![]() |
|
|
#1 |
|
Junior Member
Join Date: Sep 2005
Posts: 3
|
my '/usr/include/mysql' doesn't exist!!!
Hi.
Using MySQL v4.0.3 on Linux. I don't know how MySQL was installed my 'mysql_config' is only at: '/usr/src/redhat/BUILD/mysql-4.1.9/scripts/mysql_config' ------------- [root@server]# /usr/src/redhat/BUILD/mysql-4.1.9/scripts/mysql_config Usage: /usr/src/redhat/BUILD/mysql-4.1.9/scripts/mysql_config [OPTIONS] Options: --cflags [-I/usr/include/mysql -g -pipe -m32 -march=i386 -mcpu=i686] --include [-I/usr/include/mysql] --libs [-L/usr/lib/mysql -lmysqlclient -lcrypt -lnsl -lm -lz] --libs_r [-L/usr/lib/mysql -lmysqlclient_r -lpthread -lcrypt -lnsl -lm -lpthread -lz] --socket [/var/lib/mysql/mysql.sock] --port [3306] --version [4.1.9] --libmysqld-libs [-L/usr/lib/mysql -lmysqld -lpthread -lcrypt -lnsl -lm -lpthread -lrt -lcrypt -lnsl -lm -lz] ----------- But my '/usr/include/mysql' doesn't exist!!! The unique directory where 'mysql.h' is: ---------------- [root@server]# locate mysql.h /usr/src/redhat/BUILD/mysql-4.1.9/include/mysql.h ---------------- What's the better way to fix this issue? 1) Creating a '/usr/include/mysql' by hand 2) Modifying 'mysql_config' Thank you very much. |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Feb 2006
Posts: 5
|
Re: my '/usr/include/mysql' doesn't exist!!!
I would try to create the directory by hand. Try this site out.
www.linuxquestions.org. A great site. If you go to the fourms and choose your distrubution you will probably have a great dill of success. I know I have found that to be a big help. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|