OK, It seems as the I had no errors when I did the configure but errors in the make. Here is what I did and the results #CFLAGS="-g -Wall" \ ./configure \ --sbindir=/opt/bacula/bin \ --sysconfdir=/opt/bacula \ --with-pid-dir=/opt/bacula/bin/working \ --with-subsys-dir=/opt/bacula/bin/working \ --enable-smartalloc \ --enable-client-only \ --with-working-dir=/opt/bacula/bin/working \ [EMAIL PROTECTED] [EMAIL PROTECTED] --with-smtp-host=localhost
In the config.log file I noticed the following, configure:7214: gcc -E conftest.c In file included from conftest.c:37: /opt/hp-gcc-4.1.2/lib/gcc/ia64-hp-hpux11.23/4.1.2/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>." /opt/hp-gcc-4.1.2/lib/gcc/ia64-hp-hpux11.23/4.1.2/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>." configure:7220: $? = 1 configure: failed program was: | /* confdefs.h. */ When I did make, I received the following errors # make ==>Entering directory /opt/bacula/bacula-1.36.3/src ==>Entering directory /opt/bacula/bacula-1.36.3/scripts ==>Entering directory /opt/bacula/bacula-1.36.3/doc ==>Entering directory /opt/bacula/bacula-1.36.3/src/lib g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 alloc.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 attr.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 base64.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 berrno.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 bsys.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 bget_msg.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 bnet.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 bnet_server.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 bpipe.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 bshm.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 btime.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 cram-md5.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 crc32.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 daemon.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 edit.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 fnmatch.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 hmac.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 idcache.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 jcr.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 lex.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 alist.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 dlist.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 md5.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 message.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 mem_pool.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 parse_conf.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 queue.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 rwlock.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 scan.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 serial.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 sha1.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 semlock.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 signal.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 smartall.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 tree.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 util.c util.c: In function 'void make_session_key(char*, char*, int)': util.c:473: error: 'getdomainname' was not declared in this scope *** Error exit code 1 Stop. -e ====== Error in /opt/bacula/bacula-1.36.3/src/lib ====== ==>Entering directory /opt/bacula/bacula-1.36.3/src/findlib g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 find.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 match.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 find_one.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 attribs.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 create_file.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 bfile.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 enable_priv.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 fstype.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 makepath.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 save-cwd.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 winapi.c /usr/bin/rm -f libfind.a /usr/bin/ar cr libfind.a find.o match.o find_one.o attribs.o create_file.o bfile.o enable_priv.o fstype.o makepath.o save-cwd.o winapi.o ranlib libfind.a Make: Don't know how to make ../lib/libbac.a. Stop. -e ====== Error in /opt/bacula/bacula-1.36.3/src/findlib ====== ==>Entering directory /opt/bacula/bacula-1.36.3/src/filed g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 filed.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 authenticate.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 backup.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 estimate.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 filed_conf.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 heartbeat.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 job.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 restore.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 status.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 verify.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 verify_vol.c Make: Don't know how to make ../lib/libbac.a. Stop. -e ====== Error in /opt/bacula/bacula-1.36.3/src/filed ====== ==>Entering directory /opt/bacula/bacula-1.36.3/src/console g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 console.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 console_conf.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 authenticate.c g++ -c -I. -I.. -D_XOPEN_SOURCE_EXTENDED=1 conio.c Make: Don't know how to make ../lib/libbac.a. Stop. -e ====== Error in /opt/bacula/bacula-1.36.3/src/console ====== ==>Entering directory /opt/bacula/bacula-1.36.3/rescue ==>Entering directory /opt/bacula/bacula-1.36.3/rescue/linux Any ideas? Could something be wrong with the Flag in ./configure? Wrong version of gcc? It seems that it is looking for libbac.a. I searched for this file and it was not present. Where would I get this file? TIA Mike Ryan Novosielski wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Sounds right to me... like I said, I did nothing special, but > - --with-client-only (or --enable-client-only, read the configure help as > I don't remember the flag name) is surely what I did since I did not > build a director on that machine. > > Should work fine -- post errors if you get them, as it's hard to predict > with no info. > > =R > > Mike Vasquez wrote: >> Hi. >> >> It would be nice to know the procedures you used to compile HP-UX. I am >> in >> the same situation. I have installed gcc with success. Now, do I get >> the >> src and do a ./configure --with client-only? I am a newbie with bacula >> and >> HP. >> >> TIA >> Mike >> >> >> Ryan Novosielski wrote: >>> Just built it myself on Friday. I believe I used gcc, mainly because >>> some >>> is in c++, and for some reason I didn't have HP's installed. >>> >>> Builds just fine -- no compile errors. >>> >>> -----Original Message----- >>> >>> From: Xeos Laenor <[EMAIL PROTECTED]> >>> Subj: [Bacula-users] HP-UX clients >>> Date: Mon Mar 5, 2007 5:45 am >>> Size: 326 bytes >>> To: bacula-users <bacula-users@lists.sourceforge.net> >>> >>> I use bacula with success on a RhEL4 Server and i need integrate a HP-UX >>> client in order to backup it. >>> Does a binary client exist for HP-UX (v11 for itanium)? >>> if not, have you some advises for compiling bacula-client on HP-UX (from >>> your own experience)? >>> >>> Thanks a lot >>> >>> Franck >>> --- message truncated --- >>> >>> >>> ------------------------------------------------------------------------- >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to share >>> your >>> opinions on IT & business topics through brief surveys-and earn cash >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>> _______________________________________________ >>> Bacula-users mailing list >>> Bacula-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/bacula-users >>> >>> >> > > - -- > ---- _ _ _ _ ___ _ _ _ > |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer III > |$&| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) > \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFGMk+Pmb+gadEcsb4RAmfWAKCA9RI+gsNP9kSkjEIrj5eWPvle2gCZAZw2 > 5Dgh+8fjzVDjPV4pHxJdTh4= > =d6w6 > -----END PGP SIGNATURE----- > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > -- View this message in context: http://www.nabble.com/HP-UX-clients-tf3348023.html#a10256354 Sent from the Bacula - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users