Can't Install Modules on RedHat rpm 1.5.2 devl

jbusler at my-deja.com jbusler at my-deja.com
Tue Jun 13 18:46:34 EDT 2000


Seems my problem is not unique, but I haven't
found the answer on the Usenet.

I've installed developer's version of python 1.5.2
using the rpm.  I'm now trying to compile a new
shared module but can't seem to get all the
various Makefile's and sedscripts to work.

Upon install, I had a Makefile and
Makefile.pre.in.  I edited the Setup file as I am
accustomed to and tried makesetup.  Which
complained with:
sed: can't read Makefile.pre: No such file or
directory

So, then I try:
make -f Makefile.pre.in boot

Which gives me Makefile.pre and a sedscript.  Now,
makesetup works and the Makefile contains the
necessary compile statements for the modules I
need -- however, upon "make" or "make
sharedinstall" I get:
make: *** No rule to make target
`/usr/lib/python at VERSION@/config/Makefile', needed
by `sedscript'.  Stop.


In fact, all the locally set variables which were
correct in the original Makefile (like VERSION,
CC, RANLIB, etc) are now filled with @BLAH@ stuff
rather than something useful.  I presume this has
to do with the sedscript -- but something doesn't
seem to be working quite right.

Ideas?


	Jennifer



Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list