Installing pgsql (PostgreSQL Interface) results in swig errors

Jay Love jsliv at jslove.net
Thu Mar 30 03:36:20 CEST 2000


SWIG is "the Simplified Interface and Wrapper Generator".

http://www.swig.org

Jay


Lee Joramo wrote:
> 
> 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 at nickads.com
> The Nickel Want Ads                www.nickads.com
> Internet Manager                   970-242-5555
> 
> --
> 
> Onward and Upward!
> 
> Lee A. Joramo }}-----> Cowboy on the Electronic Frontier
> 
> lee at joramo.com
> 
> Alamar Ranch  -  Palisade  -  Colorado
> 
> ThreeRivers|Eagle|UCD|D&D|TNC|DX|Mac|221B|Cannondale|Deutsch



More information about the Python-list mailing list