Ndoutil confiture script failed to set mysql include path
Hendrik Bäcker
andurin at process-zero.de
Wed May 9 20:57:40 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Patrick,
Patrick Proy schrieb:
> Hi,
>
> I had a problem when compiling Ndoutil 1.4b3 on a RHEL4 with MySQL in a
> special directory :
>
> I run the configure script :
>
> -------------------
> ./configure --prefix=<prefix> --with-mysql-lib=<path1>
> --with-mysql-inc=<path2>
> -------------------
Please tell us with path1 and path2 are exactly.
I know about some other tools that would have this path directive
"before" /some/what/mysql - they just wants /some/what instead of
/some/what/mysql
> MySQL detection by configure was OK (lib + include files).
>
A little bit strange.
>
> I had to change manually the include/config.h file, lines 250 & 251 to :
>
> 246 #define USE_MYSQL 1
> 247 /* #undef HAVE_MYSQL */
> 248 #ifdef USE_MYSQL
> 249 #define HAVE_MYSQL 1
> 250 #include "<path2>/mysql/mysql.h"
> 251 #include "<path2>/mysql/errmsg.h"
> 252 #endif
What were the paths before your change?
>
>
> An init script for ndo2db included in the tgz would be great (found one here
> :
> http://nagios-portal.de/forum/print.php?threadid=5261&page=1&sid=846621ddd01
> ffbc5ee89bdf949e311d6, but I had to modify path & user)
>
Yeah! Cool guys on this forum ;)
Regars,
Hendrik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
iD8DBQFGQhmklI0PwfxLQjkRAo/iAKCA2494DrwYW4B/wCG5K+tefAHv4QCdGk+R
8/0Snn58wKXNSoEBzk/a3sk=
=6eDj
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
More information about the Developers
mailing list