I really can't say enough good things about Darwin Ports. I had my
bacula daemon up and running in under an hour, and most of that time
was spent compiling it. http://bacula.darwinports.com/ has the basics
on getting it and installing it. I'm trying to find the site I used
that had almost step-by-step instructions on getting it going.
Bill Moran wrote:
On Sat, 8 Apr 2006 21:22:26 -0500
Erich Prinz <[EMAIL PROTECTED]> wrote:
Once I figured out the appropriate configure options, it was a snap.
./configure \
--enable-smartalloc \
--sbindir=/usr/sbin \
--with-pid-dir=/var/run \
--with-subsys-dir=/var/run/subsys \
--with-mysql=/usr/local/mysql \
--with-working-dir=/etc/bacula/working \
--with-dir-password= \
--with-sd-password= \
--with-fd-password= \
[EMAIL PROTECTED] \
--with-smtp-host=server.domain.com \
--with-baseport=9101
Well. I'm having some problems and I hope you can help me. configure
succeeds, although I used a slightly different set of options:
./configure \
--enable-smartalloc \
--sbindir=/usr/sbin \
--with-pid-dir=/var/run \
--with-subsys-dir=/var/run/subsys \
--with-working-dir=/etc/bacula/working \
--enable-client-only \
--with-dir-password= \
--with-sd-password= \
--with-fd-password= \
--with-job-email=[snip] \
--with-smtp-host=[snip] \
--with-baseport=9101
This machine has no database on it whatsoever, so I'd prefer not to
bother with anything but the client (i.e. fd).
DT is installed, and I created the directories you mentioned, but I get
the following output during make:
[no errors to this point]
==== Make of lib is good ====
==>Entering directory /Users/bill/bacula-1.38.7/src/findlib
/usr/bin/g++ -c -I. -I.. -g -O2 -Wall find.c
/usr/bin/g++ -c -I. -I.. -g -O2 -Wall match.c
/usr/bin/g++ -c -I. -I.. -g -O2 -Wall find_one.c
/usr/bin/g++ -c -I. -I.. -g -O2 -Wall attribs.c
attribs.c: In function `bool set_attributes(JCR*, ATTR*, BFILE*)':
attribs.c:351: error: `lchown' undeclared (first use this function)
attribs.c:351: error: (Each undeclared identifier is reported only once for
each function it appears in.)
make[1]: *** [attribs.o] Error 1
====== Error in /Users/bill/bacula-1.38.7/src/findlib ======
==>Entering directory /Users/bill/bacula-1.38.7/src/filed
/usr/bin/g++ -c -I. -I.. -g -O2 -Wall filed.c
/usr/bin/g++ -c -I. -I.. -g -O2 -Wall authenticate.c
/usr/bin/g++ -c -I. -I.. -g -O2 -Wall acl.c
acl.c:164:21: sys/acl.h: No such file or directory
acl.c: In function `int bacl_get(JCR*, int)':
acl.c:188: error: `acl_t' undeclared (first use this function)
acl.c:188: error: (Each undeclared identifier is reported only once for each
function it appears in.)
acl.c:188: error: parse error before `;' token
acl.c:190: error: `acl_type_t' undeclared (first use this function)
acl.c:190: error: parse error before `;' token
acl.c:193: error: `ostype' undeclared (first use this function)
acl.c:193: error: `ACL_TYPE_DEFAULT' undeclared (first use this function)
acl.c:193: error: `ACL_TYPE_ACCESS' undeclared (first use this function)
acl.c:195: error: `acl' undeclared (first use this function)
acl.c:195: error: `acl_get_file' undeclared (first use this function)
acl.c:197: error: `acl_to_text' undeclared (first use this function)
acl.c:199: error: `acl_free' undeclared (first use this function)
acl.c: In function `int bacl_set(JCR*, int)':
acl.c:217: error: parse error before `;' token
acl.c:224: error: `acl_delete_def_file' undeclared (first use this function)
acl.c:230: error: `acl_from_text' undeclared (first use this function)
acl.c:240: error: `acl_valid' undeclared (first use this function)
acl.c:246: error: `acl_set_file' undeclared (first use this function)
make[1]: *** [acl.o] Error 1
====== Error in /Users/bill/bacula-1.38.7/src/filed ======
==>Entering directory /Users/bill/bacula-1.38.7/src/console
/usr/bin/g++ -c -I. -I.. -g -O2 -Wall console.c
/usr/bin/g++ -c -I. -I.. -g -O2 -Wall console_conf.c
/usr/bin/g++ -c -I. -I.. -g -O2 -Wall authenticate.c
/usr/bin/g++ -c -I. -I.. -g -O2 -Wall conio.c
/usr/bin/g++ -O -L../lib -L../cats -o bconsole console.o console_conf.o authent
icate.o conio.o \
-ltermcap -lbac -lm -lpthread -lintl \
==== Make of console is good ====
Does anyone have any suggestions on how to get the fd to compile?
This is on Mac OS 10.4.6
--
Dan Rich <[EMAIL PROTECTED]> | http://www.employees.org/~drich/
| "Step up to red alert!" "Are you sure, sir?
| It means changing the bulb in the sign..."
| - Red Dwarf (BBC)
|
signature.asc
Description: OpenPGP digital signature