Re: Building bacula-fd on OpenBSD 4.5
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Stuart. On 2009-10-12, Stuart Henderson wrote: I'm trying to compile Bacula 3.0.2 with the source code from the official site. For it I've dowloaded the bacula-3.0.2.tar.gz file. if you need bacula 3.x on 4.5, probably the easiest way is to use the port from -current, it will most likely work. Apparently the same happens with FreeBSD 4.9. Some BSD make implementations can't handle Bacula's makefiles. Using GNU make I no longer have the mentioned problem. Thanks to both for your replies. Regards, Daniel iEYEARECAAYFAkrWN5QACgkQZpa/GxTmHTeLVQCgllexPhlYTYdx9zIacK6luBy8 IPUAnRn81bDwd0VNRFinhR21Q06LWfdn =2VLq -END PGP SIGNATURE-
Re: Building bacula-fd on OpenBSD 4.5
On Wed, Oct 14, 2009 at 05:41:42PM -0300, Daniel Bareiro wrote: Apparently the same happens with FreeBSD 4.9. Some BSD make implementations can't handle Bacula's makefiles. Using GNU make I no longer have the mentioned problem. Thanks to both for your replies. Yeah. Looking at the port would have helped there too (USE_GMAKE=Yes). -ME
Re: Building bacula-fd on OpenBSD 4.5
On 2009-10-12, Daniel Bareiro daniel-lis...@gmx.net wrote: I'm trying to compile Bacula 3.0.2 with the source code from the official site. For it I've dowloaded the bacula-3.0.2.tar.gz file. if you need bacula 3.x on 4.5, probably the easiest way is to use the port from -current, it will most likely work.
Building bacula-fd on OpenBSD 4.5
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, all! I'm trying to compile Bacula 3.0.2 with the source code from the official site. For it I've dowloaded the bacula-3.0.2.tar.gz file. I did the configuration using the following syntax: # ./configure \ --prefix=/usr \ --sbindir=/usr/sbin \ --sysconfdir=/etc/bacula \ --with-scriptdir=/etc/bacula/scripts \ --enable-smartalloc \ --with-openssl \ --enable-client-only \ --with-working-dir=/var/lib/bacula \ --with-pid-dir=/var/run \ --with-subsys-dir=/var/lock But after executing: # make -j6 I get some error messages: fugu:/tmp/bacula-3.0.2# make -j6 ==Entering directory /tmp/bacula-3.0.2/src ==Entering directory /tmp/bacula-3.0.2/scripts ==Entering directory /tmp/bacula-3.0.2/src/lib Compiling res.c Compiling lockmgr.c Compiling breg.c Compiling address_conf.c Compiling parse_conf.c Compiling htable.c Compiling tls.c Compiling rblist.c Compiling smartall.c Compiling var.c Compiling signal.c Making libbaccfg.la ... /tmp/bacula-3.0.2/libtool --silent --tag=CXX --mode=link /usr/bin/g++-o libbaccfg.la parse_conf$(DEFAULT_OBJECT_TYPE) res$(DEFAULT_OBJECT_TYPE) -export-dynamic -rpath /usr/lib -version-info 1:0:0 /bin/sh: DEFAULT_OBJECT_TYPE: not found /bin/sh: DEFAULT_OBJECT_TYPE: not found g++: no input files *** Error code 1 Stop in /tmp/bacula-3.0.2/src/lib: Exit status 1 (libbaccfg.la, line 234 of Makefile) == Error in /tmp/bacula-3.0.2/src/lib == ==Entering directory /tmp/bacula-3.0.2/src/findlib Compiling mkpath.c Compiling fstype.c Compiling create_file.c Compiling enable_priv.c Compiling drivetype.c Compiling bfile.c Compiling attribs.c Compiling find_one.c Compiling match.c Compiling find.c Compiling savecwd.c make: make: don't know how to make ../lib/libbac.la. Stop in /tmp/bacula-3.0.2/src/findlib. == Error in /tmp/bacula-3.0.2/src/findlib == ==Entering directory /tmp/bacula-3.0.2/src/filed Compiling verify.c Compiling verify_vol.c Compiling job.c Compiling restore.c Compiling pythonfd.c Compiling status.c Compiling heartbeat.c Compiling filed_conf.c Compiling filed.c Compiling fd_plugins.c Compiling estimate.c Compiling backup.c Compiling authenticate.c Compiling acl.c Compiling accurate.c Compiling xattr.c make: make: don't know how to make ../findlib/libbacfind.la. Stop in /tmp/bacula-3.0.2/src/filed. == Error in /tmp/bacula-3.0.2/src/filed == ==Entering directory /tmp/bacula-3.0.2/src/console make: make: don't know how to make ../lib/libbac.la. Stop in /tmp/bacula-3.0.2/src/console. == Error in /tmp/bacula-3.0.2/src/console == ==Entering directory /tmp/bacula-3.0.2/src/plugins/fd /tmp/bacula-3.0.2/libtool --silent --tag=CXX --mode=compile /usr/bin/g++ -fno-strict-aliasing -fno-exceptions -fno-rtti -g -O2 -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti -pthread -I../.. - -I../../filed -c bpipe-fd.c /tmp/bacula-3.0.2/libtool --silent --tag=CXX --mode=link /usr/bin/g++ -shared bpipe-fd.lo -o bpipe-fd.la -rpath /usr/lib -module -export-dynamic -avoid-version
Re: Building bacula-fd on OpenBSD 4.5
You should be able to look at the port in -current to see which configure options to use. -ME On Sun, Oct 11, 2009 at 09:47:41PM -0300, Daniel Bareiro wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, all! I'm trying to compile Bacula 3.0.2 with the source code from the official site. For it I've dowloaded the bacula-3.0.2.tar.gz file. I did the configuration using the following syntax: # ./configure \ --prefix=/usr \ --sbindir=/usr/sbin \ --sysconfdir=/etc/bacula \ --with-scriptdir=/etc/bacula/scripts \ --enable-smartalloc \ --with-openssl \ --enable-client-only \ --with-working-dir=/var/lib/bacula \ --with-pid-dir=/var/run \ --with-subsys-dir=/var/lock But after executing: # make -j6 I get some error messages: fugu:/tmp/bacula-3.0.2# make -j6 ==Entering directory /tmp/bacula-3.0.2/src ==Entering directory /tmp/bacula-3.0.2/scripts ==Entering directory /tmp/bacula-3.0.2/src/lib Compiling res.c Compiling lockmgr.c Compiling breg.c Compiling address_conf.c Compiling parse_conf.c Compiling htable.c Compiling tls.c Compiling rblist.c Compiling smartall.c Compiling var.c Compiling signal.c Making libbaccfg.la ... /tmp/bacula-3.0.2/libtool --silent --tag=CXX --mode=link /usr/bin/g++-o libbaccfg.la parse_conf$(DEFAULT_OBJECT_TYPE) res$(DEFAULT_OBJECT_TYPE) -export-dynamic -rpath /usr/lib -version-info 1:0:0 /bin/sh: DEFAULT_OBJECT_TYPE: not found /bin/sh: DEFAULT_OBJECT_TYPE: not found g++: no input files *** Error code 1 Stop in /tmp/bacula-3.0.2/src/lib: Exit status 1 (libbaccfg.la, line 234 of Makefile) == Error in /tmp/bacula-3.0.2/src/lib == ==Entering directory /tmp/bacula-3.0.2/src/findlib Compiling mkpath.c Compiling fstype.c Compiling create_file.c Compiling enable_priv.c Compiling drivetype.c Compiling bfile.c Compiling attribs.c Compiling find_one.c Compiling match.c Compiling find.c Compiling savecwd.c make: make: don't know how to make ../lib/libbac.la. Stop in /tmp/bacula-3.0.2/src/findlib. == Error in /tmp/bacula-3.0.2/src/findlib == ==Entering directory /tmp/bacula-3.0.2/src/filed Compiling verify.c Compiling verify_vol.c Compiling job.c Compiling restore.c Compiling pythonfd.c Compiling status.c Compiling heartbeat.c Compiling filed_conf.c Compiling filed.c Compiling fd_plugins.c Compiling estimate.c Compiling backup.c Compiling authenticate.c Compiling acl.c Compiling accurate.c Compiling xattr.c make: make: don't know how to make ../findlib/libbacfind.la. Stop in /tmp/bacula-3.0.2/src/filed. == Error in /tmp/bacula-3.0.2/src/filed == ==Entering directory /tmp/bacula-3.0.2/src/console make: make: don't know how to make ../lib/libbac.la. Stop in /tmp/bacula-3.0.2/src/console. == Error in /tmp/bacula-3.0.2/src/console == ==Entering directory /tmp/bacula-3.0.2/src/plugins/fd /tmp/bacula-3.0.2/libtool --silent --tag=CXX --mode=compile /usr/bin/g++ -fno-strict-aliasing -fno-exceptions -fno-rtti -g -O2 -Wall -fno-strict-aliasing