2009/3/4 michael <[email protected]>:
>
> hello,
>
> I will publish my mercurial-repositories with apache 2.2 at my Open
> Solaris-Box (Build 108) I found a tutorial at
> http://www.selenic.com/mercurial/wiki/index.cgi/modwsgi
>
> my machine:
> r...@trantor mod_wsgi-2.3 $ uname -a
> SunOS trantor 5.11 snv_108 i86pc i386 i86pc
>
>
> If I will build this module I get errors:
>
> r...@trantor mod_wsgi-2.3 $ ./configure
> checking for apxs2... no
> checking for apxs... /usr/bin/apxs
> checking Apache version... 2.2.11
> checking for python... /usr/bin/python
> configure: creating ./config.status
> config.status: creating Makefile
> r...@trantor mod_wsgi-2.3 $ make
> /usr/bin/apxs -c -I/usr/include/python2.4 -DNDEBUG  mod_wsgi.c -L/usr/
> lib/python2.4/config -lpython2.4 -lsocket -lnsl -ldl
> /usr/apr/1.3/build/libtool --silent --mode=compile /opt/SUNWspro/bin/
> cc -prefer-pic -xO3 -m32 -xchip=pentium -xspace -Xa -xildoff -xc99=all
> -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4  -DSOLARIS2=11 -
> D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -mt -D_LARGEFILE_SOURCE -
> D_FILE_OFFSET_BITS=64
> -I/usr/apache2/2.2/include  -I/usr/apr/1.3/include   -I/usr/apr-util/
> 1.3/include  -I/usr/include/python2.4 -DNDEBUG  -c -o mod_wsgi.lo
> mod_wsgi.c &&
> touch mod_wsgi.slo
> env: No such file or directory
> apxs:Error: Command failed with rc=65536
> .
> *** Error code 1
> make: Fatal error: Command failed for target `mod_wsgi.la'
> r...@trantor mod_wsgi-2.3 $
>
> I think the environment is wrong and some shell-variables are missing.
> Has anyone an idea to solve this problem/build the module

Looks to be an issue with your Apache apxs installation rather than mod_wsgi.

I'll think about it, but not sure right now what to suggest as apxs is
a horrible perl script.

What do you get if you run:

  /usr/bin/apxs -q CFLAGS

Ie., does it even run properly.

Also, do you have Sun C compiler installed. Your apxs is set up to
require it. Can't have just gcc.

Graham

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