Installation problem

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Installation problem

Francisco Sanchez
 
Hi,
 
I am trying to install Bacula 3.0.2 but after the installtion finished the bacula-sd.conf and bacula-fd.com are not created, this is the configure script that I ran :
 
CFLAGS="-g -Wall" ./configure \
  --sbindir=/usr/sbin \
  --sysconfdir=/etc/bacula \
  --with-scriptdir=/etc/bacula \
  --enable-smartalloc \
  --with-qwt=$HOME/bacula/depkgs/qwt \
  --with-mysql \
  --with-working-dir=/var/bacula \
  --with-pid-dir=/var/run \
  --enable-conio
 
 
This is the error message that I got :
 
Linking bacula-sd ...
/root/bacula/bacula-3.0.2/libtool --silent --tag=CXX --mode=link /usr/bin/g++   -L../lib -o bacula-sd stored.o ansi_label.o vtape.o autochanger.o acquire.o append.o askdir.o authenticate.o block.o butil.o dev.o device.o dircmd.o dvd.o ebcdic.o fd_cmds.o job.o label.o lock.o mac.o match_bsr.o mount.o parse_bsr.o pythonsd.o read.o read_record.o record.o reserve.o scan.o sd_plugins.o spool.o status.o stored_conf.o vol_mgr.o wait.o -lacl -lz \
   -lbacpy -lbaccfg -lbac -lm   -lpthread -ldl   \
 -lssl -lcrypto
libtool: link: cannot find the library `/lib/libattr.la' or unhandled argument `/lib/libattr.la'
make[1]: *** [bacula-sd] Error 1
make[1]: Leaving directory `/root/bacula/bacula-3.0.2/src/stored'

  ====== Error in /root/bacula/bacula-3.0.2/src/stored ======
 
 
 
 
This is the server info where I am trying to install it :
 
[root@xiris3 bacula-3.0.2]# 
Linux 2.6.9-89.0.3.ELsmp #1 SMP Sat Jun 13 07:05:54 EDT 2009 i686 i686 i386 GNU/Linux
[root@xiris3 bacula-3.0.2]#
[root@xiris3 bacula-3.0.2]# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 4)
[root@xiris3 bacula-3.0.2]#
 
 
And the Bacula version that I tried to install is 3.0.2, please if someone can help me with this error.
 
 
Regards,
 
 
FS
 
 
 
 
 
 
 


Windows Live™ Hotmail®: Search, add, and share the web’s latest sports videos. Check it out.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Bacula-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|

Re: Installation problem

Bruno Friedmann-2
Francisco Sanchez wrote:

>  
>
> Hi,
>
>  
>
> I am trying to install Bacula 3.0.2 but after the installtion finished the bacula-sd.conf and bacula-fd.com are not created, this is the configure script that I ran :
>
>  
>
> CFLAGS="-g -Wall" ./configure \
>   --sbindir=/usr/sbin \
>   --sysconfdir=/etc/bacula \
>   --with-scriptdir=/etc/bacula \
>   --enable-smartalloc \
>   --with-qwt=$HOME/bacula/depkgs/qwt \
>   --with-mysql \
>   --with-working-dir=/var/bacula \
>   --with-pid-dir=/var/run \
>   --enable-conio
>
>  
>
>  
>
> This is the error message that I got :
>
>  
>
> Linking bacula-sd ...
> /root/bacula/bacula-3.0.2/libtool --silent --tag=CXX --mode=link /usr/bin/g++   -L../lib -o bacula-sd stored.o ansi_label.o vtape.o autochanger.o acquire.o append.o askdir.o authenticate.o block.o butil.o dev.o device.o dircmd.o dvd.o ebcdic.o fd_cmds.o job.o label.o lock.o mac.o match_bsr.o mount.o parse_bsr.o pythonsd.o read.o read_record.o record.o reserve.o scan.o sd_plugins.o spool.o status.o stored_conf.o vol_mgr.o wait.o -lacl -lz \
>    -lbacpy -lbaccfg -lbac -lm   -lpthread -ldl   \
>  -lssl -lcrypto
> libtool: link: cannot find the library `/lib/libattr.la' or unhandled argument `/lib/libattr.la'
> make[1]: *** [bacula-sd] Error 1
> make[1]: Leaving directory `/root/bacula/bacula-3.0.2/src/stored'
>
>
>   ====== Error in /root/bacula/bacula-3.0.2/src/stored ======
>
> This is the server info where I am trying to install it :
>
>  
>
> [root@xiris3 bacula-3.0.2]#
> Linux 2.6.9-89.0.3.ELsmp #1 SMP Sat Jun 13 07:05:54 EDT 2009 i686 i686 i386 GNU/Linux
> [root@xiris3 bacula-3.0.2]#
>
> [root@xiris3 bacula-3.0.2]# cat /etc/redhat-release
> Red Hat Enterprise Linux ES release 4 (Nahant Update 4)
> [root@xiris3 bacula-3.0.2]#
>
>  
>
>  
>
> And the Bacula version that I tried to install is 3.0.2, please if someone can help me with this error.
>
> Regards,

As your build didn't finish, there's no chance that install works.

Log report is clear, you need to have libacl & libattr ( devel ) installed to build successfully the whole parts


--

     Bruno Friedmann


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Bacula-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/bacula-users
Reply | Threaded
Open this post in threaded view
|

Re: Installation problem

yistoneriver
In reply to this post by Francisco Sanchez
I got the same error during my bacula3.0 installation on RHEL4.  In my case, workaround was to add '--disable-libtool' to the configure options.  That did not use libtool, which caused an error, but used ar instead (maybe).  I hope this will help.

-yuji

Francisco Sanchez wrote
 

Hi,

 

I am trying to install Bacula 3.0.2 but after the installtion finished the bacula-sd.conf and bacula-fd.com are not created, this is the configure script that I ran :

 

CFLAGS="-g -Wall" ./configure \
  --sbindir=/usr/sbin \
  --sysconfdir=/etc/bacula \
  --with-scriptdir=/etc/bacula \
  --enable-smartalloc \
  --with-qwt=$HOME/bacula/depkgs/qwt \
  --with-mysql \
  --with-working-dir=/var/bacula \
  --with-pid-dir=/var/run \
  --enable-conio

 

 

This is the error message that I got :

 

Linking bacula-sd ...
/root/bacula/bacula-3.0.2/libtool --silent --tag=CXX --mode=link /usr/bin/g++   -L../lib -o bacula-sd stored.o ansi_label.o vtape.o autochanger.o acquire.o append.o askdir.o authenticate.o block.o butil.o dev.o device.o dircmd.o dvd.o ebcdic.o fd_cmds.o job.o label.o lock.o mac.o match_bsr.o mount.o parse_bsr.o pythonsd.o read.o read_record.o record.o reserve.o scan.o sd_plugins.o spool.o status.o stored_conf.o vol_mgr.o wait.o -lacl -lz \
   -lbacpy -lbaccfg -lbac -lm   -lpthread -ldl   \
 -lssl -lcrypto
libtool: link: cannot find the library `/lib/libattr.la' or unhandled argument `/lib/libattr.la'
make[1]: *** [bacula-sd] Error 1
make[1]: Leaving directory `/root/bacula/bacula-3.0.2/src/stored'


  ====== Error in /root/bacula/bacula-3.0.2/src/stored ======

 

 

 

 

This is the server info where I am trying to install it :

 

[root@xiris3 bacula-3.0.2]#
Linux 2.6.9-89.0.3.ELsmp #1 SMP Sat Jun 13 07:05:54 EDT 2009 i686 i686 i386 GNU/Linux
[root@xiris3 bacula-3.0.2]#

[root@xiris3 bacula-3.0.2]# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 4)
[root@xiris3 bacula-3.0.2]#

 

 

And the Bacula version that I tried to install is 3.0.2, please if someone can help me with this error.

 

 

Regards,

 

 

FS

 

 

 

 

 

 

 

_________________________________________________________________
Windows Live™ Hotmail®: Search, add, and share the web’s latest sports videos. Check it out.
http://www.windowslive.com/Online/Hotmail/Campaign/QuickAdd?ocid=TXT_TAGLM_WL_QA_HM_sports_videos_072009&cat=sports
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users