And this only seems to be a problem with 1.2.22. I am able to compile 1.2.21.
Cheers, Eliot. Eliot Stock wrote: > > Since my post below I have managed to get ./configure to work. The > following files needed to have the line endings converted to Unix from > DOS: > > native/configure > native/scripts/build/unix/config.sub > native/scripts/build/unix/config.guess > native/scripts/build/unix/missing > > After that, however, make fails: > > eliot-stocks-computer:~/Dev/tomcat-connectors-1.2.22-src/native/apache-1.3 > root# make -f Makefile.apxs > /usr/sbin/apxs -c -o mod_jk.so -Wc,"-DDARWIN -DUSE_HSREGEX -DUSE_EXPAT > -I../lib/expat-lite -g -Os -pipe -DHARD_SERVER_LIMIT=2048 -DEAPI > -DJK_PREFORK -g -O2 -DUSE_APACHE_MD5 -I ../common/" -I > /Library/Java/Home/include -I /Library/Java/Home/include/ "" mod_jk.c > ../common/jk_ajp12_worker.c ../common/jk_connect.c ../common/jk_msg_buff.c > ../common/jk_util.c ../common/jk_ajp13.c ../common/jk_pool.c > ../common/jk_worker.c ../common/jk_ajp13_worker.c ../common/jk_lb_worker.c > ../common/jk_sockbuf.c ../common/jk_map.c ../common/jk_uri_worker_map.c > ../common/jk_ajp14.c ../common/jk_ajp14_worker.c ../common/jk_md5.c > ../common/jk_shm.c ../common/jk_ajp_common.c ../common/jk_context.c > ../common/jk_status.c > gcc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe > -DHARD_SERVER_LIMIT=2048 -DEAPI -DSHARED_MODULE -I/usr/include/httpd > -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe > -DHARD_SERVER_LIMIT=2048 -DEAPI -DJK_PREFORK -g -O2 -DUSE_APACHE_MD5 -I > ../common/ -I/Library/Java/Home/include -I/Library/Java/Home/include/ -c > mod_jk.c > In file included from /usr/include/httpd/ap_config.h:1129, > from /usr/include/httpd/httpd.h:29, > from mod_jk.c:32: > /usr/include/httpd/hsregex.h:22:1: warning: "ap_private_extern" redefined > In file included from /usr/include/httpd/httpd.h:29, > from mod_jk.c:32: > /usr/include/httpd/ap_config.h:1025:1: warning: this is the location of > the previous definition > gcc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe > -DHARD_SERVER_LIMIT=2048 -DEAPI -DSHARED_MODULE -I/usr/include/httpd > -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe > -DHARD_SERVER_LIMIT=2048 -DEAPI -DJK_PREFORK -g -O2 -DUSE_APACHE_MD5 -I > ../common/ -I/Library/Java/Home/include -I/Library/Java/Home/include/ -c > ../common/jk_ajp12_worker.c > gcc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe > -DHARD_SERVER_LIMIT=2048 -DEAPI -DSHARED_MODULE -I/usr/include/httpd > -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe > -DHARD_SERVER_LIMIT=2048 -DEAPI -DJK_PREFORK -g -O2 -DUSE_APACHE_MD5 -I > ../common/ -I/Library/Java/Home/include -I/Library/Java/Home/include/ -c > ../common/jk_connect.c > gcc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe > -DHARD_SERVER_LIMIT=2048 -DEAPI -DSHARED_MODULE -I/usr/include/httpd > -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe > -DHARD_SERVER_LIMIT=2048 -DEAPI -DJK_PREFORK -g -O2 -DUSE_APACHE_MD5 -I > ../common/ -I/Library/Java/Home/include -I/Library/Java/Home/include/ -c > ../common/jk_msg_buff.c > gcc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe > -DHARD_SERVER_LIMIT=2048 -DEAPI -DSHARED_MODULE -I/usr/include/httpd > -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe > -DHARD_SERVER_LIMIT=2048 -DEAPI -DJK_PREFORK -g -O2 -DUSE_APACHE_MD5 -I > ../common/ -I/Library/Java/Home/include -I/Library/Java/Home/include/ -c > ../common/jk_util.c > ../common/jk_util.c:364: error: static declaration of 'vsnprintf' follows > non-static declaration > ../common/jk_util.c:384: error: static declaration of 'snprintf' follows > non-static declaration > apxs:Break: Command failed with rc=1 > make: *** [mod_jk.so] Error 1 > > Any ideas anyone? > > Cheers, > > Eliot > > > Eliot Stock wrote: >> >> Hello, >> >> I can't seem to get past the first step in compiling tomcat connectors on >> Mac. When I run configure I get this: >> >> ./configure >> : bad interpreter: No such file or directory >> >> I have the latest XCode installed. >> >> Cheers, >> >> Eliot. >> > > -- View this message in context: http://www.nabble.com/tomcat-connectors%3A-configure-fails-on-Mac-OS-10.4.9-tf3714246.html#a10402883 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]