Hi Chris, I had to delete some of the history of this email as there is
a 40KB max size for submissions so my response got held.
Some of your .configure options are different from mine so I just ran
the same commands as you did and I got the same error that you did.
I noticed you had run make -n and that is a dry run without executing
anything.
I believe, although don't know for sure, that some parts of bacula build
will be using the results of an earlier part, so if you do a dry run
those parts won't be available.
So I ran my ./configure followed by make -n and got the same error.
Cleared everything and started again and this time ran make -j$(nproc)
and everything built fine.
Then tried your configure again but with make -j$(nproc) and everything,
including findlib, built without a problem.
Regards,
Adolf.
On 02/09/2023 10:21, Chris Wilkinson wrote:
Thanks for confirming that.
When compiling with --enable-client-only I get the following error
from make
$ sudo bash make-client-only.sh
...
echo "Making libbacfind.la <http://libbacfind.la> ..."
/usr/src/bacula-11.0.6/libtool --silent --tag=CXX --mode=link
/usr/bin/g++ -o libbacfind.la <http://libbacfind.la> find.lo match.lo
find_one.lo attribs.lo create_file.lo bfile.lo drivetype.lo
enable_priv.lo fstype.lo mkpath.lo savecwd.lo namedpipe.lo
win32filter.lo -export-dynamic -rpath /usr/lib -release 11.0.6
make[1]: *** No rule to make target '../lib/libbac.la
<http://libbac.la>', needed by 'all'. Stop.
make[1]: Leaving directory '/usr/src/bacula-11.0.6/src/findlib'
====== Error in /usr/src/bacula-11.0.6/src/findlib ======
Up to this point there are no errors
#include file make-client-only.sh
cd /usr/src/bacula-11.0.6
CFLAGS="-g -O2"
./configure \
--with-readline=/usr/include/readline \
--disable-conio \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--with-scriptdir=/etc/bacula/scripts \
--with-working-dir=/var/lib/bacula \
--with-logdir=/var/log/bacula \
--enable-smartalloc \
--with-systemd \
--with-job-email=winstonia...@gmail.com \
--with-hostname=nuc4 \
--with-fd-user=root \
--with-fd-group=root \
--with-sbin-perm=755 \
--with-pid-dir=/var/run/bacula \
--enable-client-only
make -n
echo "make done"
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users