I haven't been able to get the src rpm for 5.0.1-2 to build on Centos 5.4. I have successfully built many prior versions of bacula on this machine, so I'm not sure what is wrong. I've read the previous posts and the wiki article about this but none of them seems like the problem I have.
I'm using the following command: rpmbuild --rebuild bacula-5.0.1-2.src.rpm --define "build_centos5 1" --define "build_mysql 1" The first errors appear here: Compiling rblist.c Compiling tls.c Compiling tree.c Compiling util.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 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/usr/src/redhat/BUILD/bacula-5.0.1/src/lib' ====== Error in /usr/src/redhat/BUILD/bacula-5.0.1/src/lib ====== ==>Entering directory /usr/src/redhat/BUILD/bacula-5.0.1/src/findlib make[1]: Entering directory `/usr/src/redhat/BUILD/bacula-5.0.1/src/findlib' Compiling find.c Compiling match.c Compiling find_one.c Compiling attribs.c Compiling create_file.c Compiling bfile.c Compiling drivetype.c Compiling enable_priv.c Compiling fstype.c Compiling mkpath.c make[1]: *** No rule to make target `../lib/libbac.la', needed by `all'. Stop. make[1]: *** Waiting for unfinished jobs.... Compiling savecwd.c make[1]: Leaving directory `/usr/src/redhat/BUILD/bacula-5.0.1/src/findlib' ====== Error in /usr/src/redhat/BUILD/bacula-5.0.1/src/findlib ====== and then it continues with many more errors like the previous. Any help appreciated. I can send in a full log if that would be useful. 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 Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users