Hi,

I'm trying to compile and install mod_wsgi onto Oracle Solaris 11. I
have python2.6, apache2.2.16, django 1.2.4, and mysql-server 5.1
installed. Solaris automatically includes the necessary library files
I believe. I also have gcc (GCC) 3.4.3, and linked "/usr/gnu/bin/cc"
to "/usr/bin/cc".

I executed ./configure without any issue, I received this error during
"make":
===beginning of output=====

/usr/bin/apxs -c -I/usr/include/python2.6 -DNDEBUG   mod_wsgi.c -L/usr/
lib -L/usr/lib/python2.6/config  -lpython2.6 -lsocket -lnsl -ldl -lm
/usr/apr/1.3/build/libtool --silent --mode=compile cc -m32 -prefer-pic
-xO3 -m32 -xchip=pentium -xspace -Xa -xildoff -xc99=all -
DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4  -DSOLARIS2=11 -
D_POSIX_PTHREAD_SEMANTICS -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 -I/usr/include/
python2.6 -DNDEBUG  -c -o mod_wsgi.lo mod_wsgi.c && touch mod_wsgi.slo
cc: unrecognized option `-Xa'
cc: unrecognized option `-KPIC'
cc: language O4 not recognized
cc: mod_wsgi.c: linker input file unused because linking not done
/usr/apr/1.3/build/libtool --silent --mode=link cc -m32 -o
mod_wsgi.la  -rpath /var/apache2/2.2/libexec -module -avoid-version
mod_wsgi.lo -L/usr/lib -L/usr/lib/python2.6/config -lpython2.6 -
lsocket -lnsl -ldl -lm
ld: fatal: file .libs/mod_wsgi.o: open failed: No such file or
directory
apxs:Error: Command failed with rc=65536
.
make: *** [mod_wsgi.la] Error 1

=========end of output==========
The error tells me that .libs/mod_wsgi.o can't not be found during the
make. I checked the previous posts, I don't think this is a sun studio
issue.

"/usr/bin/apxs -q CC" output:

cc -m32


Thanks
Chen

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