Apologies for the long email but I'm at my wits end on this one. I'm using Ubuntu and have just removed Bacula using aptitude so that I can install the updated version from source.
Here's my compile time options; ./configure --prefix=/opt/bacula/ --enable-smartalloc --with-mysql --with-pid-dir=/var/run --with-subsys-dir=/var/lock/subsys --enable-conio --with-openssl --with-dir-user=bacula --with-dir-group=bacula --with-sd-user=bacula --with-sd-group=bacula --with-fd-user=root --with-fd-group=root --with-python --with-readline If I run the configure, make, make install with the above I'm not getting any of the bacula executables created. I'm only getting btraceback . I can see lots of errors during the make but no reason for them. If someone can take a look and let me know on this it'd be appreciated. Thanks, Gavin Conway Configuration on Wed Feb 14 09:59:59 GMT 2007: Host: i686-pc-linux-gnu -- debian ubuntu 5.10 testing/unstable Bacula version: 2.0.2 (28 January 2007) Source code location: . Install binaries: /opt/bacula//sbin Install config files: /opt/bacula//etc Scripts directory: /opt/bacula//etc Working directory: /opt/bacula//var/bacula/working PID directory: /var/run Subsys directory: /var/lock/subsys Man directory: ${datarootdir}/man Data directory: ${prefix}/share C Compiler: gcc 4.0.2 C++ Compiler: /usr/bin/g++ 4.0.2 Compiler flags: -g -O2 -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti Linker flags: -O Libraries: -lpthread -ldl Statically Linked Tools: no Statically Linked FD: no Statically Linked SD: no Statically Linked DIR: no Statically Linked CONS: no Database type: MySQL Database lib: -L/usr/lib/mysql -lmysqlclient -lz Job Output Email: [EMAIL PROTECTED] Traceback Email: [EMAIL PROTECTED] SMTP Host Address: localhost Director Port: 9101 File daemon Port: 9102 Storage daemon Port: 9103 Director User: bacula Director Group: bacula Storage Daemon User: bacula Storage DaemonGroup: bacula File Daemon User: root File Daemon Group: root SQL binaries Directory /usr/bin Large file support: yes Bacula conio support: yes -ltermcap readline support: no TCP Wrappers support: no TLS support: no Encryption support: no ZLIB support: yes enable-smartalloc: yes enable-gnome: no enable-wx-console: no enable-tray-monitor: client-only: no build-dird: yes build-stored: yes ACL support: no Python support: yes -L/usr/lib/python2.4/config -lpython2.4 -lutil -lrt [EMAIL PROTECTED]:~/bacula-2.0.2# make ==>Entering directory /root/bacula-2.0.2/src make[1]: Entering directory `/root/bacula-2.0.2/src' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/root/bacula-2.0.2/src' ==>Entering directory /root/bacula-2.0.2/scripts make[1]: Entering directory `/root/bacula-2.0.2/scripts' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/root/bacula-2.0.2/scripts' ==>Entering directory /root/bacula-2.0.2/src/lib make[1]: Entering directory `/root/bacula-2.0.2/src/lib' Compiling attr.c In file included from ../bacula.h:184, from attr.c:36: ../host.h:38: error: missing terminating " character ../host.h:38: error: expected constructor, destructor, or type conversion before ‘/’ token make[1]: *** [attr.o] Error 1 make[1]: Leaving directory `/root/bacula-2.0.2/src/lib' ====== Error in /root/bacula-2.0.2/src/lib ====== ==>Entering directory /root/bacula-2.0.2/src/findlib make[1]: Entering directory `/root/bacula-2.0.2/src/findlib' Compiling find.c In file included from ../bacula.h:184, from find.c:41: ../host.h:38: error: missing terminating " character ../host.h:38: error: expected constructor, destructor, or type conversion before ‘/’ token make[1]: *** [find.o] Error 1 make[1]: Leaving directory `/root/bacula-2.0.2/src/findlib' ====== Error in /root/bacula-2.0.2/src/findlib ====== ==>Entering directory /root/bacula-2.0.2/src/filed make[1]: Entering directory `/root/bacula-2.0.2/src/filed' Compiling filed.c In file included from ../bacula.h:184, from filed.c:37: ../host.h:38: error: missing terminating " character ../host.h:38: error: expected constructor, destructor, or type conversion before ‘/’ token filed_conf.h:111: error: ‘DIRRES’ does not name a type ../jcr.h:296: error: ISO C++ forbids declaration of ‘DIRRES’ with no type ../jcr.h:296: error: expected ‘;’ before ‘*’ token filed.c: In function ‘int check_resources()’: filed.c:260: error: ‘DIRRES’ was not declared in this scope filed.c:260: error: ‘director’ was not declared in this scope filed.c:432: error: expected primary-expression before ‘)’ token filed.c:432: error: expected `;' before ‘GetNextRes’ make[1]: *** [filed.o] Error 1 make[1]: Leaving directory `/root/bacula-2.0.2/src/filed' ====== Error in /root/bacula-2.0.2/src/filed ====== ==>Entering directory /root/bacula-2.0.2/src/console make[1]: Entering directory `/root/bacula-2.0.2/src/console' Compiling console.c In file included from ../bacula.h:184, from console.c:37: ../host.h:38: error: missing terminating " character console.c:111: error: missing terminating " character console.c:824: error: missing terminating " character ../host.h:38: error: expected constructor, destructor, or type conversion before ‘/’ token console.c: In function ‘void usage()’: console.c:111: error: expected primary-expression before ‘)’ token console.c: In function ‘int main(int, char**)’: console.c:445: error: ‘R_DIRECTOR’ was not declared in this scope console.c:449: error: ‘R_CONSOLE’ was not declared in this scope console.c:462: error: ‘R_DIRECTOR’ was not declared in this scope console.c:479: error: ‘R_DIRECTOR’ was not declared in this scope console.c:483: error: ‘R_CONSOLE’ was not declared in this scope console.c:492: error: ‘R_CONSOLE’ was not declared in this scope console.c:503: error: ‘R_DIRECTOR’ was not declared in this scope console.c:509: error: ‘R_CONSOLE’ was not declared in this scope console.c: In function ‘int check_resources()’: console.c:633: error: ‘R_DIRECTOR’ was not declared in this scope console.c:664: error: ‘R_CONSOLE’ was not declared in this scope console.c: In function ‘int versioncmd(FILE*, BSOCK*)’: console.c:824: error: expected primary-expression before ‘)’ token make[1]: *** [console.o] Error 1 make[1]: Leaving directory `/root/bacula-2.0.2/src/console' ====== Error in /root/bacula-2.0.2/src/console ====== ==>Entering directory /root/bacula-2.0.2/src/cats make[1]: Entering directory `/root/bacula-2.0.2/src/cats' Compiling mysql.c In file included from ../bacula.h:184, from mysql.c:44: ../host.h:38: error: missing terminating " character ../host.h:38: error: expected constructor, destructor, or type conversion before ‘/’ token protos.h:104: error: ‘DB_LIST_HANDLER’ has not been declared protos.h:105: error: ‘DB_LIST_HANDLER’ has not been declared protos.h:106: error: ‘DB_LIST_HANDLER’ has not been declared protos.h:107: error: ‘DB_LIST_HANDLER’ has not been declared protos.h:108: error: ‘DB_LIST_HANDLER’ has not been declared protos.h:109: error: ‘DB_LIST_HANDLER’ has not been declared protos.h:110: error: ‘DB_LIST_HANDLER’ has not been declared protos.h:111: error: ‘DB_LIST_HANDLER’ has not been declared cats.h:819: error: ‘DB_LIST_HANDLER’ has not been declared cats.h:820: error: ‘DB_LIST_HANDLER’ has not been declared make[1]: *** [mysql.o] Error 1 make[1]: Leaving directory `/root/bacula-2.0.2/src/cats' ====== Error in /root/bacula-2.0.2/src/cats ====== ==>Entering directory /root/bacula-2.0.2/src/dird make[1]: Entering directory `/root/bacula-2.0.2/src/dird' Compiling dird.c In file included from ../bacula.h:184, from dird.c:37: ../host.h:38: error: missing terminating " character ../host.h:38: error: expected constructor, destructor, or type conversion before ‘/’ token make[1]: *** [dird.o] Error 1 make[1]: Leaving directory `/root/bacula-2.0.2/src/dird' ====== Error in /root/bacula-2.0.2/src/dird ====== ==>Entering directory /root/bacula-2.0.2/src/stored make[1]: Entering directory `/root/bacula-2.0.2/src/stored' Compiling stored.c In file included from ../bacula.h:184, from stored.c:42: ../host.h:38: error: missing terminating " character ../host.h:38: error: expected constructor, destructor, or type conversion before ‘/’ token make[1]: *** [stored.o] Error 1 make[1]: Leaving directory `/root/bacula-2.0.2/src/stored' ====== Error in /root/bacula-2.0.2/src/stored ====== ==>Entering directory /root/bacula-2.0.2/src/tools make[1]: Entering directory `/root/bacula-2.0.2/src/tools' Compiling bsmtp.c In file included from ../bacula.h:184, from bsmtp.c:44: ../host.h:38: error: missing terminating " character ../host.h:38: error: expected constructor, destructor, or type conversion before ‘/’ token make[1]: *** [bsmtp.o] Error 1 make[1]: Leaving directory `/root/bacula-2.0.2/src/tools' ====== Error in /root/bacula-2.0.2/src/tools ====== ==>Entering directory /root/bacula-2.0.2/manpages make[1]: Entering directory `/root/bacula-2.0.2/manpages' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/root/bacula-2.0.2/manpages' [EMAIL PROTECTED]:~/bacula-2.0.2# make install ./autoconf/mkinstalldirs /opt/bacula//sbin ./autoconf/mkinstalldirs /opt/bacula//etc ./autoconf/mkinstalldirs /opt/bacula//etc if test ! -d /opt/bacula//var/bacula/working ; then \ ./autoconf/mkinstalldirs /opt/bacula//var/bacula/working; \ chmod 770 /opt/bacula//var/bacula/working; \ fi if test "xbacula" != "x" ; then \ chown bacula /opt/bacula//var/bacula/working; \ fi if test "xbacula" != "x" ; then \ chgrp bacula /opt/bacula//var/bacula/working; \ fi make[1]: Entering directory `/root/bacula-2.0.2/src' make[1]: Nothing to be done for `install'. make[1]: Leaving directory `/root/bacula-2.0.2/src' make[1]: Entering directory `/root/bacula-2.0.2/scripts' ../autoconf/mkinstalldirs /opt/bacula//etc ../autoconf/mkinstalldirs /opt/bacula//sbin ../autoconf/mkinstalldirs /opt/bacula//etc ../autoconf/mkinstalldirs /opt/bacula//share/man /usr/bin/install -c -m 0754 startmysql /opt/bacula//etc/startmysql /usr/bin/install -c -m 0754 stopmysql /opt/bacula//etc/stopmysql /usr/bin/install -c -m 0754 bconsole /opt/bacula//etc/bconsole /usr/bin/install -c -m 0754 gconsole /opt/bacula//etc/gconsole /usr/bin/install -c -m 0754 bacula /opt/bacula//etc/bacula /usr/bin/install -c -m 0754 bacula-ctl-dir /opt/bacula//etc/bacula-ctl-dir /usr/bin/install -c -m 0754 bacula-ctl-fd /opt/bacula//etc/bacula-ctl-fd /usr/bin/install -c -m 0754 bacula-ctl-sd /opt/bacula//etc/bacula-ctl-sd /usr/bin/install -c -m 0754 mtx-changer /opt/bacula//etc/mtx-changer /usr/bin/install -c -m 0754 disk-changer /opt/bacula//etc/disk-changer /usr/bin/install -c -m 0754 dvd-handler /opt/bacula//etc/dvd-handler /usr/bin/install -c -m 644 btraceback.gdb /opt/bacula//etc/btraceback.gdb /usr/bin/install -c -m 644 btraceback.dbx /opt/bacula//etc/btraceback.dbx chmod 0644 /opt/bacula//etc/btraceback.gdb \ /opt/bacula//etc/btraceback.dbx /usr/bin/install -c -m 0754 btraceback /opt/bacula//sbin/btraceback make[1]: Leaving directory `/root/bacula-2.0.2/scripts' make[1]: Entering directory `/root/bacula-2.0.2/src/lib' make[1]: Nothing to be done for `install'. make[1]: Leaving directory `/root/bacula-2.0.2/src/lib' make[1]: Entering directory `/root/bacula-2.0.2/src/findlib' make[1]: Nothing to be done for `install'. make[1]: Leaving directory `/root/bacula-2.0.2/src/findlib' make[1]: Entering directory `/root/bacula-2.0.2/src/filed' Compiling filed.c In file included from ../bacula.h:184, from filed.c:37: ../host.h:38: error: missing terminating " character ../host.h:38: error: expected constructor, destructor, or type conversion before ‘/’ token filed_conf.h:111: error: ‘DIRRES’ does not name a type ../jcr.h:296: error: ISO C++ forbids declaration of ‘DIRRES’ with no type ../jcr.h:296: error: expected ‘;’ before ‘*’ token filed.c: In function ‘int check_resources()’: filed.c:260: error: ‘DIRRES’ was not declared in this scope filed.c:260: error: ‘director’ was not declared in this scope filed.c:432: error: expected primary-expression before ‘)’ token filed.c:432: error: expected `;' before ‘GetNextRes’ make[1]: *** [filed.o] Error 1 make[1]: Leaving directory `/root/bacula-2.0.2/src/filed' make[1]: Entering directory `/root/bacula-2.0.2/src/console' Compiling console.c In file included from ../bacula.h:184, from console.c:37: ../host.h:38: error: missing terminating " character console.c:111: error: missing terminating " character console.c:824: error: missing terminating " character ../host.h:38: error: expected constructor, destructor, or type conversion before ‘/’ token console.c: In function ‘void usage()’: console.c:111: error: expected primary-expression before ‘)’ token console.c: In function ‘int main(int, char**)’: console.c:445: error: ‘R_DIRECTOR’ was not declared in this scope console.c:449: error: ‘R_CONSOLE’ was not declared in this scope console.c:462: error: ‘R_DIRECTOR’ was not declared in this scope console.c:479: error: ‘R_DIRECTOR’ was not declared in this scope console.c:483: error: ‘R_CONSOLE’ was not declared in this scope console.c:492: error: ‘R_CONSOLE’ was not declared in this scope console.c:503: error: ‘R_DIRECTOR’ was not declared in this scope console.c:509: error: ‘R_CONSOLE’ was not declared in this scope console.c: In function ‘int check_resources()’: console.c:633: error: ‘R_DIRECTOR’ was not declared in this scope console.c:664: error: ‘R_CONSOLE’ was not declared in this scope console.c: In function ‘int versioncmd(FILE*, BSOCK*)’: console.c:824: error: expected primary-expression before ‘)’ token make[1]: *** [console.o] Error 1 make[1]: Leaving directory `/root/bacula-2.0.2/src/console' make[1]: Entering directory `/root/bacula-2.0.2/src/cats' /usr/bin/install -c -m 0754 create_mysql_database /opt/bacula//etc/create_mysql_database /usr/bin/install -c -m 0754 update_mysql_tables /opt/bacula//etc/update_mysql_tables /usr/bin/install -c -m 0754 make_mysql_tables /opt/bacula//etc/make_mysql_tables /usr/bin/install -c -m 0754 grant_mysql_privileges /opt/bacula//etc/grant_mysql_privileges /usr/bin/install -c -m 0754 drop_mysql_tables /opt/bacula//etc/drop_mysql_tables /usr/bin/install -c -m 0754 drop_mysql_database /opt/bacula//etc/drop_mysql_database /usr/bin/install -c -m 0754 create_bacula_database /opt/bacula//etc/create_bacula_database /usr/bin/install -c -m 0754 update_bacula_tables /opt/bacula//etc/update_bacula_tables /usr/bin/install -c -m 0754 make_bacula_tables /opt/bacula//etc/make_bacula_tables /usr/bin/install -c -m 0754 grant_bacula_privileges /opt/bacula//etc/grant_bacula_privileges /usr/bin/install -c -m 0754 drop_bacula_tables /opt/bacula//etc/drop_bacula_tables /usr/bin/install -c -m 0754 drop_bacula_database /opt/bacula//etc/drop_bacula_database /usr/bin/install -c -m 0754 make_catalog_backup /opt/bacula//etc/make_catalog_backup /usr/bin/install -c -m 0754 delete_catalog_backup /opt/bacula//etc/delete_catalog_backup make[1]: Leaving directory `/root/bacula-2.0.2/src/cats' make[1]: Entering directory `/root/bacula-2.0.2/src/dird' Compiling dird.c In file included from ../bacula.h:184, from dird.c:37: ../host.h:38: error: missing terminating " character ../host.h:38: error: expected constructor, destructor, or type conversion before ‘/’ token make[1]: *** [dird.o] Error 1 make[1]: Leaving directory `/root/bacula-2.0.2/src/dird' make[1]: Entering directory `/root/bacula-2.0.2/src/stored' Compiling stored.c In file included from ../bacula.h:184, from stored.c:42: ../host.h:38: error: missing terminating " character ../host.h:38: error: expected constructor, destructor, or type conversion before ‘/’ token make[1]: *** [stored.o] Error 1 make[1]: Leaving directory `/root/bacula-2.0.2/src/stored' make[1]: Entering directory `/root/bacula-2.0.2/src/tools' Compiling bsmtp.c In file included from ../bacula.h:184, from bsmtp.c:44: ../host.h:38: error: missing terminating " character ../host.h:38: error: expected constructor, destructor, or type conversion before ‘/’ token make[1]: *** [bsmtp.o] Error 1 make[1]: Leaving directory `/root/bacula-2.0.2/src/tools' make[1]: Entering directory `/root/bacula-2.0.2/manpages' /root/bacula-2.0.2/autoconf/mkinstalldirs //opt/bacula//share/man/man8 for I in bacula.8 bacula-dir.8 bacula-fd.8 bacula-sd.8 bconsole.8 bcopy.8 bextract.8 bls.8 bscan.8 btape.8 btraceback.8 dbcheck.8; \ do (/bin/rm -f $I.gz; gzip -c $I >$I.gz; \ /usr/bin/install -c -m 644 $I.gz /opt/bacula//share/man/man8/$I.gz; \ rm -f $I.gz); \ done /root/bacula-2.0.2/autoconf/mkinstalldirs //opt/bacula//share/man/man1 for I in bacula-console-gnome.1 bacula-tray-monitor.1 bacula-wxconsole.1 bsmtp.1; \ do (/bin/rm -f $I.gz; gzip -c $I >$I.gz; \ /usr/bin/install -c -m 644 $I.gz /opt/bacula//share/man/man1/$I.gz; \ rm -f $I.gz); \ done make[1]: Leaving directory `/root/bacula-2.0.2/manpages' ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users