when i execute "make install" command i get the below error:
Making all in src /usr/bin/apxs -c -lmaxminddb -Wc,"-g -O2 -std=c99 -fms-extensions" mod_maxminddb.c /usr/apr/1.3/build/libtool --silent --mode=compile cc -prefer-pic -m32 -xO4 -xtarget=ultra2 -xarch=sparcvis -xchip=ultra2 -Qoption cg -xregs=no%appl -W2,-xwrap_int -xmemalign=8s -mt -DSSL_EXPERIMENTAL -DSSL_ENGINE -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/openldap -g -O2 -std=c99 -fms-extensions -c -o mod_maxminddb.lo mod_maxminddb.c && touch mod_maxminddb.slo env: No such file or directory Can you please let me know what im missing? Thanks On Thursday, 13 January 2011 01:20:05 UTC+5:30, Chen Liang wrote: > > 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
