Hello, For the future, please read www.bacula.org -> Support on how to get support. Sending an email to the address you used is not appropriate.
The problem is quite easily fixed by replacing line 47 of file <bacula-source>/src/lib/bsys.c with something like: initgroups(const char*, gid_t); Best regards, Kern On Thursday 13 March 2008 01.08:37 Marconi Leite wrote: > I am with problems in the installation of bacula in AIX. Somebody could > help me. sending steps of the installation. > Configuration on Wed Mar 12 20:03:01 GRNLNDST 2008: > Host: powerpc-ibm-aix5.3.0.0 -- aix 3 > Bacula version: 2.2.7 (24 December 2007) > Source code location: . > Install binaries: /sbin > Install config files: /etc/bacula > Scripts directory: /etc/bacula > Archive directory: > Working directory: /var/bacula/working > PID directory: /var/run > Subsys directory: /var/run/subsys > Man directory: /usr/share/man > Data directory: /usr/share > C Compiler: gcc 4.0.0 > C++ Compiler: /usr/bin/g++ 4.0.0 > Compiler flags: -g -O2 -Wall -fno-strict-aliasing -fno-exceptions > -fno-rtti Linker flags: > Libraries: -lpthread -lintl > Statically Linked Tools: no > Statically Linked FD: no > Statically Linked SD: no > Statically Linked DIR: no > Statically Linked CONS: no > Database type: None > Database lib: > Database name: bacula > Database user: bacula > > Job Output Email: [EMAIL PROTECTED] > Traceback Email: [EMAIL PROTECTED] > SMTP Host Address: localhost > > Director Port: 9101 > File daemon Port: 9102 > Storage daemon Port: 9103 > > Director User: > Director Group: > Storage Daemon User: > Storage DaemonGroup: > File Daemon User: > File Daemon Group: > > SQL binaries Directory > > Large file support: no > Bacula conio support: yes -lcurses > readline support: no > TCP Wrappers support: no > TLS support: no > Encryption support: no > ZLIB support: yes > enable-smartalloc: yes > bat support: no > enable-gnome: no > enable-bwx-console: no > enable-tray-monitor: > client-only: yes > build-dird: yes > build-stored: yes > ACL support: no > Python support: no > Batch insert enabled: no > # make > > ==>Entering directory /usr/local/bacula-2.2.7/src > make[1]: Entering directory `/usr/local/bacula-2.2.7/src' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory `/usr/local/bacula-2.2.7/src' > ==>Entering directory /usr/local/bacula-2.2.7/scripts > make[1]: Entering directory `/usr/local/bacula-2.2.7/scripts' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory `/usr/local/bacula-2.2.7/scripts' > ==>Entering directory /usr/local/bacula-2.2.7/src/lib > make[1]: Entering directory `/usr/local/bacula-2.2.7/src/lib' > Compiling attr.c > Compiling base64.c > Compiling berrno.c > Compiling bsys.c > bsys.c:47: error: declaration of C function 'int initgroups(char*, int)' > conflicts with /usr/include/grp.h:119: error: previous declaration 'int > initgroups(const char*, gid_t)' here make[1]: *** [bsys.o] Error 1 > make[1]: Leaving directory `/usr/local/bacula-2.2.7/src/lib' > > ====== Error in /usr/local/bacula-2.2.7/src/lib ====== > > ==>Entering directory /usr/local/bacula-2.2.7/src/findlib > make[1]: Entering directory `/usr/local/bacula-2.2.7/src/findlib' > Compiling find.c > Compiling match.c > Compiling find_one.c > Compiling attribs.c > Compiling create_file.c > Compiling bfile.c > Compiling drivetype.c > Compiling enable_priv.c > Compiling fstype.c > Compiling makepath.c > Compiling save-cwd.c > Making libfind.a ... > /usr/bin/ar cr libfind.a find.o match.o find_one.o attribs.o create_file.o > bfile.o drivetype.o enable_priv.o fstype.o makepath.o save-cwd.o > > ranlib libfind.a > make[1]: *** No rule to make target `../lib/libbac.a', needed by `all'. > Stop. make[1]: Leaving directory `/usr/local/bacula-2.2.7/src/findlib' > > ====== Error in /usr/local/bacula-2.2.7/src/findlib ====== > > ==>Entering directory /usr/local/bacula-2.2.7/src/filed > make[1]: Entering directory `/usr/local/bacula-2.2.7/src/filed' > Compiling filed.c > Compiling authenticate.c > Compiling acl.c > Compiling backup.c > Compiling estimate.c > Compiling filed_conf.c > Compiling heartbeat.c > Compiling job.c > Compiling pythonfd.c > Compiling restore.c > Compiling status.c > Compiling verify.c > Compiling verify_vol.c > make[1]: *** No rule to make target `../lib/libbac.a', needed by > `bacula-fd'. Stop. make[1]: Leaving directory > `/usr/local/bacula-2.2.7/src/filed' > > ====== Error in /usr/local/bacula-2.2.7/src/filed ====== > > ==>Entering directory /usr/local/bacula-2.2.7/src/console > make[1]: Entering directory `/usr/local/bacula-2.2.7/src/console' > Compiling console.c > Compiling console_conf.c > Compiling authenticate.c > Compiling conio.c > make[1]: *** No rule to make target `../lib/libbac.a', needed by > `bconsole'. Stop. make[1]: Leaving directory > `/usr/local/bacula-2.2.7/src/console' > > ====== Error in /usr/local/bacula-2.2.7/src/console ====== > > ==>Entering directory /usr/local/bacula-2.2.7/manpages > make[1]: Entering directory `/usr/local/bacula-2.2.7/manpages' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory `/usr/local/bacula/2.2.7/manpages' > > # make install > ./autoconf/mkinstalldirs /sbin > ./autoconf/mkinstalldirs /etc/bacula > ./autoconf/mkinstalldirs /etc/bacula > if test ! -d /var/bacula/working ; then \ > ./autoconf/mkinstalldirs /var/bacula/working; \ > chmod 770 /var/bacula/working; \ > fi > if test "x" != "x" ; then \ > chown /var/bacula/working; \ > fi > if test "x" != "x" ; then \ > chgrp /var/bacula/working; \ > fi > make[1]: Entering directory `/usr/local/bacula-2.2.7/src' > make[1]: Nothing to be done for `install'. > make[1]: Leaving directory `/usr/local/bacula-2.2.7/src' > make[1]: Entering directory `/usr/local/bacula-2.2.7/scripts' > ../autoconf/mkinstalldirs /etc/bacula > ../autoconf/mkinstalldirs /sbin > ../autoconf/mkinstalldirs /etc/bacula > ../autoconf/mkinstalldirs /usr/share/man > /usr/local/bacula-2.2.7/autoconf/install-sh -c -m 0754 startmysql > /etc/bacula/startmysql /usr/local/bacula-2.2.7/autoconf/install-sh -c -m > 0754 stopmysql /etc/bacula/stopmysql > /usr/local/bacula-2.2.7/autoconf/install-sh -c -m 0754 bconsole > /etc/bacula/bconsole /usr/local/bacula-2.2.7/autoconf/install-sh -c -m 0754 > gconsole /etc/bacula/gconsole /usr/local/bacula-2.2.7/autoconf/install-sh > -c -m 0754 bacula /etc/bacula/bacula > /usr/local/bacula-2.2.7/autoconf/install-sh -c -m 0754 bacula-ctl-dir > /etc/bacula/bacula-ctl-dir /usr/local/bacula-2.2.7/autoconf/install-sh -c > -m 0754 bacula-ctl-fd /etc/bacula/bacula-ctl-fd > /usr/local/bacula-2.2.7/autoconf/install-sh -c -m 0754 bacula-ctl-sd > /etc/bacula/bacula-ctl-sd ==> Saving existing mtx-changer to > mtx-changer.old > /usr/local/bacula-2.2.7/autoconf/install-sh -c -m 0754 mtx-changer > /etc/bacula/mtx-changer ==> Saving existing disk-changer to > disk-changer.old > /usr/local/bacula-2.2.7/autoconf/install-sh -c -m 0754 disk-changer > /etc/bacula/disk-changer ==> Saving existing dvd-handler to dvd-handler.old > /usr/local/bacula-2.2.7/autoconf/install-sh -c -m 0754 dvd-handler > /etc/bacula/dvd-handler /usr/local/bacula-2.2.7/autoconf/install-sh -c -m > 644 traceback.gdb /etc/bacula/btraceback.gdb > /usr/local/bacula-2.2.7/autoconf/install-sh -c -m 644 traceback.dbx > /etc/bacula/btraceback.dbx chmod 0644 /etc/bacula/btraceback.gdb \ > /etc/bacula/btraceback.dbx > /usr/local/bacula-2.2.7/autoconf/install-sh -c -m 0754 btraceback > /sbin/btraceback make[1]: Leaving directory > `/usr/local/bacula-2.2.7/scripts' > make[1]: Entering directory `/usr/local/bacula-2.2.7/src/lib' > make[1]: Nothing to be done for `install'. > make[1]: Leaving directory `/usr/local/bacula-2.2.7/src/lib' > make[1]: Entering directory `/usr/local/bacula-2.2.7/src/findlib' > make[1]: Nothing to be done for `install'. > make[1]: Leaving directory `/usr/local/bacula-2.2.7/src/findlib' > make[1]: Entering directory `/usr/local/bacula-2.2.7/src/filed' > make[1]: *** No rule to make target `../lib/libbac.a', needed by > `bacula-fd'. Stop. make[1]: Leaving directory > `/usr/local/bacula-2.2.7/src/filed' > make[1]: Entering directory `/usr/local/bacula-2.2.7/src/console' > make[1]: *** No rule to make target `../lib/libbac.a', needed by > `bconsole'. Stop. make[1]: Leaving directory > `/usr/local/bacula-2.2.7/src/console' > make[1]: Entering directory `/usr/local/bacula-2.2.7/manpages' > /usr/local/bacula-2.2.7/autoconf/mkinstalldirs //usr/share/man/man8 > for I in bacula.8 bacula-dir.8 bacula-fd.8 bacula-sd.8 bconsole.8 bcopy.8 > bextract.8 bls.8 bscan.8 btape.8 btraceback.8 dbcheck.8; \ do (/usr/bin/rm > -f $I.gz; gzip -c $I >$I.gz; \ > /usr/local/bacula-2.2.7/autoconf/install-sh -c -m 644 $I.gz > /usr/share/man/man8/$I.gz; \ rm -f $I.gz); \ > done > /usr/local/bacula-2.2.7/autoconf/mkinstalldirs //usr/share/man/man1 > for I in bacula-bgnome-console.1 bacula-tray-monitor.1 bacula-bwxconsole.1 > bsmtp.1 bat.1; \ do (/usr/bin/rm -f $I.gz; gzip -c $I >$I.gz; \ > /usr/local/bacula-2.2.7/autoconf/install-sh -c -m 644 $I.gz > /usr/share/man/man1/$I.gz; \ rm -f $I.gz); \ > done > make[1]: Leaving directory `/usr/local/bacula-2.2.7/manpages' > > # > Thanks. > > Marconi de Souza Leite ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel