[100513] in RedHat Linux List
Building Python1.5 on RHL 4.2...
daemon@ATHENA.MIT.EDU (David S. Jackson)
Sat Nov 21 11:04:11 1998
Date: Sat, 21 Nov 1998 10:59:22 +0000
From: "David S. Jackson" <dsj@dsj.net>
To: redhat-list@redhat.com
Reply-To: "David S. Jackson" <dsj@dsj.net>
Resent-From: redhat-list@redhat.com
Hi,
I've been trying build the Python1.5 source rpm and I keep getting
stopped at this error:
gcc -shared cryptmodule.o -lcrypt -o cryptmodule.so
ld: cannot open -lcrypt: No such file or directory
make[1]: *** [cryptmodule.so] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/Python-1.5.1/Modules'
make: *** [sharedmods] Error 2
Bad exit status from /var/tmp/rpm-tmp.63333 (%build)
[root@sylvester SRPMS]#
The crypt binaries appear to get built:
[dsj@sylvester projects]$ locate cryptmodule.c
/usr/src/redhat/BUILD/Python-1.5.1/Modules/cryptmodule.c
[dsj@sylvester projects]$ locate cryptmodule.o
/usr/src/redhat/BUILD/Python-1.5.1/Modules/cryptmodule.o
[dsj@sylvester projects]$
The library appears to get built:
[dsj@sylvester Python-1.5.1]$ locate cryptmodule.so
/mnt/usr7/lib/python1.4/sharedmodules/cryptmodule.so
[dsj@sylvester Python-1.5.1]$
Seems to choke on linking against "crypt". Should I just comment out the following from the Makefile in Modules?
cryptmodule.o: $(srcdir)/cryptmodule.c; $(CC) $(CCSHARED) $(CFLAGS) -c $(srcdir
)/cryptmodule.c
cryptmodule$(SO): cryptmodule.o; $(LDSHARED) cryptmodule.o -lcrypt -o cryptmo
dule$(SO)
I don't know at all how important to the overall BUILD this module is.
My reason for doing all this is that glint doesn't work, and I was
hoping a new build would help that. Everything else on the control
panel works, but just not glint. A new RPM doesn't work either.
Anyway, I'm rather excited about Python programming, so any help you
can give me to get this built would be appreciated. Thanks much!
--
David S. Jackson http://www.dsj.net
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Bill Gates to his broker: "You idiot, I said $150 million on
**SNAPPLE**!!!"
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.