I gave up in the end.
I only need the bacula-client so installed with yum, and it works fine with the 
7.4.4 server.
Regards to all
Francis


----- Original Message -----
> From: "Francis The Metman" <themet...@themetman.net>
> To: "themetman" <themet...@themetman.net>
> Cc: "Bacula-users" <Bacula-users@lists.sourceforge.net>
> Sent: Saturday, 5 November, 2016 3:46:16 PM
> Subject: Re: [Bacula-users] Cannot build Client from source - Error in 
> bacula-7.4.4/src/host.h file
> 
> 
> 
> I should have said the OS is CentOS 7. It just compiled OK in Ubuntu
> 14.04
> 
> Francis
> 
> 
> 
> 
> ----- Original Message -----
> 
> From: "themetman" <themet...@themetman.net>
> To: "Bacula-users" <Bacula-users@lists.sourceforge.net>
> Sent: Saturday, 5 November, 2016 13:19:34
> Subject: [Bacula-users] Cannot build Client from source - Error in
> bacula-7.4.4/src/host.h file
> 
> 
> 
> 
> I have got my server up and running fine now, thanks to help from
> this group.
> 
> I am trying to build a client from source using this script:
> 
> 
> CFLAGS="-g -Wall" \
> ./configure \
> --enable-client-only \
> --sbindir=/opt/bacula/bin \
> --sysconfdir=/opt/bacula/etc \
> --with-pid-dir=/opt/bacula/working \
> --with-subsys-dir=/opt/bacula/working \
> --enable-smartalloc \
> --disable-ipv6 \
> --with-working-dir=/opt/bacula/working \
> --with-dump-email=ad...@example.com \
> --with-job-email=ad...@example.com \
> --with-smtp-host=mail.example.com \
> 
> 
> 
> exit 0
> 
> 
> I get this error after running the config script
> 
> 
> ==>Entering directory
> /home/backuppc/Downloads/bacula/bacula-7.4.4/platforms
> make[1]: Entering directory
> `/home/backuppc/Downloads/bacula/bacula-7.4.4/platforms'
> Makefile:24: *** missing separator. Stop.
> make[1]: Leaving directory
> `/home/backuppc/Downloads/bacula/bacula-7.4.4/platforms'
> make: *** [clean] Error 1
> 
> 
> and on issuing make
> 
> 
> ==>Entering directory
> /home/backuppc/Downloads/bacula/bacula-7.4.4/src/lib
> make[1]: Entering directory
> `/home/backuppc/Downloads/bacula/bacula-7.4.4/src/lib'
> Compiling attr.c
> In file included from ../bacula.h:176:0,
> from attr.c:27:
> ../host.h:28:18: warning: missing terminating " character [enabled by
> default]
> #define DISTVER "(Core)
> ^
> ../host.h:29:7: warning: missing terminating " character [enabled by
> default]
> Server"
> ^
> ../host.h:29:1: error: missing terminating " character
> Server"
> ^
> ../host.h:29:1: error: 'Server' does not name a type
> make[1]: *** [attr.lo] Error 1
> make[1]: Leaving directory
> `/home/backuppc/Downloads/bacula/bacula-7.4.4/src/lib'
> 
> 
> So when I looked in the bacula-7.4.4/src/host.h file there is clearly
> something missing.
> 
> 
> #define HOST_OS "x86_64-unknown-linux-gnu"
> #define BACULA "Bacula"
> #define DISTNAME "redhat"
> #define DISTVER "(Core)
> Server"
> #ifdef HAVE_WIN32
> #define HELPDIR "c://Program Files//Bacula//help"
> #else
> #define HELPDIR "/usr/share/doc/bacula"
> #endif
> 
> 
> the line starting Server" should be part of the previous line.
> however if I edit this to correct it, and try again I get the same
> error.
> 
> Where is the host.h file coming from? I cannot find it in the source.
> 
> or
> 
> Have I missed some settings in the config script?
> 
> Regards
> 
> Francis
> 
> 
> 
> ------------------------------------------------------------------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to