Re: Compilation errors on Macintosh (was [Bacula-users] Bacula FD on Macintosh)

2006-04-12 Thread Stefan Schwietert
Am 10.04.2006 um 21:08 schrieb Bill Moran:Well.  I'm having some problems and I hope you can help me.  configuresucceeds, 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=9101My options were ./configure --enable-client-onlyThe rest defaults.DT is installed, and I created the directories you mentioned, but I getthe following output during make:==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.cacl.c:164:21: sys/acl.h: No such file or directoryThis is the hint. The compiler doesn't find the include files. Check the paths in the make file.You tell us you have the developer tools installed. Perhaps something failed?I compiled it successful under 10.3 and 10.4 without problems. It was just a little bit tricky to create a configuration for launchd. Stefan --  Stefan Schwietert Systembetreuer Ulmer Volkshochschule  

Re: Compilation errors on Macintosh (was [Bacula-users] Bacula FD on Macintosh)

2006-04-10 Thread Bill Moran
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

-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

Re: Compilation errors on Macintosh (was [Bacula-users] Bacula FD on Macintosh)

2006-04-10 Thread Dan Rich




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


Re: Compilation errors on Macintosh (was [Bacula-users] Bacula FD on Macintosh)

2006-04-10 Thread Bill Moran
On Mon, 10 Apr 2006 13:01:54 -0700
Dan Rich [EMAIL PROTECTED] wrote:

 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.

Thanks for the advice, Dan, but Darwin Ports is a complete failure.  I
keep getting libtool related erros while trying to selfupdate.  I suppose
I'll need to subscribe to the darwin ports mailing lists and ask there,
but this is getting rather frustrating.

-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users