Only other thing can suggest right now is to make sure you are doing a:

  make distclean

to get back to completely fresh source code before then running configure again.

Graham

On 8 March 2012 23:24, Ruben K. <[email protected]> wrote:
> Upgraded my libtool from 2.4.1 to 2.4.2 (latest available) but it still
> didn't work, or even change anything:
>
> [root@freebsd0 ~/wsgi/modwsgi/mod_wsgi]# libtool --version
> libtool (GNU libtool) 2.4.2
> Written by Gordon Matzigkeit <[email protected]>, 1996
>
> Copyright (C) 2011 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> [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]# 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]# 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.
>
> What else could it be?
>
>
> On Thursday, March 8, 2012 9:13:35 AM UTC+1, Ruben K. wrote:
>>
>> 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 view this discussion on the web visit
> https://groups.google.com/d/msg/modwsgi/-/61qkpKqXzvIJ.
>
> 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.

-- 
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.

Reply via email to