You should be able to look at the port in -current to see which
configure options to use.

-ME

On Sun, Oct 11, 2009 at 09:47:41PM -0300, Daniel Bareiro wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi, all!
> 
> I'm trying to compile Bacula 3.0.2 with the source code from the
> official site. For it I've dowloaded the bacula-3.0.2.tar.gz file.
> 
> I did the configuration using the following syntax:
> 
> # ./configure \
>         --prefix=/usr \
>         --sbindir=/usr/sbin \
>         --sysconfdir=/etc/bacula \
>         --with-scriptdir=/etc/bacula/scripts \
>         --enable-smartalloc \
>         --with-openssl \
>         --enable-client-only \
>         --with-working-dir=/var/lib/bacula \
>         --with-pid-dir=/var/run \
>         --with-subsys-dir=/var/lock
> 
> But after executing:
> 
> # make -j6
> 
> I get some error messages:
> 
> fugu:/tmp/bacula-3.0.2# make -j6
> ==>Entering directory /tmp/bacula-3.0.2/src
> ==>Entering directory /tmp/bacula-3.0.2/scripts
> ==>Entering directory /tmp/bacula-3.0.2/src/lib
> Compiling res.c                                
> Compiling lockmgr.c                            
> Compiling breg.c                               
> Compiling address_conf.c                       
> Compiling parse_conf.c                         
> Compiling htable.c                             
> Compiling tls.c                                
> Compiling rblist.c                             
> Compiling smartall.c                           
> Compiling var.c                                
> Compiling signal.c                             
> Making libbaccfg.la ...                        
> /tmp/bacula-3.0.2/libtool --silent --tag=CXX --mode=link /usr/bin/g++    -o 
> libbaccfg.la parse_conf$(DEFAULT_OBJECT_TYPE) res$(DEFAULT_OBJECT_TYPE) 
> -export-dynamic -rpath /usr/lib -version-info 1:0:0                           
>                                     
> /bin/sh: DEFAULT_OBJECT_TYPE: not found                                       
>                                                      
> /bin/sh: DEFAULT_OBJECT_TYPE: not found                                       
>                                                      
> g++: no input files                                                           
>                                                      
> *** Error code 1                                                              
>                                                      
> Stop in /tmp/bacula-3.0.2/src/lib:                                            
>                                                      
>  Exit status 1 (libbaccfg.la, line 234 of Makefile)                           
>                                                      
> 
> 
>   ====== Error in /tmp/bacula-3.0.2/src/lib ======
> 
> 
> ==>Entering directory /tmp/bacula-3.0.2/src/findlib
> Compiling mkpath.c                                 
> Compiling fstype.c                                 
> Compiling create_file.c                            
> Compiling enable_priv.c                            
> Compiling drivetype.c                              
> Compiling bfile.c                                  
> Compiling attribs.c                                
> Compiling find_one.c                               
> Compiling match.c                                  
> Compiling find.c                                   
> Compiling savecwd.c                                
> make: make: don't know how to make ../lib/libbac.la. Stop in 
> /tmp/bacula-3.0.2/src/findlib.
> 
> 
>   ====== Error in /tmp/bacula-3.0.2/src/findlib ======
> 
> 
> ==>Entering directory /tmp/bacula-3.0.2/src/filed
> Compiling verify.c                               
> Compiling verify_vol.c                           
> Compiling job.c                                  
> Compiling restore.c                              
> Compiling pythonfd.c                             
> Compiling status.c                               
> Compiling heartbeat.c                            
> Compiling filed_conf.c                           
> Compiling filed.c                                
> Compiling fd_plugins.c                           
> Compiling estimate.c                             
> Compiling backup.c                               
> Compiling authenticate.c                         
> Compiling acl.c                                  
> Compiling accurate.c                             
> Compiling xattr.c                                
> make: make: don't know how to make ../findlib/libbacfind.la. Stop in 
> /tmp/bacula-3.0.2/src/filed.
> 
> 
>   ====== Error in /tmp/bacula-3.0.2/src/filed ======
> 
> 
> ==>Entering directory /tmp/bacula-3.0.2/src/console
> make: make: don't know how to make ../lib/libbac.la. Stop in 
> /tmp/bacula-3.0.2/src/console.
> 
> 
>   ====== Error in /tmp/bacula-3.0.2/src/console ======
> 
> 
> ==>Entering directory /tmp/bacula-3.0.2/src/plugins/fd
> /tmp/bacula-3.0.2/libtool --silent --tag=CXX --mode=compile /usr/bin/g++   
> -fno-strict-aliasing -fno-exceptions -fno-rtti -g -O2 -Wall 
> -fno-strict-aliasing -fno-exceptions -fno-rtti -pthread -I../..
> - -I../../filed -c bpipe-fd.c                                    
> /tmp/bacula-3.0.2/libtool --silent --tag=CXX --mode=link /usr/bin/g++  
> -shared bpipe-fd.lo -o bpipe-fd.la -rpath /usr/lib -module -export-dynamic 
> -avoid-version                                                                
>                                       
> ==>Entering directory /tmp/bacula-3.0.2/manpages
> 
> 
> Could Somebody compile Bacula using the official sources in OpenBSD?
> 
> Thanks in advance.
> 
> Regards,
> Daniel
> iEYEARECAAYFAkrSfLMACgkQZpa/GxTmHTcLwgCfagEXJ3CvFr0Mw1aa6VlVW3OX
> jtsAnRZCBSkbuVyq0u7UI6bTQVvtqkEk
> =KJii
> -----END PGP SIGNATURE-----

Reply via email to