From: Gerhard <ger...@gm...> - 2002-02-18 10:43:52
|
Le 18/02/02 ? 09:52, Oliver Vecernik écrivit: > Hi, > > I'm trying to install pypgsql-2.0.tar.gz on a SuSE 7.3 Linux box. I > started my build with: > > python setup.py build > > and got following error: > > gcc: unrecognized option `-R/usr/local/pgsql/lib' This is a warning, not an error. Btw. SuSE installs PostgreSQL somewhere else, not /usr/local/pgsql. But maybe you've installed PostgreSQL from a different source or compiled it yourself. To use pyPgSQL with SuSE's PostgreSQL RPMs, you'd need to change the paths in setup.py. > I use following version of gcc: > Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.3/specs > gcc version 2.95.3 20010315 (SuSE) > > > What am I doing wrong? Nothing. This is a gcc bug for which there's an (ugly) workaround in the latest Python CVS (post 2.2), btw. If you've really installed PostgreSQL in that directory, you can point LD_LIBRARY_PATH to the directory, or add it to your file /etc/ld.so.conf. Gerhard -- mail: gerhard <at> bigfoot <dot> de registered Linux user #64239 web: http://www.cs.fhm.edu/~ifw00065/ OpenPGP public key id 86AB43C0 public key fingerprint: DEC1 1D02 5743 1159 CD20 A4B6 7B22 6575 86AB 43C0 reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b'))) |