Hi all,
I have got from blastwave.org following binaries and all dependencies:

apache 2.x
mod_python 3.3.1
gcc 4.x
...

postgresql 8.3.1 was compiled by myself

when I started to compile psycopg2 from source, I have got following:

$> python setup.py build
running build
running build_py
running build_ext
building 'psycopg2._psycopg' extension
cc -DNDEBUG -xO3 -xtarget=ultra -xarch=v8 -DPY_MAJOR_VERSION=2 
-DPY_MINOR_VERSION=5 -DHAVE_PYBOOL=1 -DHAVE_DECIMAL=1 -DHAVE_PYDATETIME=1 
-DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.7 (dec dt ext pq3)" 
-DPG_MAJOR_VERSION=8 -DPG_MINOR_VERSION=3 -DPG_PATCH_VERSION=1 
-DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 
-DHAVE_PQPROTOCOL3=1 -I/opt/pgsql/include -I/opt/csw/include/python2.5 -I. 
-I/opt/pgsql/include -I/opt/pgsql/include/server -c psycopg/psycopgmodule.c -o 
build/temp.solaris-2.10-sun4u-2.5/psycopg/psycopgmodule.o
cc: language arch=v8 not recognized
cc: language arch=v8 not recognized
cc: psycopg/psycopgmodule.c: linker input file unused because linking not done
...

Any ideas what is wrong?

P.S. Previously I have got all packages from sunfreeware.com except mod_python. 
Everything were OK but couldn't compile mod_python.

Anybody knows how to build this stuff (postgresql 8.3.1+apache2.x 
prefork+mod_python 3.3.1+ python 2.5.1+ subversion 1.4.5)? I need it to deply 
Django. On Linux everything is working but company policy doesn't allow using 
Linux.

Reply via email to