Hello out there:
This issue seems to be a recurruing one, but I have been unable to
find a post that solves it. I can't compile psycopg 1.1.21 on my core 2
Duo iMac. For that matter, I can't compile it on a G4 iMac or a G3
iBook. Somehow I managed to compile it in a G4 in the past, but I can't
reproduce it.
For this current iteration I am using Mac OS X 10.4.8. Python 2.5
was installed from a universal package downloaded from the Python site.
I built and installed PostgreSQL 8.1.4 both with and without ssl
(psycopg fails to compile either way). I also installed mxDateTime
2.0.6 successfully.
So, I run:
./configure --with-postgres-includes=/usr/local/pgsql/include
--with-postgres-lib=/usr/local/pgsql/lib
--with-mxdatetime-includes=/Library/Frameworks/Python.framework/Versions/2.5/lib/Python2.5/site-packages/mx/DateTime/mxDateTime
--with-python-version=2.5
And I am greeted with:
checking for python...
/Library/Frameworks/Python.framework/Versions/Current/bin/python
checking python version... 2.5
checking python installation prefix...
/Library/Frameworks/Python.framework/Versions/2.5
checking python installation exec_prefix...
/Library/Frameworks/Python.framework/Versions/2.5
checking definitions in Python library makefile... done
checking location of python library...
$(prefix)/lib/python2.5/site-packages
checking location of python shared modules...
$(exec_prefix)/lib/python2.5/site-packages
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... yes
checking for inline... inline
checking PostgreSQL version... 8.1
checking PostgreSQL type catalog...
/usr/local/pgsql/include/server/catalog/pg_type.h
checking for mxDateTime.h... yes
checking for main in -lcrypt... no
checking for main in -lcrypto... yes
checking for PQconnectStart in -lpq... no
configure: error: can't build without PostgreSQL libraries
I know the postgresql libraries are there (libpq.a, libpq.dylib), so
something else must be causing this. Can anyone help?
Oh, yes: I have also tried setting MACOSX_DEPLOYMENT_TARGET=10.4 and
other variables indicated in the psycopg readme file.
Thanks,
Juampa
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" 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/django-users
-~----------~----~----~----~------~----~------~--~---