On 14/06/2020 11:07, r0...@nxlplyx.com wrote:
On 6/13/20 12:55 PM, r0...@nxlplyx.com wrote:
[SNIP]
I spoke too soon.

This is a Debian 10 install with postgres.

I compiled and installed the S3 module with no errors or warnings.

But the main Bacula 9.6.5 program was different:

It configured with no errors or warnings.

It compiled with no errors or warnings.

However, even with the modified configure with --prefix=/opt/bacula ,
'make install'  installed stuff elsewhere.

What's worse, after the installation, I get a flurry of  "cannot open
mtab" error windows that pop up.

My configure file is:

CFLAGS="-g -O2 -Wall" \
./configure --prefix=/opt/bacula \
--sbindir=${PREFIX}/bin \
--sysconfdir=${PREFIX}/etc \
--docdir=${PREFIX}/html \
--htmldir=${PREFIX}/html \
--with-working-dir=${PREFIX}/working \
--with-pid-dir=${PREFIX}/working \
--with-scriptdir=${PREFIX}/scripts \
--with-plugindir=${PREFIX}/plugins \
--libdir=${PREFIX}/lib \
--enable-smartalloc \
--enable-conio \
--disable-bat \
--with-postgresql \
--with-dump-email=user1@localhost \
--with-job-email=user1@localhost \
--with-smtp-host=mail.localhost \
--with-baseport=9101 \
--with-openssl

Can anyone tell me what I am doing wrong?

First - don't top post, and please trim your replies.

Second, don't over-specify:
./configure CFLAGS="-g -O2 -Wall" \
        --prefix=/opt/bacula \
        --enable-smartalloc \
        --enable-conio \
        --disable-bat \
        --with-postgresql \
        --with-dump-email=user1@localhost \
        --with-job-email=user1@localhost \
        --with-smtp-host=mail.localhost \
        --with-openssl

Is all that you need.

Telling configure to do the default thing is unnecessary. E.g. "--prefix=X" sets PREFIX inside configure, so "sbindir" will become "X/bin", your use of configure led to it being "/bin," etcetera.

        Cheers,
                Gary    B-)


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to