On 08/19/2017 12:59 AM, Per Jessen wrote:
Marc Chamberlin wrote:
I am not sure if I should ask these questions here or on the developers mail list, but will start here and will move this over to the other mail list if told that it would be more appropriate. (I don't want to bother the developers with beginner's questions) There is also an opensuse-programming list, but it's not very active.
I am attempting to build Bacula (a backup server) from source code and in order to do so, the build configuration for Bacula requires that I give it the path to the source code files for mysql. If you want to compare notes, this is what I just did - on a vanilla 423 system:
download bacula tarball from sourceforge, version 9.0.3 untarred into ~/workspace/
installed gcc, gcc-c++,libmysqlclient-devel,libacl-devel, gcc, gcc-c++ (with zypper)
in ~/workspace/bacula-9.0.3 I ran
./configure --prefix=/usr --with-mysql make -j4
Takes about 50seconds to builds
Thanks Pers, well I think you might have put me on the right track, nice to see it done through a fresh set of eyes! I had been using the default config file (with modified paths that suited my environment) that Bacula supplies in their example directory, that their installation instructions recommended. Within that config file there were two options - --enable-static-tools \ --disable-libtool \ and on a hunch, after seeing how you had successfully built Bacula, I decided to remove these two options. And it worked! (at least it compiles OK) I don't grok what these options do exactly, or why Bacula recommends using them, I was simply doing my best to follow their recommended procedures. (blind monkey doing what told!) With these options, it appears that their makefile wants to compile mysql. Without them it doesn't. Go figure... Doesn't appear that their default set of recommended configure parameters has been well tested... Anywise, thanks so much, I will carry on with trying to install Bacula and getting it back up and running on my systems. I think it is a really wonderful tool and it has saved my tail many times in the past. I have already been tasked with trying to maintain it for openSuSE and as soon as I get it all figured out, I will attempt to get it's latest version back in the openSuSE repositories. That is why I am rather intrigued by the autotools that David Haller mentioned and perhaps I can work my way towards using them down the road. Marc.... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org