"make install" always does a "make" when the things that should be
installed are not there. This is why the compiler errors occur. On my
SuSE system I also encountered this problem and I installed the
"ncurses-devel" and "termcap" packets and then bacula was compiled
without errors.
Greetings,
Tobias Barth
Web Arts AG
Max-Planck-Str. 9
61381 Friedrichsdorf
-------------------------------
Tel.: +49.6172.599833
Fax : +49.6172.599830
[EMAIL PROTECTED]
www.web-arts.com
-------------------------------
Content Management für den Mittelstand:
http://cira.web-arts.de
Kern Sibbald schrieb:
On Thursday 24 March 2005 21:45, Tom Plancon wrote:
Hi all,
I'm attempting to build 1.36.2 on RH9 from source. Very green at this so
bear with me. Here is my configure script:
#!/bin/sh
# Tom's config script on Emperor
CFLAGS="-g -Wall" ./configure \
--prefix=/usr \
--sbindir=/usr/sbin \
--sysconfdir=/etc/bacula \
--with-scriptdir=/etc/bacula \
--enable-smartalloc \
--enable-gnome \
--with-postgresql \
--with-working-dir=/var/bacula \
--with-pid-dir=/var/run \
--with-subsys-dir=/var/lock/subsys \
--enable-conio
Above was modified from the sample "traditional RedHat Linux install"
script in the manual.
Everything seemed OK until "make install" when I got the following
errors, culled from the whole log:
Well, you skipped over the "make" step.
make[1]: *** No rule to make target `../findlib/libfind.a', needed by
`bacula-fd'. Stop.
....
make[1]: *** No rule to make target `../lib/libbac.a', needed by
`bconsole'. Stop.
make[1]: Leaving directory `/bacula-1.36.2/src/console'
....
make[1]: *** No rule to make target `../lib/libbac.a', needed by
`bacula-dir'.
Stop.
....
make[1]: *** No rule to make target `../lib/libbac.a', needed by
`bacula-sd'. Stop.
...
make[1]: Entering directory `/bacula-1.36.2/src/tools'
g++ -c -I. -I.. -g -Wall bsmtp.c
make[1]: *** No rule to make target `../lib/libbac.a', needed by
`bsmtp'. Stop.make[1]: Leaving directory `/bacula-1.36.2/src/tools'
make: *** [install] Error 1
Any suggestions are appreciated! Thanks.
|
- Re: [Bacula-users] Build from source errors Tobias Barth
-