[Bacula-users] Compile Error - make install-autostart

2009-04-28 Thread agentc...@heartslc.com

I am compiling bacula for a package and am using DESTDIR.  I am running
Slackware 12.1 kernel 2.6.24.5.  Here’s my error:

r...@jabba:/tmp/SBo/bacula-3.0.0# make install-autostart
DESTDIR=/tmp/SBo/package-bacula/
(cd platforms && make DESTDIR=/tmp/SBo/package-bacula/ install-autostart ||
exit 1)
make[1]: Entering directory `/tmp/SBo/bacula-3.0.0/platforms'
make[2]: Entering directory `/tmp/SBo/bacula-3.0.0/platforms/slackware'
sh ./local-install.sh install /tmp/SBo/package-bacula/
Installing Bacula autostart into /tmp/SBo/package-bacula//etc/rc.d/rc.local:
Bacula autostart section appears to be already installed.
If you have changed the configuration, make uninstall-autostart
then make install-autostart again.

/usr/bin/ginstall: cannot stat `rc.bacula-fd': No such file or directory
make[2]: *** [install-autostart-fd] Error 1
make[2]: Leaving directory `/tmp/SBo/bacula-3.0.0/platforms/slackware'
make[1]: *** [install-autostart] Error 2
make[1]: Leaving directory `/tmp/SBo/bacula-3.0.0/platforms'
make: *** [install-autostart] Error 1

I also ran it in debug, here’s a snippet.

Trying pattern rule with stem `install-autostart'.
 Rejecting impossible implicit prerequisite `install-autostart.c'.
 Trying pattern rule with stem `install-autostart'.
 Rejecting impossible implicit prerequisite `install-autostart.cc'.
 Trying pattern rule with stem `install-autostart'.
 Rejecting impossible implicit prerequisite `install-autostart.C'.
 Trying pattern rule with stem `install-autostart'.
 Rejecting impossible implicit prerequisite `install-autostart.cpp'.
 Trying pattern rule with stem `install-autostart'.
 Rejecting impossible implicit prerequisite `install-autostart.p'.
 Trying pattern rule with stem `install-autostart'.
 Rejecting impossible implicit prerequisite `install-autostart.f'.
 Trying pattern rule with stem `install-autostart'.
 Rejecting impossible implicit prerequisite `install-autostart.F'.
 Trying pattern rule with stem `install-autostart'.
 Rejecting impossible implicit prerequisite `install-autostart.r'.
 Trying pattern rule with stem `install-autostart'.
 Rejecting impossible implicit prerequisite `install-autostart.s'.
 Trying pattern rule with stem `install-autostart'.
 Rejecting impossible implicit prerequisite `install-autostart.S'.
 Trying pattern rule with stem `install-autostart'.
 Rejecting impossible implicit prerequisite `install-autostart.mod'.
 Trying pattern rule with stem `install-autostart'.
 Trying implicit prerequisite `install-autostart.sh'.
 Looking for a rule with intermediate file `install-autostart.sh'.
  Avoiding implicit rule recursion.
  Trying pattern rule with stem `install-autostart.sh'.
  Trying implicit prerequisite `install-autostart.sh,v'.
  Trying pattern rule with stem `install-autostart.sh'.
  Trying implicit prerequisite `RCS/install-autostart.sh,v'.
  Trying pattern rule with stem `install-autostart.sh'.
  Trying implicit prerequisite `RCS/install-autostart.sh'.
  Trying pattern rule with stem `install-autostart.sh'.
  Trying implicit prerequisite `s.install-autostart.sh'.
  Trying pattern rule with stem `install-autostart.sh'.
  Trying implicit prerequisite `SCCS/s.install-autostart.sh'.
 No implicit rule found for `install-autostart'.
  Considering target file `install-autostart-fd'.
   File `install-autostart-fd' does not exist.
Considering target file `install-autostart-rc'.
 File `install-autostart-rc' does not exist.
 Finished prerequisites of target file `install-autostart-rc'.
Must remake target `install-autostart-rc'.
make[2]: Entering directory `/tmp/SBo/bacula-3.0.0/platforms/slackware'
Putting child 0x0807bca8 (install-autostart-rc) PID 15870 on the chain.
Live child 0x0807bca8 (install-autostart-rc) PID 15870
Reaping winning child 0x0807bca8 PID 15870
sh ./local-install.sh install /tmp/SBo/package-bacula/
Installing Bacula autostart into /tmp/SBo/package-bacula//etc/rc.d/rc.local:
Live child 0x0807bca8 (install-autostart-rc) PID 15871
Bacula autostart section appears to be already installed.
If you have changed the configuration, make uninstall-autostart
then make install-autostart again.

Reaping winning child 0x0807bca8 PID 15871
Removing child 0x0807bca8 PID 15871 from chain.
Successfully remade target file `install-autostart-rc'.
   Finished prerequisites of target file `install-autostart-fd'.
  Must remake target `install-autostart-fd'.
/usr/bin/ginstall: cannot stat `rc.bacula-fd': No such file or directory
Putting child 0x0807bca8 (install-autostart-fd) PID 15873 on the chain.
Live child 0x0807bca8 (install-autostart-fd) PID 15873
Reaping losing child 0x0807bca8 PID 15873
make[2]: *** [install-autostart-fd] Error 1
Removing child 0x0807bca8 PID 15873 from chain.
make[2]: Leaving directory `/tmp/SBo/bacula-3.0.0/platforms/slackware'
Reaping losing child 0x0807bfc0 PID 15867
make[1]: *** [install-autostart] Error 2
Removing child 0x0807bfc0 PID 15867 from chain.
make[1]: Leavi

Re: [Bacula-users] Compile Error - make install-autostart

2009-04-28 Thread agentc...@heartslc.com

I have figured out why it's happening but i have no idea where along the
process where this should happen.

in the in the source directory under platforms/slackware i have the
following files.
Makefile
Makefile.in
functions.bacula
functions.bacula.in
local-install.sh*
rc.bacula-dir.in
rc.bacula-fd.in
rc.bacula-sd.in

Once i rename rc.bacula-fd.in to rc.bacula-fd it continues on but fails on
the next one.
-- 
View this message in context: 
http://www.nabble.com/Compile-Error---make-install-autostart-tp23282592p23283243.html
Sent from the Bacula - Users mailing list archive at Nabble.com.


--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Compile Error - make install-autostart

2009-04-28 Thread agentc...@heartslc.com

I've figured out that those files are created during the configure process. 
However they are removed during the "Cleaning up" portion of the configure
script.
-- 
View this message in context: 
http://www.nabble.com/Compile-Error---make-install-autostart-tp23282592p23284559.html
Sent from the Bacula - Users mailing list archive at Nabble.com.


--
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users