Bacula-users

Re: [Bacula-users] Trouble compiling bacula 5.0.3 under Solaris 10

2011-01-18 22:22:41
Subject: Re: [Bacula-users] Trouble compiling bacula 5.0.3 under Solaris 10
From: "Gary R. Schmidt" <grs AT mcleod-schmidt.id DOT au>
To: "bacula-users" <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 19 Jan 2011 14:18:11 +1100
On Wed, January 19, 2011 12:30, Kenneth Garges wrote:
> Yet another with problems compiling bacula 5.0.3 under Solaris. I'm only
> trying to compile the storage daemon.
>
[SNIP]
--enable-static-sd
^^^^^^^^^^^^^^^^^^
Don't do this on S10, static linking is deprecated.

Hmm, "inflateInit" implies it is missing libz or something.

Here's my S10 conf (note that is is for everything, not just the SD), but
I use SunStudio rather than (spit) gcc and the WebStack MySQL (Oh, I also
had to hand jigger the configure script to recognise the shared object
form of MySQL):

PATH=/opt/webstack/bin:/opt/webstack/mysql/bin:/bin:/usr/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/sbin:/usr/sbin:/usr/local/bin:$HOME/src/bacula/depkgs-qt/qt-x11-opensource-src-4.3.4/bin
export PATH

./configure \
  CC=cc CXX=CC \
  CFLAGS="-g -O" \
  LDFLAGS="-L/opt/webstack/mysql/lib/mysql -R/opt/webstack/mysql/lib/mysql
-L/usr/sfw/lib -R/usr/sfw/lib" \
  --prefix=/opt/bacula \
  --datarootdir=/opt/bacula/share \
  --mandir=/opt/bacula/man \
  --with-archivedir=/opt/bacula/archive \
  --with-working-dir=/opt/bacula/working \
  --with-plugindir=/opt/bacula/plugins \
  --with-scriptdir=/opt/bacula/scripts \
  --with-subsys-dir=/opt/bacula/subsys \
  --with-mysql=/opt/webstack/mysql \
  --with-dir-password=X \
  --with-fd-password=Y \
  --with-sd-password=Z \
  --with-dir-user=bacula \
  --with-dir-group=backup \
  --with-sd-user=bacula \
  --with-sd-group=backup \
  --with-fd-user=root \
  --with-fd-group=backup \
  --enable-smartalloc \
  --enable-batch-insert \
  --enable-smartalloc \
  --with-dump-email=me \
  --with-job-email=me \
  --with-smtp-host=HOST




------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users