Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Building/compiling mod_auth_mysql- Problem' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Building/compiling mod_auth_mysql- Problem
Authored by: EddieG on Jul 29, '08 03:11:27PM

Hi. I downloaded the mod_auth_mysql 3.0 from sourceforge. I tried following the instructions on the ReadMe file and looked through several postings but still no luck.

Here is what I typed:

$ apxs -c -I/usr/local/mysql/include -L/usr/local/mysql/lib/mysql -lmysqlclient -lm mod_auth_mysql.c

Then this would display:

/usr/share/apr-1/build-1/libtool --silent --mode=compile gcc -DDARWIN
-DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I/usr/include/apache2 -I
/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/local/mysql/include -c -o mod_auth_mysql.lo
mod_auth_mysql.c && touch mod_auth_mysql.slo
/usr/share/apr-1/build-1/libtool: line 1219: gcc: command not found
apxs:Error: Command failed with rc=65536

I checked to make sure the mysql.h and libmysqlclient files were in the appropriate directories.

How do I fix this? Thanks



[ Reply to This | # ]