Bacula-users

Re: [Bacula-users] Bacula-fd on AIX 5.3 memory fault / right procedure?

2009-05-14 03:49:05
Subject: Re: [Bacula-users] Bacula-fd on AIX 5.3 memory fault / right procedure?
From: Fabio Xarax <fxarax AT gmail DOT com>
To: hjrrs AT yahoo DOT com
Date: Thu, 14 May 2009 09:44:42 +0200
Hi!
Finally I compiled and it works!
But now there are connection problem :( (for this i'm going to write to newsgroup)
So, here you are the steps I followed for client on AIX 5.3 - bacula 3.0.0 & 3.0.1
 
1. unpack src file
2. cd into dir
3. set these export (thanks to Hemant Shah)
export PATH=/usr/ccs/lib:$PATH
export CXX=xlC
export CC=xlc
export CPPFLAGS=-+
4. configure
./configure --enable-client-only --disable-libtool --disable-conio --with-subsys-dir=/bacula/work --sbindir=/bacula/sbin --sysconfdir=/bacula/conf --with-scriptdir=/bacula/script --
with-working-dir=/bacula/work --with-pid-dir=/bacula/work
5. edit Makefile: find ".PATH" and change in "#.PATH" (thanks to Hemant Shah)
6. edit ./src/lib/bsys.c and delete these lines (don't remember who...sorry!)
#ifdef HAVE_AIX_OS
extern "C" int initgroups(const char *,int);
#endif
7. make: you'll get this error
==>Entering directory /backup_mgm/bac/bacula-3.0.1/src/plugins/fd
        /usr/vacpp/bin/xlC   -+  -fPIC -I../.. -I../../filed -c bpipe-fd.c
        /usr/vacpp/bin/xlC  -shared bpipe-fd.o -o bpipe-fd.so
ld: 0706-012 The -h flag is not recognized.
ld: 0706-012 The -a flag is not recognized.
make: 1254-004 The error code from the last command is 255.
Stop.
8. do this (thanks to Hemant Shah)
cd src/plugins/fd
/usr/vacpp/bin/makeC++SharedLib -o bpipe-fd.so -p0 bpipe-fd.o
cd ..
cd ..
cd ..
9. make (again ;) this time will end ok!)
10. make install
 
I think thtat's all!
I hope it will be useful for everyone! Let me know!
 
Fabio
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users