tried to rpm -rebuild python. running rh7.0. 2.4.0-test10, glibc from updates. it goes along for a while and then: gcc -fPIC -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c ./pwdmodule.c gcc -shared pwdmodule.o -o pwdmodule.so gcc -fPIC -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c ./grpmodule.c gcc -shared grpmodule.o -o grpmodule.so gcc -fPIC -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c ./selectmodule.c gcc -shared selectmodule.o -o selectmodule.so gcc -fPIC -I/usr/include/openssl -DUSE_SSL -lssl -lcrypto -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c ./socketmodule.c ./socketmodule.c:175:46: rsa.h: No such file or directory ./socketmodule.c:176:20: crypto.h: No such file or directory ./socketmodule.c:177:18: x509.h: No such file or directory ./socketmodule.c:178:17: pem.h: No such file or directory ./socketmodule.c:179:17: ssl.h: No such file or directory make[1]: *** [socketmodule.o] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/Python-1.5.2/Modules' make: *** [sharedmods] Error 2 Bad exit status from /var/tmp/rpm-tmp.43542 (%build)
Created attachment 5260 [details] output from rpm -rebuild
Do you have the openssl-devel package installed?
The current one (2.2.1-15) does rebuild.