Re: [Bacula-users] Problem compiling bacula 2.4?
2008-06-06 16:29:10
Hemant Shah wrote:
> Folks,
>
> I am having trouble compiling gnome2-console and enabling batch insertin
> bacula 2.4.
>
> Here is my configure command:
>
> # ./configure --disable-ipv6 --enable-smartalloc --enable-bat --with-qwt
> --enable-batch-insert --enable-gnome --enable-tray-monitor --enable-largefile
> --disable-nls --with-postgresql --with-dir-password=bacula
> --with-fd-password=bacula --with-sd-password=bacula
> -with-mon-dir-password=bacula --with-mon-fd-password=bacula
> --with-mon-sd-password=bacula --sbindir=/usr/local/bin
> --sysconfdir=/usr/local/etc --with-working-dir=/backups/working
> --with-archivedir=/backups --disable-conio --enable-bwx-console --with-x
>
>
> Here is the config.out file:
>
> Configuration on Fri Jun 6 13:47:28 CDT 2008:
>
> Host: x86_64-unknown-linux-gnu -- redhat
> Bacula version: 2.4.0 (04 June 2008)
> Source code location: .
> Install binaries: /usr/local/bin
> Install config files: /usr/local/etc
> Scripts directory: /usr/local/etc
> Archive directory: /backups
> Working directory: /backups/working
> PID directory: /var/run
> Subsys directory: /var/lock/subsys
> Man directory: ${datarootdir}/man
> Data directory: ${prefix}/share
> C Compiler: gcc 4.3.0
> C++ Compiler: /usr/lib64/ccache/g++ 4.3.0
> Compiler flags: -g -O2 -Wall -fno-strict-aliasing
> -fno-exceptions -fno-rtti
> Linker flags:
> Libraries: -lpthread
> Statically Linked Tools: no
> Statically Linked FD: no
> Statically Linked SD: no
> Statically Linked DIR: no
> Statically Linked CONS: no
> Database type: PostgreSQL
> Database lib: -L/usr/local/lib -lpq -lcrypt
> Database name: bacula
> Database user: bacula
>
> Job Output Email: root@localhost
> Traceback Email: root@localhost
> SMTP Host Address: localhost
>
> Director Port: 9101
> File daemon Port: 9102
> Storage daemon Port: 9103
>
>
> Director User:
> Director Group:
> Storage Daemon User:
> Storage DaemonGroup:
> File Daemon User:
> File Daemon Group:
>
> SQL binaries Directory /usr/local/bin
>
> Large file support: yes
> Bacula conio support: no -lreadline -ltermcap
> readline support: yes
> TCP Wrappers support: no
> TLS support: no
> Encryption support: no
> ZLIB support: yes
> enable-smartalloc: yes
> bat support: yes -L/usr/lib64
> enable-gnome: yes Version 2.x
> enable-bwx-console: yes wxWidgets 2.8
> enable-tray-monitor: yes
> client-only: no
> build-dird: yes
> build-stored: yes
> ACL support: yes
> Python support: no
> Batch insert enabled: no
>
>
> I had specified --enable-batch-insert option, batch insert is not enabled.
>
> I also get following error for gnome conaole:
>
> ==>Entering directory /tmp/bacula-2.4.0/src/gnome2-console
> make[1]: Entering directory `/tmp/bacula-2.4.0/src/gnome2-console'
> Compiling console.c
> In file included from /usr/include/glib-2.0/glib/gi18n.h:23,
> from /usr/include/libbonobo-2.0/bonobo/bonobo-i18n.h:39,
> from /usr/include/libgnome-2.0/libgnome/gnome-i18n.h:41,
> from /usr/include/libgnome-2.0/libgnome/libgnome.h:30,
> from /usr/include/libgnomeui-2.0/gnome.h:5,
> from console.h:47,
> from console.c:38:
> /usr/include/libintl.h:88: error: expected unqualified-id before âthrowâ
> /usr/include/libintl.h:88: error: expected initializer before âthrowâ
> make[1]: *** [console.o] Error 1
> make[1]: Leaving directory `/tmp/bacula-2.4.0/src/gnome2-console'
>
>
> ====== Error in /tmp/bacula-2.4.0/src/gnome2-console ======
>
> Any clue what could be wrong?
Your PostgreSQL client probably does not have safe-threads enabled.
I tried to find a reference at http://www.bacula.org/ but did not.
--
Dan Langille
BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon - The PostgreSQL Conference: http://www.pgcon.org/
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|