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


Click here to return to the 'I can't compile this' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
I can't compile this
Authored by: jpkelly on Oct 16, '04 07:37:50PM

on OS 10.2.6
I tried:
apxs -c -D -lmysqlclient -lm -lz -I/usr/include/mysql -L/usr/lib/mysql mod_auth_mysql.c

and got:
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/include/mysql -D-lmysqlclient -c mod_auth_mysql.c
cc -bundle -undefined suppress -flat_namespace -Wl,-bind_at_load -o mod_auth_mysql.so mod_auth_mysql.o -L/usr/lib/mysql -lm -lz

Any ideas or help?
Thanks.



[ Reply to This | # ]
I can't compile this(still)
Authored by: jpkelly on Oct 16, '04 07:44:01PM

I also tried:
apxs -c -lmysqlclient -lm -lz -I/usr/include/mysql -L/usr/lib/mysql mod_auth_mysql.c

and got:
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/include/mysql -c mod_auth_mysql.c
cc -bundle -undefined suppress -flat_namespace -Wl,-bind_at_load -o mod_auth_mysql.so mod_auth_mysql.o -L/usr/lib/mysql -lmysqlclient -lm -lz



[ Reply to This | # ]
No need to compile!
Authored by: Elander on Nov 15, '04 12:33:09PM
You can find a ready made installation package for OS X on this page (link opens a new window):

http://modauthmysql.sourceforge.net/

It's for 2.6.1 (the current version is 2.7.0 but if you don't need to be on the bleeding edge this'll work just fine in most cases).

---


/elander

[ Reply to This | # ]