[DB-SIG] Installing pgsql (PostgreSQL Interface) results in swig errors
Lee Joramo
ljoramo.list@nickads.com
Wed, 29 Mar 2000 08:29:54 -0700
I originally posted this to python-list@python.org because I believe that
it is more of a generic installation problem than a db problem. I didn't
get a response, so I am reposting on db-sig.
-------------------
I am having problems installing pgsql
<http://starship.python.net/crew/cjr/> on Cobalt RAQ3 system. (Essentially,
a modified Redhat installation).
I think that I now have the paths in config.cache correctly setup, but when
I do "make" I get the following results:
------
(cd swigsrc; make; cd ..)
make[1]: Entering directory
`/home/sites/site1/users/ljoramo/temp/pgsql/swigsrc'
swig -python -shadow -I/usr/include/pgsql pgsqldb.i
make[1]: swig: Command not found
make[1]: *** [pgsqldb_module.c] Error 127
make[1]: Leaving directory `/home/sites/site1/users/ljoramo/temp/pgsql/swigsrc'
gcc -fpic -g -O2 -I/usr/include/python1.5 -I/usr/include/python1.5
-DHAVE_CONFIG_H -c ./pgsqldb_wrap.c
./pgsqldb_wrap.c:320: parse error before `('
make: *** [pgsqldb_wrap.o] Error 1
------
I have looked for information related to "swig" in the various python list
archives and get the feeling that it is a program that I do not have on my
system. But I could find nothing definitive. I have searched by system for
swig and found nothing.
Thanks
--
Lee A. Joramo ljoramo@nickads.com
The Nickel Want Ads www.nickads.com
Internet Manager 970-242-5555