Re: can't find mysql.h

"John Reid" <[email protected]> Sat, 10 Dec 2011 13:45:48 +1100 (EST)
Newsgroups gmane.org.user-groups.linux.new-zealand.general
Message-ID <[email protected]>
Robin

ls -l /usr/iclude/mysql

returns "... No such file or directory"

You say
"have you tried downloading the .deb manually, extracting the files and
looking in there?"

Download where from? I purchased 6 CDs precisely to avoid this sort of
problem. I guess I could look on them.


Nick

dpkg -L libmysqlclient-dev

returns "Package `libmysqlclient-dev' is not installed.
Use dpkg --info (=3D dpkg-deb --info) to examine archive files, and dpkg
--contents (=3D dpkg-deb --contents) to list their contents."

apt-get install libmysqlclient-dev

returns "Package 'libmysqlclient-dev' is not available, but is referred t=
o
by another package.
This may mean that the package is missing, has been obsoleted, or is only
available from another source
However the following packages replace it:
  mysql-server-5.1
E: Package 'libmysqlclient-dev' has no installation candidate"

apt-get install mysql-server-5.1

returns "Reading package lists...
Building dependency tree...
Reading state information...
mysql-server-5.1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded."

Can I force installation of libmysqlclient-dev?
Should I?




_______________________________________________
NZLUG mailing list [email protected]
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug