Bacula-users

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

2015-07-01 12:19:53
Subject: Re: [Bacula-users] Compiling FD 7.0.5 on Solaris 11.2 x86_64
From: Kern Sibbald <kern AT sibbald DOT com>
To: Mark Burgess <mark AT burgess-consulting.com DOT au>, bacula-users AT lists.sourceforge DOT net
Date: Wed, 01 Jul 2015 18:17:12 +0200
Hello,

This was an error in the Makefile.in file.  It will be fixed in the next version, but for the current version, you will need to edit the Makefile.in to remove all references (only 1 if I remember right) to those two files.  After modifying Makefile.in, you must rerun ./configure and rebuild and reinstall Bacula.

Best regards,
Kern

On 29.06.2015 08:32, Mark Burgess wrote:
Hi Gary,

I tried with SunStudio 12.3 but get the same error:

..
..

config.status: creating src/config.h
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing default commands
chmod: WARNING: can't access storage-ctl
chmod: WARNING: can't access bsg_persist

..

Configuration on Tue Jun 30 02:29:59 AEST 2015:

   Host:                    i386-pc-solaris2.11 -- solaris 5.11
   Bacula version:          Bacula 7.0.5 (28 July 2014)
   Source code location:    .
   Install binaries:        /opt/bacula/sbin
   Install libraries:       /opt/bacula/lib
   Install config files:    /opt/bacula/etc
   Scripts directory:       /opt/bacula/etc
   Archive directory:       /tmp
   Working directory:       /opt/bacula/working
   PID directory:           /var/run
   Subsys directory:        /var/run/subsys
   Man directory:           ${datarootdir}/man
   Data directory:          /opt/bacula/share
   Plugin directory:        /opt/bacula/lib
   C Compiler:              cc
   C++ Compiler:            /opt/solarisstudio12.3/bin/CC
   Compiler flags:           -g -O
   Linker flags:
   Libraries:               -lpthread -lresolv -lnsl -lsocket -lxnet  -lintl -lresolv -lrt
   Statically Linked Tools: no
   Statically Linked FD:    no
   Statically Linked SD:    no
   Statically Linked DIR:   no
   Statically Linked CONS:  no
   Database backends:       None
   Database port:
   Database name:           bacula
   Database user:           bacula

Regards,

Mark


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

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
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>
  • Re: [Bacula-users] Compiling FD 7.0.5 on Solaris 11.2 x86_64, Kern Sibbald <=