> On Fri, Oct 24, 2014 at 9:45 PM, Kenneth Garges <[email protected]
> <mailto:[email protected]>> wrote:
>
> I’m trying to build Bacula 7.0.4 on a Solaris 10 box (Sun T5220)
> but am getting this error during the configure:
>
> Doing make of dependencies
> ==>Entering directory /home/garges/bacula-7.0.4/src
> ==>Entering directory /home/garges/bacula-7.0.4/scripts
> ==>Entering directory /home/garges/bacula-7.0.4/src/lib
> mksh: Fatal error in reader: = missing from replacement macro reference
> Current working directory /home/garges/bacula-7.0.4/src/lib
> *** Error code 1
> The following command caused the error:
> for I in src scripts src/lib src/findlib src/filed src/console
> src/plugins/fd src/cats src/dird src/stored src/tools manpages; \
> do (cd $I; echo "==>Entering directory `pwd`"; make DESTDIR=
> depend || exit 1); done
> make: Fatal error: Command failed for target `depend'
> chmod: WARNING: can't access storage-ctl
> chmod: WARNING: can't access bsg_persist
>
> Following a suggestion I read on the net I changed line 52 of
> Makefile.in to force configure to use gmake instead of the Solaris make:
>
> -bash-3.2$ more +52 -1 Makefile.in
> do (cd $$I; echo "==>Entering directory `pwd`";
> /opt/csw/bin/gmake DESTDIR=$(DESTDIR) $@ || exit 1); done
Ken,
For what it's worth, I have found it to be better on Solaris to compile
Bacula using Sun Studio. The last release Sun Studio packages for
Solaris 10 are, to the best of my knowledge, still a free download.
This is my Solaris 10 configure line. At this point, the Solaris 10
machine runs only a client and an SD, but this may help you.
CC=/usr/bin/CC CXX=${CC} LDFLAGS=-m64 CFLAGS='-fast -xarch=generic
-xtarget=generic -xcache=generic -m64' CPPFLAGS=${CFLAGS} ./configure
--prefix=/opt/bacula [email protected]
[email protected]
--with-smtp-host=smtp.caerllewys.net --with-subsys-dir=/opt/bacula/var
--with-working-dir=/opt/bacula/var --disable-build-dird
--with-mysql=/opt/mysql/mysql
Make is gmake 3.81.
--
Phil Stracchino
Babylon Communications
[email protected]
[email protected]
Landline: 603.293.8485
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users