I had also downloaded trunk but I had no problems compiling with httpd
2.4.1.  I did notice something different though.  The last libtool call
for me looks like this:

/opt/build-1/libtool --silent --mode=link gcc -std=gnu99 -o mod_wsgi.la
-rpath /opt/httpd/modules -module -avoid-version    wsgi_validate.lo
wsgi_convert.lo wsgi_apache.lo mod_wsgi.lo -L/opt/lib
-L/opt/lib/python2.7/config -lpython2.7 -L/opt/lib -Wl,-rpath,/opt/lib
-L/opt/mysql/lib/mysql -Wl,-rpath,/opt/mysql/lib/mysql -lmysqlclient_r
-lz -lpthread -ldl -lutil -lm

Ignoring the additional MySQL stuff, the main different is the '-o'
option.  The output file I'm creating is 'mod_wsgi.la' while you are
creating 'wsgi_apache.la'.  Maybe this will help figure out what's
different for you.

On Fri, 2012-03-09 at 09:12 -0800, Ruben K. wrote:
> Just did a completely new checkout and tried to build it:
> 
> [root@freebsd0 ~]# mkdir wsgi2
> [root@freebsd0 ~]# cd wsgi2 && hg clone
> https://code.google.com/p/modwsgi/
> warning: code.google.com certificate with fingerprint
> 3e:ee:95:02:aa:37:61:1e:8c:3e:5d:85:6c:e7:76:13:9d:4e:3c:75 not
> verified (check hostfingerprints or web.cacerts config setting)
> destination directory: modwsgi
> requesting all changes
> adding changesets
> adding manifests
> adding file changes
> added 1180 changesets with 1583 changes to 254 files (+3 heads)
> updating to branch default
> 86 files updated, 0 files merged, 0 files removed, 0 files unresolved
> [root@freebsd0 ~/wsgi2]# ls
> modwsgi
> [root@freebsd0 ~/wsgi2]# cd modwsgi/
> [root@freebsd0 ~/wsgi2/modwsgi]# cd mod_wsgi
> [root@freebsd0 ~/wsgi2/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 ~/wsgi2/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 ~/wsgi2/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 ~/wsgi2/modwsgi/mod_wsgi]#
> 
> Still no mod_wsgi.la found, so make install would still fail on that.
> That's from a fresh checkout so I don't quite get what's wrong.
> 
> On Friday, March 9, 2012 4:34:11 PM UTC+1, Graham Dumpleton wrote:
>         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 view this discussion on the web visit
> https://groups.google.com/d/msg/modwsgi/-/fVpMQvwGkMUJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to modwsgi
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/modwsgi?hl=en.

-- 
Adam ([email protected])


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