Instalação

167 views
Skip to first unread message

Edney Fernandes

unread,
May 20, 2010, 11:12:46 AM5/20/10
to Bacula Backup-Pt-Br
Ae ... Pessoal,

Me deram uma missão de instalar o bacula 5.0.2 no OLE ( Oracle Linux
Enterprise) que é nada mais nada memos que o Red Hat 5.5.

Estou tentando compilar a partir do codigo fonte que baixei no site do
bacula.

Rodei o ./configure ai deu o erro baixo:

# ./configure
checking for true... /bin/true
checking for false... /bin/false
configuring for Bacula 5.0.2 (28 April 2010)
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc needs -traditional... no
checking for g++... g++
configure: error: Unable to find C++ compiler


Pesquisado em alguns sites vi que faltava o gcc-c++ e no rpm-build

"To install C++ compiler:
# yum install gcc-c++

To install rpmbuild:
# yum install rpm-build"

Ai achei que estava tudo beleza .... quando fui rodar os comandos deu
a seguinte mensagem:

# yum install gcc-c++
Loaded plugins: security
Setting up Install Process
No package gcc-c++ available.
Nothing to do

Ai pergunto pra vc's:

Existe algum repositorio especifico do yum para pegar esses pacotes ?

Alguém ja usou essa distro (OLE) com o bacula 5 ?


Agradeço a todos desde já !!!

--
You received this message because you are subscribed to the Google Groups "Bacula Backup-Pt-Br" group.
To post to this group, send email to bacula-ba...@googlegroups.com.
To unsubscribe from this group, send email to bacula-backup-p...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bacula-backup-pt-br?hl=en.

Renato C. Pacheco

unread,
May 20, 2010, 11:15:07 AM5/20/10
to bacula-ba...@googlegroups.com
Por incrível q pareça, tem no CD d instalação. Procure lá pra instalar. Aconteceu isso comigo e tive q fazer isso (pasta de desenvolvimento).
--
Renato Carneiro Pacheco
Pós-Graduando em Segurança em Redes de Computadores
Graduado em Redes de Comunicação

"Não acredite no que eu digo, pois é a minha experiência e não a sua. Experimente, indague e busque."

Osho Rajneesh

Fabio Silva

unread,
May 21, 2010, 11:05:01 AM5/21/10
to bacula-ba...@googlegroups.com
Se vc ativou esse RedHat com licença oficial terá no repositorio tudo que precisa, do contrario pode procurar na net repositorios alternativos.
 
Já tentou 'yum install gcc*' ?
 
No seu ./configure faltou especificar o tipo de banco também.
 
Abs

Rodrigo Bertolazzi

unread,
May 21, 2010, 12:01:50 PM5/21/10
to bacula-ba...@googlegroups.com
Edney você pode configurar o repositório local através do CD.

Crie o arquivo local.repo no diretório /etc/yum.repos.d/ com o seguinte conteúdo:

#### Início do Arquivo####

[base]
name=Red Hat Enterprise Linux \$releasever . \$basearch . Base
baseurl=file:///media/cdrom/Server
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

[vt]
name=Red Hat Enterprise Linux \$releasever . \$basearch . VT
baseurl=file:///media/cdrom/VT
enabled=1
gpgcheck=0

#[updates]
#name=Red Hat Enterprise Linux $releasever . $basearch . Updates
#baseurl=file:///var/repo/rhel54/repo/updates
#enabled=1
#gpgcheck=0

####Fim do Arquivo####

O "baseurl" pode ser alterado, dependendo do local onde você montar o CD ou se você preferir copiar o CD para o servidor é só indicar o caminho de destino. No meu caso eu subi as midias em um servidor e exporto via NFS para o servidor que quero atualizar ou instalar um determinado pacote.

Abs.
Rodrigo Bertolazzi
Reply all
Reply to author
Forward
0 new messages