Bacula-users

Re: [Bacula-users] Compiling FD 7.0.5 on Solaris 11.2 x86_64

2015-06-24 02:11:07
Subject: Re: [Bacula-users] Compiling FD 7.0.5 on Solaris 11.2 x86_64
From: "Gary R. Schmidt" <grs AT mcleod-schmidt.id DOT au>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 24 Jun 2015 14:48:06 +1000
Hi Mark,

> we are attempting to compile Bacula FD 7.0.5 on Solaris 11.2 x86_64. When 
> running the .configure we get the following error message:
>
[SNIP]
> make: Fatal error: Command failed for target `depend'
> chmod: WARNING: can't access storage-ctl
> chmod: WARNING: can't access bsg_persist
>
> ..
>
> Configure options as follows:
>
> CFLAGS="-g" ./configure   --sbindir=/opt/bacula/bin   
> --sysconfdir=/opt/bacula/etc --enable-smartalloc   
> --with-pid-dir=/opt/bacula/working   --with-subsys-dir=/opt/bacula/working   
> --with-working-dir=/opt/bacula/working   --enable-client-only 
> --disable-build-dird --disable-build-stored
>
> ..
>
> I am not sure if I am missing something for the pre reqs on Solaris. Any 
> suggestions or help would be greatly appreciated.
>
I haven't gotten to my 11.2 boxes yes, this works on 11.0 x64:
./configure  CC=cc CXX=CC CFLAGS="-g -O" --prefix=/opt/bacula 
--with-dir-password=password --with-fd-password=password 
--with-sd-password=password --with-fd-user=root --with-fd-group=backup 
--enable-smartalloc --enable-client-only

I used the SunStudio 12.2 compiler on this system.

I use Sunstudio, rather than gcc, for my Solaris systems, both SPARC and 
x64, as it is free.

        Cheers,
                Gary    B-)


------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users