Hi, Martin.
On Monday, 12 October 2009 11:36:38 +0100,
Martin Simmons wrote:
> >>>>> On Sun, 11 Oct 2009 20:43:22 -0300, Daniel Bareiro said:
> >
> > 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.
> > <...>
> > 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
> It is the same with FreeBSD 4.9 -- some BSD make implementations can't
> handle Bacula's makefiles. Try using gmake (GNU make).
With gmake it seems that no longer appear the errors that I've mentioned
before:
fugu:/tmp/bacula-3.0.2# gmake -j6
==>Entering directory /tmp/bacula-3.0.2/src
gmake[1]: Entering directory `/tmp/bacula-3.0.2/src'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/tmp/bacula-3.0.2/src'
==>Entering directory /tmp/bacula-3.0.2/scripts
gmake[1]: Entering directory `/tmp/bacula-3.0.2/scripts'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/tmp/bacula-3.0.2/scripts'
==>Entering directory /tmp/bacula-3.0.2/src/lib
gmake[1]: Entering directory `/tmp/bacula-3.0.2/src/lib'
Making libbac.la ...
/tmp/bacula-3.0.2/libtool --silent --tag=CXX --mode=link /usr/bin/g++ -o
libbac.la attr.lo base64.lo berrno.lo bsys.lo bget_msg.lo bnet.lo
bnet_server.lo runscript.lo bsock.lo bpipe.lo bsnprintf.lo
btime.lo cram-md5.lo crc32.lo crypto.lo daemon.lo edit.lo fnmatch.lo
guid_to_name.lo hmac.lo jcr.lo lex.lo alist.lo dlist.lo md5.lo message.lo
mem_pool.lo openssl.lo plugins.lo queue.lo bregex.lo
rwlock.lo scan.lo serial.lo sha1.lo signal.lo smartall.lo rblist.lo tls.lo
tree.lo util.lo var.lo watchdog.lo workq.lo btimers.lo address_conf.lo breg.lo
htable.lo lockmgr.lo -export-dynamic -rpath
/usr/lib -version-info 1:0:0
Making libbaccfg.la ...
/tmp/bacula-3.0.2/libtool --silent --tag=CXX --mode=link /usr/bin/g++ -o
libbaccfg.la parse_conf.lo res.lo -export-dynamic -rpath /usr/lib -version-info
1:0:0
Compiling pythonlib.c
Making libbacpy.la ...
/tmp/bacula-3.0.2/libtool --silent --tag=CXX --mode=link /usr/bin/g++ -o
libbacpy.la pythonlib.lo -export-dynamic -rpath /usr/lib -version-info 1:0:0
==== Make of lib is good ====
gmake[1]: Leaving directory `/tmp/bacula-3.0.2/src/lib'
==>Entering directory /tmp/bacula-3.0.2/src/findlib
gmake[1]: Entering directory `/tmp/bacula-3.0.2/src/findlib'
Making libbacfind.la ...
/tmp/bacula-3.0.2/libtool --silent --tag=CXX --mode=link /usr/bin/g++ -o
libbacfind.la find.lo match.lo find_one.lo attribs.lo create_file.lo bfile.lo
drivetype.lo enable_priv.lo fstype.lo
mkpath.lo savecwd.lo -export-dynamic -rpath /usr/lib -version-info 1:0:0
Making libbacfind.a ...
/usr/bin/ar rc libbacfind.a find.lo match.lo find_one.lo attribs.lo
create_file.lo bfile.lo drivetype.lo enable_priv.lo fstype.lo mkpath.lo
savecwd.lo
ranlib libbacfind.a
==== Make of findlib is good ====
gmake[1]: Leaving directory `/tmp/bacula-3.0.2/src/findlib'
==>Entering directory /tmp/bacula-3.0.2/src/filed
gmake[1]: Entering directory `/tmp/bacula-3.0.2/src/filed'
Linking bacula-fd ...
/tmp/bacula-3.0.2/libtool --silent --tag=CXX --mode=link /usr/bin/g++
-L../lib -L../findlib -o bacula-fd filed.o authenticate.o acl.o backup.o
estimate.o fd_plugins.o accurate.o filed_conf.o
heartbeat.o job.o pythonfd.o restore.o status.o verify.o verify_vol.o xattr.o \
-lz -lbacfind -lbacpy -lbaccfg -lbac -lm -pthread \
-lssl -lcrypto
filed.o(.text+0x114): In function `main':
/tmp/bacula-3.0.2/src/filed/filed.c:130: warning: strcpy() is almost always
misused, please use strlcpy()
/tmp/bacula-3.0.2/src/findlib/.libs/libbacfind.so.1.0: warning: strcat() is
almost always misused, please use strlcat()
/tmp/bacula-3.0.2/src/findlib/.libs/libbacfind.so.1.0: warning: sprintf() is
often misused, please use snprintf()
==== Make of filed is good ====
gmake[1]: Leaving directory `/tmp/bacula-3.0.2/src/filed'
==>Entering directory /tmp/bacula-3.0.2/src/console
gmake[1]: Entering directory `/tmp/bacula-3.0.2/src/console'
/tmp/bacula-3.0.2/libtool --silent --tag=CXX --mode=link /usr/bin/g++
-L../lib -L../cats -o bconsole console.o console_conf.o authenticate.o conio.o \
-ltermcap -lbaccfg -lbac -lm -pthread \
-lssl -lcrypto
console.o(.text+0x75c): In function `main':
/tmp/bacula-3.0.2/src/console/console.c:594: warning: strcpy() is almost always
misused, please use strlcpy()
/tmp/bacula-3.0.2/src/lib/.libs/libbac.so.1.0: warning: strcat() is almost
always misused, please use strlcat()
/tmp/bacula-3.0.2/src/lib/.libs/libbaccfg.so.1.0: warning: sprintf() is often
misused, please use snprintf()
==== Make of console is good ====
gmake[1]: Leaving directory `/tmp/bacula-3.0.2/src/console'
==>Entering directory /tmp/bacula-3.0.2/src/plugins/fd
gmake[1]: Entering directory `/tmp/bacula-3.0.2/src/plugins/fd'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/tmp/bacula-3.0.2/src/plugins/fd'
==>Entering directory /tmp/bacula-3.0.2/manpages
gmake[1]: Entering directory `/tmp/bacula-3.0.2/manpages'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/tmp/bacula-3.0.2/manpages'
The make of console draws attention to me since I am only installing
bacula-fd.
Then I get another problem with 'make install'. It will be that I need to
install autoconf?
fugu:/tmp/bacula-3.0.2# gmake install
./autoconf/mkinstalldirs /usr/sbin
gmake: ./autoconf/mkinstalldirs: Command not found
gmake: *** [installdirs] Error 127
I tried installing it, but I continue obtaining the same message of error.
Thanks for your reply.
Regards,
Daniel
--
Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Squeeze - Linux user #188.598
signature.asc
Description: Digital signature
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|