Re: configure: error: can't build without PostgreSQL libraries

"Matt Bartolome" <[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
Thanks Philip,
I had to install the older version to work with django 0.91. I
actually have the latest psycopg2 as well which gave me no fuss on my
intel mac.

-Matt

On Sat, Mar 8, 2008 at 7:39 PM, Philip Semanchuk <[email protected]> wrote:
>
>  On Mar 8, 2008, at 5:36 PM, Matt Bartolome wrote:
>
>  > I didn't really solve this problem but after reading a bit more it
>  > looks like the problem is more with postgres than psycopg so I built
>  > postgres and pyscopg using macports (thinking they must deal with this
>  > somehow). After doing that I was able to use pyscopg with my existing
>  > postgres build from source with no problems.
>
>  Hi Matt,
>  I think I missed your original message. I have Postgres 8.1
>  installed  under Intel Mac 10.4.11 without using macports. I just
>  downloaded to usr/local/src and installed in /usr/local/pgsql.
>  pyscopg 2.x found that without any trouble. psycopg 1.x is pretty old
>  and you should use the 2.0x version unless you really need 1.x for
>  some reason.
>
>  HTH
>  Philip
>
>
>
>  >
>  > On Thu, Mar 6, 2008 at 11:21 AM, Matt Bartolome
>  > <[email protected]> wrote:
>  >> Hello, I'm trying to build psycopg-1.1.21 on mac 10.4.11 intel
>  >>  machine. Has anybody ran into this issue before and if so how can I
>  >>  get this to work?
>  >>
>  >>  Thanks for your help,
>  >>  Matt
>  >>
>  >>  $ ./configure --with-postgres-includes=/usr/local/pgsql/include/
>  >>  --with-mxdatetime-includes=/Library/Frameworks/Python.framework/
>  >> Versions/2.4/lib/python2.4/site-packages/mx/DateTime/mxDateTime/
>  >>  --with-postgres-libraries=/usr/local/pgsql/lib/
>  >>  checking for python...
>  >>  /Library/Frameworks/Python.framework/Versions/2.4/bin/python
>  >>  checking python version... 2.4
>  >>  checking python installation prefix...
>  >>  /Library/Frameworks/Python.framework/Versions/2.4
>  >>  checking python installation exec_prefix...
>  >>  /Library/Frameworks/Python.framework/Versions/2.4
>  >>  checking definitions in Python library makefile... done
>  >>  checking location of python library... $(prefix)/lib/python2.4/
>  >> site-packages
>  >>  checking location of python shared modules...
>  >>  $(exec_prefix)/lib/python2.4/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.2
>  >>  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
>  >>
>  > _______________________________________________
>  > Psycopg mailing list
>  > Psycopg-IAPFreCvJWPBWskQ1e/[email protected]
>  > http://lists.initd.org/mailman/listinfo/psycopg
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.