On Friday, May 22, 2015 at 11:48:49 AM UTC+1, Marco van Wieringen wrote:
> On 05/22/15 12:41 PM, G Jo wrote:
> >
> > Hi Marco,
> >
> > Thanks for pointing me towards the command line compilation documentation. 
> >
> > A couple of iterations of attempting to use the configure command in the 
> > Howto Compile section led to getting a version that completed successfully 
> > with the following changes:
> >
> > 1. Added path to postgresql base dir 
> > --with-postgresql=/usr/pgsql-9.4 \
> Yes the normal configure uses the system version of postgresql.
> 
> > 2. Removed the 3 switches based on errors they caused and intention to use 
> > postgres as backend db for bareos.
> >
> > --enable-acl \
> >   --with-mysql \
> >   --with-sqlite3 \
> For enable-acl you need libacl-devel the others two you can indeed skip as
> you don't need them, for gettingthing to work you can probably even do a
> --enable-client-only but given you already have the restworking it might
> not be wise to change to much. With these setting you are close to how
> things
> are normally build for most platforms.
> 
> > 3. This left the following configure command which completes successfully.
> >
> > ./configure   --prefix=/usr \
> >   --sbindir=/usr/sbin \
> >   --with-sbin-perm=755 \
> >   --sysconfdir=/etc/bareos \
> >   --with-archivedir=/var/lib/bareos/storage \
> >   --with-scriptdir=/usr/lib/bareos/scripts \
> >   --with-plugindir=/usr/lib/bareos/plugins \
> >   --with-working-dir=/var/lib/bareos \
> >   --with-pid-dir=/var/lib/bareos \
> >   --with-bsrdir=/var/lib/bareos \
> >   --with-logdir=/var/log/bareos \
> >   --with-subsys-dir=/var/lock \
> >   --enable-smartalloc \
> >   --disable-conio \
> >   --enable-readline \
> >   --enable-batch-insert \
> >   --enable-dynamic-cats-backends \
> >   --enable-bat \
> >   --enable-traymonitor \
> >   --enable-xattr \
> >   --enable-scsi-crypto \
> >   --enable-ndmp \
> >   --enable-ipv6 \
> >   --with-postgresql=/usr/pgsql-9.4 \
> >   --with-tcp-wrappers \
> >   --with-openssl \
> >   --with-dir-user=${DIRECTOR_DAEMON_USER} \
> >   --with-dir-group=${DAEMON_GROUP} \
> >   --with-sd-user=${STORAGE_DAEMON_USER} \
> >   --with-sd-group=${STORAGE_DAEMON_GROUP} \
> >   --with-fd-user=${FILE_DAEMON_USER} \
> >   --with-fd-group=${DAEMON_GROUP} \
> >   --with-dir-password="Evolve" \
> >   --with-fd-password="Evolve" \
> >   --with-sd-password="Evolve" \
> >   --with-mon-dir-password="Evolve" \
> >   --with-mon-fd-password="Evolve" \
> >   --with-mon-sd-password="Evolve" \
> >   --with-basename="BackupServer" \
> >   --with-hostname="BackupServer" \
> >   --enable-includes
> >
> > 4.  Once I added the openssl-devel yum I got past the TLS_CONTEXT error in 
> > a subsequent make.
> Correct as then it will use tls_openssl.c and not tls_none.c
> 
> > 5. Unfortunately the make step then fails with the following error
> >
> > make -C src/qt-console
> > make[1]: Entering directory `/root/bareos-master/src/qt-console'
> > make[1]: *** No targets specified and no makefile found.  Stop.
> > make[1]: Leaving directory `/root/bareos-master/src/qt-console'
> > make: *** [src/qt-console] Error 2
> >
> > Would you have any idea what configuration I am missing here?
> >
> > I had to install  the PyQt4-devel.x86_64 yum to fix a previous configure 
> > step error i.e “configure: error: Unable to find suitable Qt4 installation 
> > needed by bat”
> Yes just disable bat e.g. replace --enable-bat with --disable-bat
> 
> -- 
> Marco van Wieringen                   [email protected]
> Bareos GmbH & Co. KG                  Phone: +49-221-63069389
> http://www.bareos.com                     
> 
> Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
> Komplementär: Bareos Verwaltungs-GmbH
> Geschäftsführer: Stephan Dühr, M. Außendorf, J. Steffens,
>                  P. Storz, M. v. Wieringen

Hi Marco,

Apologies for the delay in getting back to you regarding this but i've been out 
of the office for most of the week.

I just wanted to let you know that i finally got bareos (and the pgsql-plugin) 
to build from source guided of course by all your invaluable help.

I would never have gotten this to build without your assistance so i would just 
like to take the opportunity to say once again thank very much for taking the 
time and effort to help me out.

Regards,
George

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to