Re: mod_auth_mysql link problems

2003-08-22 Thread Reini Urban
Bill McCormick schrieb: Directory /var/www/htdocs/*/admin Directory ~ /var/www/htdocs/*/admin -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

RE: mod_auth_mysql link problems

2003-08-22 Thread Bill McCormick
Directory /var/www/htdocs/*/admin Directory ~ /var/www/htdocs/*/admin Maybe you could be a little more forthright? You're saying that using the directive in this form will allow me to NOT have use a .htaccess file? Thanks, Bill --- Outgoing mail is certified Virus Free. Checked by AVG

Re: mod_auth_mysql : HELP!!!

2003-08-21 Thread Gerrit P. Haase
Bill schrieb: Try moving `-lz' to the beginning of the link line (before `-lmysqlclient' as zlib is a dependency, AFAIK). [...] my_compress.c: undefined reference to `_uncompress' Still no joy :O Looks better with libz.a at the end like in your previous mail, or did you removed errors

RE: mod_auth_mysql (2nd request)

2003-08-21 Thread Bill McCormick
Thanks Stipe: [snip] Auth_MySQL_Info host user password Auth_MySQL_Encryption_Types Plaintext, Crypt_DES, MySQL Directory /var/www/htdocs/*/admin AuthType Basic AuthName Password Required Auth_MySQL_DB * Auth_MySQL_Password_Table http_auth

RE: mod_auth_mysql

2003-08-21 Thread Bill McCormick
Hmm, which version of mysql are you using, and is there any version recommended for httpd? I'm not sure ... to both questions. I can't (quickly) locate the ver number in the source. BTW, I'm *running* the Win32 and *using* the Linux source (fresh d/l) to link against. $ nm libmysqlclient.a

Re: mod_auth_mysql

2003-08-21 Thread Gerrit P. Haase
Bill schrieb: Hmm, which version of mysql are you using, and is there any version recommended for httpd? I'm not sure ... to both questions. I can't (quickly) locate the ver number in the source. BTW, I'm *running* the Win32 and *using* the Linux source (fresh d/l) to link against. $ nm

RE: mod_auth_mysql

2003-08-21 Thread Bill McCormick
release; looks like it's not lining up with mod_auth_mysql: $ nm libmysqlclient.a | grep connect U _connect T _my_connect 0ae0 T _mysql_real_connect 1940 t _mysql_reconnect U _my_connect 00f0 T _mysql_manager_connect I don't find any documentation fro Zeev

mod_auth_mysql link problems

2003-08-21 Thread Bill McCormick
Zeev, I'm having problems linking with the MySQL 4.0 libmysqlclient under cygwin. It appears that the lib does not have mysql_connect() but instead has my_connect(). Does mod_auth_mysql need to be updated? Am I doing something wrong? Is there a work-around? Additionally, I would like

Re: mod_auth_mysql

2003-08-21 Thread Gerrit P. Haase
the 4.0 production release; looks like it's not lining up with mod_auth_mysql: $ nm libmysqlclient.a | grep connect U _connect T _my_connect 0ae0 T _mysql_real_connect 1940 t _mysql_reconnect U _my_connect 00f0 T _mysql_manager_connect I don't find

RE: mod_auth_mysql

2003-08-21 Thread Bill McCormick
It is in the binutils package like ld, should be available for every platform, I don't know if this has s.th. to do with POSIX, but it is not Right, I found it (obviously) I guess what I meant to say was: I don't see this command in Linux (that is - it's not listed in the index of my Linux

Re: mod_auth_mysql

2003-08-21 Thread Gerrit P. Haase
Bill schrieb: It is in the binutils package like ld, should be available for every platform, I don't know if this has s.th. to do with POSIX, but it is not Right, I found it (obviously) I guess what I meant to say was: I don't see this command in Linux (that is - it's not listed in the

Re: mod_auth_mysql

2003-08-20 Thread Gerrit P. Haase
Hello Bill, You need a mysql client library to link against. _compress is probably in zlib. Sorry Gerrit, I said binaries and meant src (above). I see no zlib nor find no zlib*. zlib is the canonical name of the zlib package / project, the library is called cygz.dll and the archive libz.a

Re: mod_auth_mysql

2003-08-20 Thread Elfyn McBratney
Bill McCormick [EMAIL PROTECTED] wrote: You need to link against zlib. gcc -I/usr/local/mysql/include/mysql -DCYGWIN -DUSE_HSREGEX -DNO_DL_NEEDED `./apaci`\ -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/auth_mysql/libauth_mysql.a main/libmain.a

RE: mod_auth_mysql : HELP!!!

2003-08-20 Thread Bill McCormick
Try moving `-lz' to the beginning of the link line (before `-lmysqlclient' as zlib is a dependency, AFAIK). gcc -I/usr/local/mysql/include/mysql -DCYGWIN -DUSE_HSREGEX -DNO_DL_NEEDED `./apaci`\ -o httpd buildmark.o modules.o modules/standard/libstandard.a

RE: mod_auth_mysql

2003-08-19 Thread Bill McCormick
So I went ahead and tried to rebuild Apache (the build on mod_auth_mysql) said that I needed to. I'm stuck here: modules/auth_mysql/libauth_mysql.a(mod_auth_mysql.o.b)(.text+0xc4b):mod_auth _mysql.c: undefined reference to `_mysql_connect' /usr/local/mysql/lib/mysql/libmysqlclient.a(my_compress.o

RE: mod_auth_mysql (2nd request)

2003-08-19 Thread Bill McCormick
So I went ahead and tried to rebuild Apache (the build on mod_auth_mysql) said that I needed to. I'm stuck here: modules/auth_mysql/libauth_mysql.a(mod_auth_mysql.o.b)(.text+0xc4b):mod_auth _mysql.c: undefined reference to `_mysql_connect' /usr/local/mysql/lib/mysql/libmysqlclient.a(my_compress.o

mod_auth_mysql

2003-08-18 Thread Bill McCormick
Hey all, I would like to build, CYGwin style, the latest mod_auth_mysql (ver 2.20) for Apache. The Apache directives have been updated in this version along with a number of encryption bug fixes. I've got the source from MySQL but there doesn't seem to be any info for CYGwin build. The CYGwin