[JDEV] Building jabberd-2.0rc1: MySQL Path?

Matthias Wimmer m at tthias.net
Tue Nov 25 07:54:31 CST 2003

Hi Dave!

Dave Lists schrieb am 2003-11-25 11:19:17:
> I had a problem were by MySQL had put headers in 
> /usr/local/mysql/include/mysql and libs in /usr/local/mysql/lib/mysql 
> there is no way to give one path to these as configure was just 
> appending libs and include to any path you give it. so I made a dir 
> called t and inside that made links called include and libs, these 
> linked to the relevant sub dirs in mysql.
> I hope that made sense?

Yeah, that are the default locations of the mysql files ...
$PREFIX/include/mysql and $PREFIX/lib/mysql.
I proposed Rob some time ago to look in these directories and not in
$PREFIX/include and $PREFIX/lib if the location is given by the
--with-mysql=<prefix> switch.
But Rob doesn't like this as on his system the installation is in the
later directores (don't know why).

I guess the best solution would be to use the mysql_config script
provided by mysql to get all the right places for libraries and
includes. Then one would at most have to specify the location of this
helper script.

Tot kijk

Fon: +49-(0)70 0770 07770       http://matthias.wimmer.name/
HAM: DB1MW                      xmpp:mawis at charente.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20031125/a47371de/attachment-0002.pgp>

More information about the JDev mailing list