Problem installing PyGresql in Python 1.5.2-2 on RH 5.0

Felix Thibault felixt at dicksonstreet.com
Fri Sep 17 20:57:00 EDT 1999


On 12 Sep 1999 11:17:18 GMT, "D'Arcy J.M. Cain" <darcy at vex.net> wrote:
> [I added a few newlines to the quoted message]
> 
> Felix Thibault <felixt at dicksonstreet.com> wrote:
> > I copied pgmodule.c into my config directory (that is:
> > /usr/local/lib/python1.5/config/) and added a line to Setup, but when I
> > did 'make Makefile.pre.in', judging from 
> 
> I never did this for any module.  I just put the line in Setup and ran
> make at the top level.  I tried that and just got
> 
>     gmake: *** No rule to make target `Makefile.pre.in'.  Stop.
> 
> I think you are doing this in /usr/local/lib/python1.5/config/.  Try
> running make from /usr/local/lib/python1.5/ instead.
> 
> Hmmm.  Just realized that it is Modules, not config.  Is config some RPM
> thingie or something?  What is your environment?

I think this was my problem- I don't have the Modules directory at all. I had
had to do an rpm --rebuild on the Python rpm to get Tkinter installed at all,
but up till now I had thought it had all installed fine.  I followed the 
directions for compiling _pg manually, found out there was no PQsetdblogin 
in the PostgreSQL libraries that I had on my system, so I installed the latest
version, and now everything works.

Thanks-
Felix




More information about the Python-list mailing list