Cannot find MySQL header files under yes.

Kernels & Hardware, configuring network, installing services

Cannot find MySQL header files under yes.

Postby Viper00 » 2006-10-22 05:19

ok, I am in the process of installing PHP and i keep getting an error, and i have searched all over for information on it and i have found alot of info, but still havent been able to get it to work..

I enter: ./configure --with-apxs=/usr/bin/apxs --with-mysql

and i end up with:
checking for MySQL UNIX socket location... /var/run/mysqld/mysqld.sock
configure: error: Cannot find MySQL header files under yes.
Note that the MySQL client library is not bundled anymore!


And i have searched all over for the mysql folder with the header files, and i have found some directorys, but i dont think they have the header files but i tryed em anyway and it still comes up with the same message.

Any help would be appreciated
Last edited by Viper00 on 2006-10-22 05:28, edited 1 time in total.
Viper00
 
Posts: 7
Joined: 2006-10-21 21:33

Postby ajdlinux » 2006-10-22 05:23

"apt-cache search mysql | grep dev" reveals that you need libmysqlclient15-dev.
Jabber: xmpp:ajdlinux@jabber.org.au
Spammers, email this: ajdspambucket@exemail.com.au
ajdlinux
 
Posts: 2480
Joined: 2006-04-23 09:37
Location: Port Macquarie, NSW, Australia

Postby Viper00 » 2006-10-22 05:32

That got it :)
thank you very much
Viper00
 
Posts: 7
Joined: 2006-10-21 21:33


Return to System configuration

Who is online

Users browsing this forum: No registered users and 12 guests

fashionable