I also had issues compiling bacula on Solaris 10. Check if you have the following packages: * SUNWgcmn * SUNWbinutils * SUNWbinutilsS * SUNWarc * SUNWhea * SUNWGnutls * SUNWGnutls-devel * SUNWlibgcrypt * SUNWzlib * SUNWzlibS * SUNWGmakeS * SUNWlibm * SMCliconv * SMCgcc * SMClintl * SMCpcre * SMCgrep
You vcan download the SMC-packages from www.sunfreeware.com. You need GNU grep ! Use the following settings before compiling: LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH PATH=$PATH:/usr/ccs/bin:/usr/sfw/bin:/usr/local/bin:/usr/local/sbin I hope this will help. ----- Oorspronkelijk bericht ----- Van: "Jeff MacDonald" <o...@bignose.ca> Aan: bacula-users@lists.sourceforge.net Verzonden: Vrijdag 2 januari 2009 19:24:36 GMT +01:00 Amsterdam / Berlijn / Bern / Rome / Stockholm / Wenen Onderwerp: [Bacula-users] Compiling on Solaris 10 - storage daemon build dying Hi, I'm compiling on Solaris 10, consistantly the build fails on the storage daemon. Here is my configure line: #!/bin/sh ./configure \ --prefix=/opt/bacula \ --sbindir=/opt/bacula/bin \ --sysconfdir=/opt/bacula/etc \ --with-pid-dir=/opt/bacula/bin/working \ --with-subsys-dir=/opt/bacula/bin/working \ --enable-smartalloc \ --enable-batch-insert \ --enable-static-tools \ --without-mysql \ --without-sqlite \ --with-openssl \ --with-readline \ --with-postgresql=/usr/postgres/8.3 \ --with-working-dir=/opt/bacula/bin/working \ --with-dump-email=bign...@gmail.com \ --with-job-email=bign...@gmail.com \ --with-smtp-host=localhost exit 0 And here are the errors I get from my "make" ===== snip ======= /usr/sfw/bin/g++ -L../lib -o bacula-sd stored.o ansi_label.o autochanger.o acquire.o append.o askdir.o authenticate.o block.o butil.o dev.o device.o dircmd.o dvd.o ebcdic.o fd_cmds.o job.o label.o lock.o mac.o match_bsr.o mount.o parse_bsr.o pythonsd.o read.o read_record.o record.o reserve.o scan.o spool.o status.o stored_conf.o wait.o -lsec -lz \ -lbac -lm -lpthread -lresolv -lnsl -lsocket -lxnet -lintl - lresolv \ -lssl -lcrypto Compiling bls.c Compiling ld: fatal: library -lpthread: not found ld: fatal: library -lresolv: not found ld: fatal: library -lnsl: not found ld: fatal: library -lsocket: not found ld: fatal: library -lxnet: not found ld: fatal: library -lintl: not found ld: fatal: library -lresolv: not found ld: fatal: library -lssl: not found ld: fatal: library -lcrypto: not found ld: fatal: library -lm: not found ld: fatal: library -lc: not found ld: fatal: File processing errors. No output written to bls collect2: ld returned 1 exit status *** Error code 1 The following command caused the error: /usr/sfw/bin/g++ -static -L../lib -L../findlib -o bls bls.o block.o butil.o device.o dev.o label.o match_bsr.o ansi_label.o dvd.o ebcdic.o lock.o autochanger.o acquire.o mount.o parse_bsr.o record.o read_record.o reserve.o scan.o stored_conf.o spool.o wait.o -lfind \ -lbac -lm -lpthread -lresolv -lnsl -lsocket -lxnet -lintl -lresolv -lssl -lcrypto make: Fatal error: Command failed for target `bls' Current working directory /home/bacula/bacula-2.4.3/src/stored ======= snip ======== The thing is, all of these libraries exist in /lib and /usr/lib and the headers are in /usr/include crle says /lib and /usr/lib are valid directories.. Can someone give me some direction please... I'm kinda lost with this stuff. Thanks Jeff ------------------------------------------------------------------------------ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users ------------------------------------------------------------------------------ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users