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

Reply via email to