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?

Al

On 6/13/20 12:55 PM, r0...@nxlplyx.com wrote:
> Ah, so that's how it works.
>
> Some of the website postings said to look for '.pro' files, etc. I was
> getting lost.
>
> Thank you Gary.
>
> Al
>
> On 6/13/20 8:40 AM, Gary R. Schmidt wrote:
>> On 13/06/2020 22:26, r0...@nxlplyx.com wrote:
>>> This is a noob question.
>>>
>>> I believe, the ./configure script uses the PREFIX value to set the
>>> installation directory.
>>>
>>> I am concerned that I may set PREFIX as a system-wide setting that is
>>> used by other computer programs I try to compile.
>>>
>>> Can anyone tell me how and where, in the Bacula 9.6.5 compilation
>>> system, can I set the value of PREFX = /opt/bacula , so that it only
>>> affects the Bacula 9.6.5 compilation?
>>>
>> ./configure --prefix=/opt/bacula
>>
>> The "--prefix" flag is a default autoconf/automake option.
>>
>>     Cheers,
>>         Gary    B-)
>>
>>
>> _______________________________________________
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


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

Reply via email to