Bacula-users

Re: [Bacula-users] Where is bat?

2009-06-18 16:21:57
Subject: Re: [Bacula-users] Where is bat?
From: Allan Black <Allan.Black AT btconnect DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 18 Jun 2009 21:17:11 +0100
Ralph Böhme wrote:
> on Opensolaris, now that I'm done: where is bat?
> What am I missing?

Possibly "export PATH PKG_CONFIG_PATH"

> ralph@os:~/bacula-3.0.1$ cat myconfigure
> #!/bin/sh
> PATH=$PATH:/usr/local/Trolltech/Qt-4.5.1/bin
> PKG_CONFIG_PATH=/usr/local/Trolltech/Qt-4.5.1/lib/pkgconfig
> ./configure -C \
>             --enable-bat \
>             --prefix=/usr/local/bacula \
>             --with-qwt=/usr/local/qwt-5.2.0 \
>             --with-mysql=/usr/mysql/5.0 \
>             --with-openssl=/opt/csw/ssl

This is how I configure Bacula (client only) on Solaris Nevada (very
similar to OpenSolaris):

=======================================================
Add bindtextdomain to list of #undefs in src/gnome2-console/console.h

cat >> src/qt-console/bat.pro.in << EOF
QMAKE_LFLAGS += -Wl,-R,/usr/local/qwt-5.0.2/lib
EOF

set path = ($path /usr/local/Qt-4.3.1/bin)
setenv PKG_CONFIG_PATH /usr/local/Qt-4.3.1/lib/pkgconfig
setenv LDFLAGS "-R/usr/local/mysql/lib/mysql"

./configure --enable-client-only --with-openssl=/usr/sfw 
--with-qwt=/usr/local/qwt-5.0.2 --enable-bat --enable-gnome 
--enable-tray-monitor --with-python --prefix=/usr/local/bacula 
--exec-prefix=/usr/local/bacula --with-scriptdir=/usr/local/bacula/bin 
--mandir=/usr/local/bacula/man --with-working-dir=/var/bacula
=======================================================

and this is how I configure for Solaris 10 (server):

=======================================================
cat >> src/qt-console/bat.pro.in << EOF
QMAKE_LFLAGS += -Wl,-R,/usr/local/qwt-5.0.2/lib
EOF

set path = ($path /usr/local/Qt-4.3.1/bin)
setenv PKG_CONFIG_PATH /usr/local/Qt-4.3.1/lib/pkgconfig
setenv LDFLAGS "-R/usr/local/mysql/lib/mysql"

./configure --with-mysql=/usr/local/mysql --with-openssl=/usr/sfw 
--with-qwt=/usr/local/qwt-5.0.2 --enable-bat --enable-gnome --with-python 
--prefix=/usr/local/bacula --exec-prefix=/usr/local/bacula 
--with-scriptdir=/usr/local/bacula/bin --mandir=/usr/local/bacula/man 
--with-working-dir=/var/bacula
=======================================================

You'll have to adapt some paths, e.g. I have MySQL 5.0 in /usr/local (Solaris
10 only comes with 4.0), and this is for Bacula 2.4.3.

Allan

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>