On 3/17/2010 11:38 PM, Norberto Meijome wrote: > Hi everyone, > I am getting build errors when building 5.0.1-2 from src rpm on Centos > 5.4, 64 bit . > > rpmbuild line: > > rpmbuild --target=$(uname -m) --define build_centos5=1 --define > build_client_only=1 --define build_python=1 --define > build_tcpwrappers=1 -bb <pathtoSPECS>/bacula.spec > > The error I get is , @ configure stage : > > checking for OpenSSL... checking for EVP_PKEY_encrypt_old in -lssl... no > yes > checking for library containing dlopen... -ldl > > (notice the 'no', then 'yes'... ??) > > then, @ build stage : > Compiling smartall.c > Compiling rblist.c > Compiling tls.c > tls.c: In function 'bool tls_postconnect_verify_host(JCR*, > TLS_CONNECTION*, const char*)': > tls.c:354: error: invalid conversion from 'const X509V3_EXT_METHOD*' to > 'v3_ext_method*' > make[1]: *** [tls.lo] Error 1 > > > I then found > http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/bacula-25/fedora-12-and-opensslv1-bacula-5-0-1-2-rpm-release-104496/ > > > Question - is 5.0.1-2 ONLY meant for FC-11 / 12 ?? > > > I am not sure how to check, in an RPM Spec for version of openssl-devel > installed , but blatingly forcing a OS / library specifc patch on any OS > seems a bit much, IMHO. > > The patch below ( [1] ) for bacula.spec "Worked-For-Me (tm)". > > Please let me know if you want me to log this in Mantis. > > cheers, > Beto
Confirming that I experienced the same problem on Centos 5.4 32-bit. Your patch to the spec file solved the problem for me too. I think this should be reported as a bug in the rpm spec file. Thanks, -- Mark Nienberg Sent from an invalid address. Please reply to the group. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Bacula-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-users
