Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Compiling 13.12 with rpmbuild fails with help_plugin (gzopen64 missing)
kirash4:
So after removing all of my custom libraries under /usr/local, both the svn checkout as well as the tarballs available from the download pages compile without a hitch. I have a sneaky suspicion that because I had wxWidgets-3.0.0 and 3.0.1 installed and compiled against zlib-1.2.8, when I ran C::B's configure it was picking up that version of wx, but used the system's zlib (v1.2.3) and ran into problems. Only one way to test that which is to put the newer zlib and wx back on the system and see what happens ...
For the purpose of my original task, C::B is now compiled against all system libraries and I can install the rpms no problems.
For the purpose of finding out where it failed, that's just being a glutton for pain. :) Here I go ...
kirash4:
Ok, after a few recompiles with different libraries available I came to the following conclusion:
C::B will not compile against WxWidgets 3.0.x, at least not yet. So everything I said previously that related to that, ignore it.
HOWEVER, having zlib-1.2.8 installed in /usr/local will cause compiling C::B to fail, specifically the help_plugin is where it bombs complaining about gzopen64. As soon as I remove that library, C::B compiles just fine.
So I think it's safe to say that C::B does somewhere use that library, but fails when it comes to linking to it and I suspect because when it tries to link using -lz, it's trying to link against the system installed one, and not the newer one. And since the system one (1.2.3) does not have gzopen64, it fails.
So there you have it. I think I have now tried compiling C::B well over a dozen times, some with success, most not. As I said in my previous post, for the purpose of getting the rpm compiled and installed, that has been successful (but only after I removed all of my custom libraries from /usr/local.)
oBFusCATed:
--- Quote from: kirash4 on July 31, 2014, 10:26:05 pm ---C::B will not compile against WxWidgets 3.0.x, at least not yet. So everything I said previously that related to that, ignore it.
--- End quote ---
SVN HEAD should be able to compile against wx3 at least using the -wx30 project files.
Navigation
[0] Message Index
[*] Previous page
Go to full version