Hello.
Want to install a Linux Server as SAMBA PDC.
• OPENSUSE 11.1 + MySQL-5.1.45 + SAMBA-3.2.7 + PHP-5.2.12 +
APACHE2-2-2.2.10 + OPENLDAP-openldap2-2.4.12
• Bacula 5.0.1
• Want to use the GUI
Following the "main" document
- Have de-tar Bacula 5.0.1 in Bacula directory
- Have compile Qt lib and put depkgs-qt in Bacula directory
( By the way, following tips found on internet
[Bacula-devel] platforms/suse/bacula.spec.in missing by Philipp Storz - Mon, 15
Feb 2010 00:16:19 -0800 I had to "touch" the file platforms/suse/bacula.spec.in
)
- As I tried more than one, have create a shell to start configure :
#!/bin/sh
#
cd /local/download/bacula/compil/bacula/depkgs-qt
./source qt4-paths
#
cd /local/download/bacula/compil/bacula
./make distclean
#
# Recommended configure script for Bacula
prefix=/opt/bacula
email=r...@localhost
CFLAGS="-g -O2 -Wall" \
./configure \
--sbindir=${prefix}/bin \
--sysconfdir=${prefix}/etc \
--docdir=${prefix}/html \
--htmldir=${prefix}/html \
--with-working-dir=${prefix}/working \
--with-pid-dir=${prefix}/working \
--with-subsys-dir=${prefix}/working \
--with-scriptdir=${prefix}/scripts \
--with-plugindir=${prefix}/plugins \
--libdir=${prefix}/lib \
--enable-smartalloc \
--enable-tray-monitor \
--enable-bat \
--with-mysql \
--with-dump-email=${email} \
--with-job-email=${email} \
--with-smtp-host=localhost \
--with-baseport=9101
exit 0
• Starting configure from command line
SRV:/local/...../bacula #
SRV:/local/...../bacula #
SRV:/local/...../bacula # make > my_re-configure.sh
................
................
................
make[1]: Leaving directory
`/local/download/bacula/compil/bacula/src/qt-console'
==>Entering directory /local/download/bacula/compil/bacula/src/tray-monitor
make[1]: Entering directory
`/local/download/bacula/compil/bacula/src/tray-monitor'
In file included from authenticate.c:42:
tray-monitor.h:36:21: error: gtk/gtk.h: No such file or directory
In file included from tray-monitor.c:39:
tray-monitor.h:36:21: error: gtk/gtk.h: No such file or directory
make[1]: *** [depend] Error 1
make[1]: Leaving directory
`/local/download/bacula/compil/bacula/src/tray-monitor'
................
................
................
................
................
Configuration on Mon Mar 29 15:09:10 CEST 2010:
Host: i686-pc-linux-gnu -- suse 11.1
Bacula version: Bacula 5.0.1 (24 February 2010)
Source code location: .
Install binaries: /opt/bacula/bin
Install libraries: /opt/bacula/lib
Install config files: /opt/bacula/etc
Scripts directory: /opt/bacula/scripts
Archive directory: /tmp
Working directory: /opt/bacula/working
PID directory: /opt/bacula/working
Subsys directory: /opt/bacula/working
Man directory: ${datarootdir}/man
Data directory: /usr/share
Plugin directory: /opt/bacula/plugins
C Compiler: gcc Linux)
C++ Compiler: /usr/bin/g++ Linux)
Compiler flags: -g -O2 -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti
Linker flags:
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 port:
Database lib: -L/usr/lib/mysql -lmysqlclient_r -lz
Database name: bacula
Database user: bacula
Job Output Email: r...@localhost
Traceback Email: r...@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/bin
Large file support: yes
Bacula conio support: yes -lncurses
readline support: no
TCP Wrappers support: no
TLS support: yes
Encryption support: yes
ZLIB support: yes
enable-smartalloc: yes
enable-lockmgr: no
bat support: yes
enable-gnome: no
enable-bwx-console: no
enable-tray-monitor: yes
client-only: no
build-dird: yes
build-stored: yes
Plugin support: yes
ACL support: no
XATTR support: yes
Python support: no
Batch insert enabled: yes
SRV:/local/...../bacula #
SRV:/local/...../bacula #
SRV:/local/...../bacula #
tray-monitor.h:36:21: error: gtk/gtk.h: No such file or directory
Of course because the file gtk.h is in /usr/include/gtk2.0/gtk /gtk.h
How can I tell configure to search in /usr/include/gtk2.0/gtk/gtk.h
Thank you for your help.
JCD
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users