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.
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.