I don't know how well supported mod_wsgi is but from the recent changes in trunk I figure it should be pretty functional. Yet, I just can't seem to get get it compiled (trunk version, since latest stable doesn't compile against apache24 at all)
So my setup: apache2.4.1 on FreeBSD9-release This is what happens: [root@freebsd0 ~/wsgi/modwsgi/mod_wsgi]# ./configure --with-apxs=/usr/ local/apache2/bin/apxs --with-python=/usr/local/bin/python checking Apache version... 2.4.1 configure: creating ./config.status config.status: creating Makefile [root@freebsd0 ~/wsgi/modwsgi/mod_wsgi]# make /usr/local/apache2/bin/apxs -c -I/usr/local/include/python2.7 - DNDEBUG wsgi_apache.c wsgi_convert.c wsgi_validate.c -L/usr/local/ lib -L/usr/local/lib/python2.7/config -lpython2.7 -lutil -lm /usr/local/share/apr/build-1/libtool --silent --mode=compile cc - std=gnu99 -prefer-pic -g -O2 -I/usr/local/apache2/include -I/usr/ local/include/apr-1 -I/usr/local/include/apr-1 -I/usr/local/include - I/usr/local/include/db42 -I/usr/local/include/python2.7 -DNDEBUG -c - o wsgi_apache.lo wsgi_apache.c && touch wsgi_apache.slo /usr/local/share/apr/build-1/libtool --silent --mode=compile cc - std=gnu99 -prefer-pic -g -O2 -I/usr/local/apache2/include -I/usr/ local/include/apr-1 -I/usr/local/include/apr-1 -I/usr/local/include - I/usr/local/include/db42 -I/usr/local/include/python2.7 -DNDEBUG -c - o wsgi_convert.lo wsgi_convert.c && touch wsgi_convert.slo /usr/local/share/apr/build-1/libtool --silent --mode=compile cc - std=gnu99 -prefer-pic -g -O2 -I/usr/local/apache2/include -I/usr/ local/include/apr-1 -I/usr/local/include/apr-1 -I/usr/local/include - I/usr/local/include/db42 -I/usr/local/include/python2.7 -DNDEBUG -c - o wsgi_validate.lo wsgi_validate.c && touch wsgi_validate.slo /usr/local/share/apr/build-1/libtool --silent --mode=link cc - std=gnu99 -o wsgi_apache.la -rpath /usr/local/apache2/modules -module -avoid-version wsgi_validate.lo wsgi_convert.lo wsgi_apache.lo -L/ usr/local/lib -L/usr/local/lib/python2.7/config -lpython2.7 -lutil -lm [root@freebsd0 ~/wsgi/modwsgi/mod_wsgi]# make install /usr/local/apache2/bin/apxs -c -I/usr/local/include/python2.7 - DNDEBUG wsgi_apache.c wsgi_convert.c wsgi_validate.c -L/usr/local/ lib -L/usr/local/lib/python2.7/config -lpython2.7 -lutil -lm /usr/local/share/apr/build-1/libtool --silent --mode=compile cc - std=gnu99 -prefer-pic -g -O2 -I/usr/local/apache2/include -I/usr/ local/include/apr-1 -I/usr/local/include/apr-1 -I/usr/local/include - I/usr/local/include/db42 -I/usr/local/include/python2.7 -DNDEBUG -c - o wsgi_apache.lo wsgi_apache.c && touch wsgi_apache.slo /usr/local/share/apr/build-1/libtool --silent --mode=compile cc - std=gnu99 -prefer-pic -g -O2 -I/usr/local/apache2/include -I/usr/ local/include/apr-1 -I/usr/local/include/apr-1 -I/usr/local/include - I/usr/local/include/db42 -I/usr/local/include/python2.7 -DNDEBUG -c - o wsgi_convert.lo wsgi_convert.c && touch wsgi_convert.slo /usr/local/share/apr/build-1/libtool --silent --mode=compile cc - std=gnu99 -prefer-pic -g -O2 -I/usr/local/apache2/include -I/usr/ local/include/apr-1 -I/usr/local/include/apr-1 -I/usr/local/include - I/usr/local/include/db42 -I/usr/local/include/python2.7 -DNDEBUG -c - o wsgi_validate.lo wsgi_validate.c && touch wsgi_validate.slo /usr/local/share/apr/build-1/libtool --silent --mode=link cc - std=gnu99 -o wsgi_apache.la -rpath /usr/local/apache2/modules -module -avoid-version wsgi_validate.lo wsgi_convert.lo wsgi_apache.lo -L/ usr/local/lib -L/usr/local/lib/python2.7/config -lpython2.7 -lutil -lm /usr/local/apache2/bin/apxs -i -S LIBEXECDIR=/usr/local/apache2/ modules -n 'mod_wsgi' mod_wsgi.la /usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/share/apr/ build-1/libtool' mod_wsgi.la /usr/local/apache2/modules /usr/local/share/apr/build-1/libtool --mode=install install mod_wsgi.la /usr/local/apache2/modules/ libtool: install: `mod_wsgi.la' is not a valid libtool archive libtool: install: Try `libtool --help --mode=install' for more information. apxs:Error: Command failed with rc=65536 . *** Error code 1 Stop in /root/wsgi/modwsgi/mod_wsgi. [root@freebsd0 ~/wsgi/modwsgi/mod_wsgi]# ls .libs wsgi_apache.a wsgi_apache.la wsgi_apache.lai wsgi_apache.o wsgi_apache.so wsgi_convert.o wsgi_validate.o [root@freebsd0 ~/wsgi/modwsgi/mod_wsgi]# >From what I can deduct, mod_wsgi.la seems to be missing in the .libs, which I think isn't supposed to happen. Can't say I've got enough experience to figure out myself as to why this is happening. Could anyone assist me in this matter? -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
