Unable tp configure PostgreSql to work with zope...
I am unable to install PoPy-2.0.6 on my Linux machine. On running configure i am getting this error. [root@server-2 PoPy-2.0.6]# ./configure --with-python=/usr/lib/python2.1 --with-python-version=2.1 loading cache ./config.cache checking for python... /usr/lib/python2.1 checking python version... 2.1 checking python installation prefix... ./configure: /usr/lib/python2.1: is a directory checking python installation exec_prefix... ./configure: /usr/lib/python2.1: is a directory checking definitions in Python library makefile... sed: can't read /lib/python2.1/config/Makefile: No such file or directory done checking for install... /usr/bin/install checking location of python library... ./configure: /usr/lib/python2.1: is a directory $(prefix) checking location of python shared modules... ./configure: /usr/lib/python2.1: is a directory $(exec_prefix) checking how to run the C preprocessor... /lib/cpp checking for mxDateTime.h... yes checking location of mxDateTime... /DateTime checking for PQconnectStart in -lpq... no configure: error: can't build without PostgreSQL libraries [root@server-2 PoPy-2.0.6]# I could find PostgreSql 7.0.3 folders in /usr/lib/ , /usr/include/ and /var/lib/ If any of you are using any simpler/ better methods of setting up postgres to work on zope, please let me know. Thanks in advance. - sree -- "All your dreams come true, if you have the courage to pursue them."
you might want to read up on how to compile things using automake (the configure/make/make install-dance). do a ./configure --help to see if you can explicitly specify library and header locations and then configure with those explicitly set. if not then you might also be able to set some environment variables (CFLAGS and LDFLAGS) to point to the correct directories. jens On Friday, July 5, 2002, at 02:59 , Sreekanth S Rameshaiah wrote:
I am unable to install PoPy-2.0.6 on my Linux machine. On running configure i am getting this error.
[root@server-2 PoPy-2.0.6]# ./configure --with-python=/usr/lib/python2.1 --with-python-version=2.1 loading cache ./config.cache checking for python... /usr/lib/python2.1 checking python version... 2.1 checking python installation prefix... ./configure: /usr/lib/python2.1: is a directory
checking python installation exec_prefix... ./configure: /usr/lib/python2. 1: is a directory
checking definitions in Python library makefile... sed: can't read /lib/python2.1/config/Makefile: No such file or directory done checking for install... /usr/bin/install checking location of python library... ./configure: /usr/lib/python2.1: is a directory $(prefix) checking location of python shared modules... ./configure: /usr/lib/python2.1: is a directory $(exec_prefix) checking how to run the C preprocessor... /lib/cpp checking for mxDateTime.h... yes checking location of mxDateTime... /DateTime checking for PQconnectStart in -lpq... no configure: error: can't build without PostgreSQL libraries [root@server-2 PoPy-2.0.6]#
I could find PostgreSql 7.0.3 folders in /usr/lib/ , /usr/include/ and /var/lib/
If any of you are using any simpler/ better methods of setting up postgres to work on zope, please let me know. Thanks in advance. - sree
Heyho, Am Freitag, 5. Juli 2002 08:59 schrieb Sreekanth S Rameshaiah:
I am unable to install PoPy-2.0.6 on my Linux machine. On running configure i am getting this error.
[...snip...]
configure: error: can't build without PostgreSQL libraries
Maybe there's an option --with-postgres-headers or something similar. But...I didn't got PoPy to work either. used Psycopg instead and it works fine for me! HTH, sven -- [s v e n s c h u p p] web-developer opus5 interaktive medien gmbh frankfurter str. 151 63303 dreieich tel.: +49 (0)6103 5853-177 fax: -5853-200 schupp@opus5.de http://www.opus5.de
Am Freitag, 5. Juli 2002 14:22 schrieb Sven Schupp:
Maybe there's an option --with-postgres-headers or something similar.
Sorry, of course I meant --with-postgres-libs... bye, sven -- [s v e n s c h u p p] web-developer opus5 interaktive medien gmbh frankfurter str. 151 63303 dreieich tel.: +49 (0)6103 5853-177 fax: -5853-200 schupp@opus5.de http://www.opus5.de
participants (3)
-
Jens Vagelpohl -
Sreekanth S Rameshaiah -
Sven Schupp