Bacula-users

Re: [Bacula-users] Compiling on AIX

2008-06-09 20:38:58
Subject: Re: [Bacula-users] Compiling on AIX
From: Rupen Momaya <rupen AT netmagicsolutions DOT com>
To: "V. Lanny Rosicky" <lanny.rosicky AT gmail DOT com>
Date: Mon, 09 Jun 2008 17:35:26 +0530
Hi All,
I am facing a similar error as below. I dont have any error with ./configure --enable-client-only output. 
Below is the error after running GNU make :
Has someone found a solution??

-------------------------------------------------------
==>Entering directory /home/netmagic/bacula-2.2.8/src
make[1]: Entering directory `/home/netmagic/bacula-2.2.8/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/netmagic/bacula-2.2.8/src'
==>Entering directory /home/netmagic/bacula-2.2.8/scripts
make[1]: Entering directory `/home/netmagic/bacula-2.2.8/scripts'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/netmagic/bacula-2.2.8/scripts'
==>Entering directory /home/netmagic/bacula-2.2.8/src/lib
make[1]: Entering directory `/home/netmagic/bacula-2.2.8/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 `/home/netmagic/bacula-2.2.8/src/lib'

  ====== Error in /home/netmagic/bacula-2.2.8/src/lib ======

==>Entering directory /home/netmagic/bacula-2.2.8/src/findlib
make[1]: Entering directory `/home/netmagic/bacula-2.2.8/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 drivety
pe.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 `/home/netmagic/bacula-2.2.8/src/findlib'

  ====== Error in /home/netmagic/bacula-2.2.8/src/findlib ======

==>Entering directory /home/netmagic/bacula-2.2.8/src/filed
make[1]: Entering directory `/home/netmagic/bacula-2.2.8/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 `/home/netmagic/bacula-2.2.8/src/filed'

  ====== Error in /home/netmagic/bacula-2.2.8/src/filed ======

==>Entering directory /home/netmagic/bacula-2.2.8/src/console
make[1]: Entering directory `/home/netmagic/bacula-2.2.8/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 `/home/netmagic/bacula-2.2.8/src/console'



  ====== Error in /home/netmagic/bacula-2.2.8/src/console ======


==>Entering directory /home/netmagic/bacula-2.2.8/manpages
make[1]: Entering directory `/home/netmagic/bacula-2.2.8/manpages'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/netmagic/bacula-2.2.8/manpages'
-------------------------------------------------------

Regards
Rupen


V. Lanny Rosicky wrote:
I received messages during (g)make  which I did not before such as

====== Error in /opt/freeware/src/packages/SOURCES/bacula-2.2.6/src/
console ======
      
On 2-Jan-08, at 18:47 , Jason A. Kates wrote:

  
Can you send the results of
gmake
As that's the issue I see if I run "gmake install\n" without first
having run
"gmake\n" first.
			Thanks -Jason


On Wed, 2008-01-02 at 18:42 +0100, V. Lanny Rosicky wrote:
    
On 2-Jan-08, at 17:48 , Martin Simmons wrote:

      
On Wed, 2 Jan 2008 13:18:42 +0100, V Lanny Rosicky said:
                  
On 2-Jan-08, at 12:14 , Martin Simmons wrote:

          
On Thu, 27 Dec 2007 23:52:42 +0100, V Lanny Rosicky said:
                      
I am trying to install on AIX 5.3.0 running make install after
configuring thusly

./configure --enable-client-only

after

make install I get

make: Cannot find a rule to create target ../findlib/libfind.a  
from
dependencies.
              
It probably didn't build libfind.a for some reason.

Did you run ``make'' before ``make install''?  That is necessary.

__Martin
            
Yes, I did make but it did not do anything but say  target  
".PATH" is
up to date.

After make distclean I get

Stop.
make: The error code from the last command is 1.
          
.PATH is not real target, so something is confused.  Is this IBM's
make?  My
guess is that you'll need to use GNU make (maybe called gmake) to
build
Bacula.

__Martin

p.s. Please keep the list CCed so everyone can contribute.
        
Sorry about the cc.

Yes, it is AIX 5.3 on IBM RISC

I followed your advice.

I received messages during (g)make  which I did not before such as

====== Error in /opt/freeware/src/packages/SOURCES/bacula-2.2.6/src/
console ======

gmake install messages

make[1]: Leaving directory `/opt/freeware/src/packages/SOURCES/
bacula-2.2.6/scripts'
make[1]: Entering directory `/opt/freeware/src/packages/SOURCES/
bacula-2.2.6/src/lib'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/opt/freeware/src/packages/SOURCES/
bacula-2.2.6/src/lib'
make[1]: Entering directory `/opt/freeware/src/packages/SOURCES/
bacula-2.2.6/src/findlib'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/opt/freeware/src/packages/SOURCES/
bacula-2.2.6/src/findlib'
make[1]: Entering directory `/opt/freeware/src/packages/SOURCES/
bacula-2.2.6/src/filed'
make[1]: *** No rule to make target `../lib/libbac.a', needed by
`bacula-fd'.  Stop.
make[1]: Leaving directory `/opt/freeware/src/packages/SOURCES/
bacula-2.2.6/src/filed'
make[1]: Entering directory `/opt/freeware/src/packages/SOURCES/
bacula-2.2.6/src/console'
make[1]: *** No rule to make target `../lib/libbac.a', needed by
`bconsole'.  Stop.
make[1]: Leaving directory `/opt/freeware/src/packages/SOURCES/
bacula-2.2.6/src/console'
make[1]: Entering directory `/opt/freeware/src/packages/SOURCES/
bacula-2.2.6/manpages'
/opt/freeware/src/packages/SOURCES/bacula-2.2.6/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; \
     /opt/freeware/src/packages/SOURCES/bacula-2.2.6/autoconf/ 
install-
sh -c -m 644 $I.gz /usr/share/man/man8/$I.gz; \
     rm -f $I.gz); \
done
/opt/freeware/src/packages/SOURCES/bacula-2.2.6/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; \
     /opt/freeware/src/packages/SOURCES/bacula-2.2.6/autoconf/ 
install-
sh -c -m 644 $I.gz /usr/share/man/man1/$I.gz; \
     rm -f $I.gz); \





-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
      
-- 
----------------------------------------------------------------------------
Jason A. Kates (jason AT kates DOT org)
Fax:    208-975-1514
Phone:  212-400-1670 x2
= 
= 
= 
= 
= 
= 
======================================================================


    

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

  
   


--
**************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. NetMagic Solutions Pvt. Ltd. has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. NetMagic Solutions Pvt. Ltd. reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the NetMagic Solutions Pvt. Ltd.'s e-mail system. ***************** End of Disclaimer *******************

   
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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>