# rpm -ba SPECS/openssl.spec [ ... ] + pushd m2crypto-0.05-snap3/swig /usr/src/redhat/BUILD/openssl-0.9.5a/m2crypto-0.05-snap3/swig /usr/src/redhat/BUILD/openssl-0.9.5a + make INCLUDE=-I. -I../../include 'LIBS=-L/usr/src/redhat/BUILD/openssl-0.9.5a -lssl -lcrypto -lc' 'PYINCLUDE=-DHAVE_CONFIG_H -I/usr/include/python1.5 -I/usr/lib/python1.5/config' swig -shadow -python _m2crypto.i Generating wrappers for Python cc -c -fpic -DTHREADING -I. -DHAVE_CONFIG_H -I/usr/include/python1.5 -I/usr/lib/python1.5/config _m2crypto_wrap.c _m2crypto_wrap.c:558:25: openssl/err.h: No such file or directory [ ... ] _m2crypto_wrap.c:2076:27: openssl/pkcs7.h: No such file or directory make: *** [_m2crypto] Error 1 Bad exit status from /var/tmp/rpm-tmp.73931 (%build) Here's a patch for the spec file: diff -uNr openssl.spec openssl.spec.new --- openssl.spec Tue Aug 29 15:26:46 2000 +++ openssl.spec.new Sun Oct 8 14:40:29 2000 @@ -141,7 +141,7 @@ # Build the python extensions. pushd m2crypto-%{m2crypto_version}/swig make \ - INCLUDE=-I. -I../../include \ + INCLUDE="-I. -I../../include" \ LIBS="-L${TOPDIR} -lssl -lcrypto -lc" \ PYINCLUDE="-DHAVE_CONFIG_H -I/usr/include/python1.5 -I/usr/lib/python1.5/config" PYLIB=/usr/lib/python1.5/config
This one's already fixed in the build tree. The python bindings were added in later in the cycle, after the -devel package from earlier releases had been installed on build machines. Thanks! *** This bug has been marked as a duplicate of 18572 ***