Bacula-users

Re: [Bacula-users] Problem with complilation/config of Bacula-5.2.13

2013-12-13 09:51:04
Subject: Re: [Bacula-users] Problem with complilation/config of Bacula-5.2.13
From: Ana Emília M. Arruda <emiliaarruda AT gmail DOT com>
To: ALI LARAB <larab_ali AT yahoo DOT fr>
Date: Fri, 13 Dec 2013 12:45:56 -0200
Hi,

Try installing gcc++ too, because bacula needs it too.

Regards,
Ana


On Fri, Dec 13, 2013 at 8:26 AM, ALI LARAB <larab_ali AT yahoo DOT fr> wrote:
Hello.
I have installed the new version of Bacula (5.2.13) on a Virtual Machine to test it before using it, but I have encountered a problem with the runing of "Configure". It generate some errors. It doesn't found gcc, cc and cl.exe.

[bacula@vm2 bacula]$ cd /opt/gpf/bacula
[bacula@vm2 bacula]$ tar -xvzf bacula-5.2.13.tar.gz

[bacula@vm2 bacula-5.2.13]$ ./configure --with-mysql
checking for true... /bin/true
checking for false... /bin/false
configuring for Bacula 5.2.13 (19 February 2013)
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/opt/gpf/bacula/bacula-5.2.13':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details

GCC is installed, because:
[root@vm2 bacula-5.2.13]# whereis gcc
gcc: /usr/libexec/gcc
The path to GCC does'nt apear in the $PATH:
# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/ant/bin:/usr/java/jdk1.6.0_16//bin:/root/bin

So I have added it to the path
# echo 'export PATH=$PATH:/usr/libexec' >> /root/.bashrc
echo $PATH
/usr/libexec:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/ant/bin:/usr/java/jdk1.6.0_16//bin:/root/bin:/usr/libexec
But the problem is the same:
[root@vm2 bacula-5.2.13]# ./configure --with-mysql
checking for true... /bin/true
checking for false... /bin/false
configuring for Bacula 5.2.13 (19 February 2013)
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/opt/gpf/bacula/bacula-5.2.13':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details

Do you know please what to do ?
Thnx in advance.






------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users