Hi. Sorry for my English.

I Install bacula-fd on AIX  (7.0.3)

mkdir -p /etc/bacula/bin/working

mkdir /etc/bacula/working

Install VAC (Visual Age C)

Install gettext-devel-0.17-1.aix5.1.ppc.rpm

export PATH=/usr/vacpp/bin:/usr/ccs/lib:$PATH

export CXX=xlC

export CC=xlc

export CPPFLAGS=-+

edit src/lib/bsys.c  and comment: initgroups and function


./configure --enable-client-only --enable-largefile --enable-readline
--sbindir=/etc/bacula/bin --sysconfdir=/etc/bacula/bin
--with-pid-dir=/etc/bacula/bin/working
--with-subsys-dir=/etc/bacula/bin/working
--with-working-dir=/etc/bacula/working --disable-build-dird
--disable-build-stored --disable-libtool

make

make install





On Mon, Apr 2, 2018 at 1:04 PM, Mike Eggleston <mike.eggles...@firstcash.com
> wrote:

> My output from that configuration is:
>
>
>
> hosback:meggle1:/tmp/bacula/src/bacula-9.0.6> make
>
> ==>Entering directory /tmp/bacula/src/bacula-9.0.6/src
>
> Target "all" is up to date.
>
> ==>Entering directory /tmp/bacula/src/bacula-9.0.6/scripts
>
> Target "all" is up to date.
>
> ==>Entering directory /tmp/bacula/src/bacula-9.0.6/src/lib
>
> Compiling attr.c
>
> /usr/vacpp/bin/xlC_r: 1501-291 (I) Utilization tracking message: Message
> with component 6 and id 27 not found in catalog vacumsg.cat
>
> "../baconfig.h", line 500.1: 1506-166 (S) Definition of function class
> requires parentheses.
>
> "../baconfig.h", line 500.7: 1506-276 (S) Syntax error: possible missing
> '{'?
>
> "../baconfig.h", line 636.46: 1506-045 (S) Undeclared identifier ch.
>
> "../baconfig.h", line 638.20: 1506-343 (S) Redeclaration of
> first_path_separator differs from previous declaration on line 637 of
> "../baconfig.h".
>
> "../baconfig.h", line 638.20: 1506-050 (I) Return type "const char*" in
> redeclaration is not compatible with the previous return type "char*".
>
> "../baconfig.h", line 722.15: 1506-166 (S) Definition of function bool
> requires parentheses.
>
> "../baconfig.h", line 722.15: 1506-691 (W) The inline keyword can only be
> applied to functions.
>
> "../baconfig.h", line 722.20: 1506-276 (S) Syntax error: possible missing
> '{'?
>
> "../lib/smartall.h", line 81.33: 1506-277 (S) Syntax error: possible
> missing ')' or ','?
>
> "../lib/smartall.h", line 151.1: 1506-166 (S) Definition of function class
> requires parentheses.
>
> "../lib/smartall.h", line 151.7: 1506-275 (S) Unexpected text SMARTALLOC
> encountered.
>
> "../lib/smartall.h", line 154.7: 1506-275 (S) Unexpected text 'void'
> encountered.
>
> "../lib/smartall.h", line 154.13: 1506-045 (S) Undeclared identifier
> operator.
>
> "../lib/smartall.h", line 154.22: 1506-277 (S) Syntax error: possible
> missing ';' or ','?
>
> "../lib/smartall.h", line 155.20: 1506-045 (S) Undeclared identifier s.
>
> "../lib/smartall.h", line 159.22: 1506-276 (S) Syntax error: possible
> missing '{'?
>
> "../lib/smartall.h", line 164.13: 1506-160 (S) Object operator cannot be
> declared as type void.
>
> "../lib/smartall.h", line 164.22: 1506-276 (S) Syntax error: possible
> missing '{'?
>
> "../lib/smartall.h", line 165.16: 1506-045 (S) Undeclared identifier ptr.
>
> "../lib/smartall.h", line 167.13: 1506-160 (S) Object operator cannot be
> declared as type void.
>
> "../lib/smartall.h", line 167.22: 1506-276 (S) Syntax error: possible
> missing '{'?
>
> "../lib/smartall.h", line 168.16: 1506-045 (S) Undeclared identifier ptr.
>
> "../lib/lockmgr.h", line 281.1: 1506-166 (S) Definition of function class
> requires parentheses.
>
> "../lib/lockmgr.h", line 281.7: 1506-275 (S) Unexpected text lock_guard
> encountered.
>
> "../lib/lockmgr.h", line 285.20: 1506-276 (S) Syntax error: possible
> missing ':'?
>
> "../lib/lockmgr.h", line 287.58: 1506-045 (S) Undeclared identifier mutex.
>
> "../lib/lockmgr.h", line 289.7: 1506-280 (W) Function argument assignment
> between types "struct {...}*" and "int(*)()" is not allowed.
>
> "../lib/lockmgr.h", line 293.4: 1506-277 (S) Syntax error: possible
> missing ';' or ','?
>
> "../lib/lockmgr.h", line 294.7: 1506-280 (W) Function argument assignment
> between types "struct {...}*" and "int(*)()" is not allowed.
>
> "../lib/alist.h", line 24.8: 1506-166 (S) Definition of function bool
> requires parentheses.
>
> "../lib/alist.h", line 24.13: 1506-276 (S) Syntax error: possible missing
> '{'?
>
> "../lib/alist.h", line 56.3: 1506-045 (S) Undeclared identifier
> owned_by_alist.
>
> "../lib/alist.h", line 56.20: 1506-045 (S) Undeclared identifier true.
>
> "../lib/alist.h", line 57.3: 1506-045 (S) Undeclared identifier
> not_owned_by_alist.
>
> "../lib/alist.h", line 57.24: 1506-045 (S) Undeclared identifier false.
>
> "../lib/alist.h", line 58.1: 1506-277 (S) Syntax error: possible missing
> ';' or ','?
>
> "../lib/alist.h", line 65.1: 1506-166 (S) Definition of function class
> requires parentheses.
>
> "../lib/alist.h", line 67.11: 1506-045 (S) Undeclared identifier items.
>
> "../lib/alist.h", line 73.9: 1506-275 (S) Unexpected text own_items
> encountered.
>
> "../lib/alist.h", line 73.4: 1506-045 (S) Undeclared identifier bool.
>
> "../lib/alist.h", line 77.13: 1506-275 (S) Unexpected text 'int'
> encountered.
>
> "../lib/alist.h", line 77.17: 1506-045 (S) Undeclared identifier num.
>
> "../lib/alist.h", line 77.33: 1506-276 (S) Syntax error: possible missing
> ')'?
>
> "../lib/mem_pool.h", line 96.30: 1506-041 (E) The invocation of macro
> strcpy contains fewer arguments than are required by the macro definition.
>
> "../lib/mem_pool.h", line 97.30: 1506-041 (E) The invocation of macro
> strcat contains fewer arguments than are required by the macro definition.
>
> make: The error code from the last command is 1.
>
>
>
>
>
> Stop.
>
>
>
>
>
>   ====== Error in /tmp/bacula/src/bacula-9.0.6/src/lib ======
>
>
>
>
>
> make: The error code from the last command is 1.
>
>
>
>
>
> Thanks,
>
> Mike
>
>
>
> *From:* Mike Eggleston
> *Sent:* Monday, April 02, 2018 12:02 PM
> *To:* Kern Sibbald <k...@sibbald.com>; Bacula-users@lists.sourceforge.net
> *Subject:* RE: [Bacula-users] aix binary?
>
>
>
> Kern,
>
>
>
> I don’t mind building it (and have built lots of stuff over the decades).
> Here is my PATH and the command line I’m using. What are you using?
>
>
>
> export PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/meggle1/bin:/
> usr/bin/X11:/sbin:/usr/vacpp/bin
>
>
>
> ./configure --without-TLS --disable-TLS --without-tls --disable-tls
> --without-ssl --disable-ssl --without-crypto --disable-crypto
> --disable-ipv6 --disable-lzo --disable-nls --disable-NLS --disable-readline
> --disable-smartalloc --enable-client-only --with-libtool=no --without-mysql
> --without-smartalloc
>
>
>
> Thanks,
>
> Mike
>
>
>
> *From:* Kern Sibbald [mailto:k...@sibbald.com <k...@sibbald.com>]
> *Sent:* Sunday, April 01, 2018 2:28 AM
> *To:* Mike Eggleston <mike.eggles...@firstcash.com>; Bacula-users@lists.
> sourceforge.net
> *Subject:* Re: [Bacula-users] aix binary?
>
>
>
> Hello,
>
> If no one has one and you are unable to build it (actually rather easy --
> build it directly on AIX but non-static), you can get one from Bacula
> Systems, but you will need a subscription.
>
> Though binary packages are built for the community (thanks to Bacula
> Systems), they are not yet released (waiting for me to do the
> documentation), so some time in the future there is a possibility that we
> could have community binaries for AIX.
>
> Best regards,
>
> Kern
>
>
>
> On 03/06/2018 10:04 PM, Mike Eggleston wrote:
>
> Does anyone have a static bacula-fd for AIX they could send me?
>
>
>
> Thanks,
>
> Mike
>
>
>
>
>
> ------------------------------------------------------------------------------
>
> Check out the vibrant tech community on one of the world's most
>
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
>
> _______________________________________________
>
> Bacula-users mailing list
>
> Bacula-users@lists.sourceforge.net
>
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>


-- 
#############################
#   Sistema Operativo: Debian      #
#        Caracas, Venezuela          #
#############################
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to