I am trying to get this module installed with no success. I am not making it past the compile step. I spent the entire day googling and searching for what could be the possible cause with no success.
I tried all possible suggested combinations of syntax --- with dashes and without and with full path, partial path and no path.
This is for a Mac OS X Server 10.3.9, Apache 1.3.33, PHP Version 4.3.11, mySQL Server 4.0.25, mySQL client 3.23.49
apxs has a tendency to hide necessary error messages. Try running the gcc command you displayed by itself to see what happens. Hopefully it will spit out a meaningful error message.
Jerry
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to get this module installed with no success. I am not making it past the compile step. I spent the entire day googling and searching for what could be the possible cause with no success.
I tried all possible suggested combinations of syntax --- with dashes and without and with full path, partial path and no path.
This is for a Mac OS X Server 10.3.9, Apache 1.3.33, PHP Version 4.3.11, mySQL Server 4.0.25, mySQL client 3.23.49
I always get the following error:
gcc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe -DHARD_SERVER_LIMIT=2048 -DEAPI -DSHARED_MODULE -I/usr/include/httpd -I/usr/local/mysql-standard-4.0.25-apple-darwin7.9.0-powerpc/include/ -c mod_auth_mysql.c
I am not very knowledgable on this and would appreciate any help greatly.
thanks
Calvin
Sorry, I missed one more output:
apxs:Break: Command failed with rc=16777215
thanks
Calvin,
apxs has a tendency to hide necessary error messages. Try running the gcc command you displayed by itself to see what happens. Hopefully it will spit out a meaningful error message.
Jerry
pushd /usr/local
ln -sf mysql-standard-4.0.25-apple-darwin7.9.0-powerpc mysql
popd
apxs -DENABLE=0 -c -I/usr/local/mysql/include/mysql -L/usr/local/mysql/lib/mysql -lmysqlclient -lz