Compilar Programa

1. Compilar Programa

Fernando
ferlinux

(usa Debian)

Enviado em 21/04/2008 - 16:31h

Estou tentando instalar o osiris em minha maquina e nao consigo dar o seguinte erro abaixo. Eu ja instalei gcc removi o gcc e nada. Alguem pode me dar uma dica.
A mensagem esta abaixo
root@debian/usr/local/src/osiris-4.2.3# ls
acinclude.m4 ChangeLog config.sub depcomp Makefile.am NEWS
aclocal.m4 config.guess configure INSTALL Makefile.in README
AUTHORS config.h.in configure.ac install-sh missing src
bootstrap config.log COPYING LICENSE mkinstalldirs TODO
root@debian/usr/local/src/osiris-4.2.3# ./configure
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.



  


2. Re: Compilar Programa

Francisco Ambrozio
fco

(usa Slackware)

Enviado em 21/04/2008 - 17:30h

apt-get install build-essential

Se é Debian mesmo que vc está usando...


3. Re: Compilar Programa

Jose Ribeiro
joserribeirojuni

(usa Ubuntu)

Enviado em 21/04/2008 - 17:48h

Pelo erro é tem que instalar compiladores C mesmo !
Mas não seria mais facil instalar pelo sistema de instalação de pacotes da propria distro ?
Abraço..


4. Compilar Programa

Fernando
ferlinux

(usa Debian)

Enviado em 21/04/2008 - 18:43h

Boa noite

Muito obrigado pela resposta.

Estou utilizando debian 4.0 - Linux debian 2.6.18-6-686 #1 SMP Sun Feb 10 22:11:31 UTC 2008 i686 GNU/Linux

rodei este comando abaixo conforme orientacao

root@debian~# apt-get install build-essential
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
build-essential: Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: g++ (>= 4:4.1.1) but it is not going to be installedE: Broken packages


E nao deixou eu instalar ainda.

Tentei instalar os pacotes libc6-dev com o apt-get e nada.

Qual comando que dou que ele instala todas as dependencias.

Obrigado
Meu amigos desde ja




5. Compilar Programa

Fernando
ferlinux

(usa Debian)

Enviado em 21/04/2008 - 18:51h

Tento instalar libc6 e olha a mensagem que da com conflito

root@debian~# aptitude install libc6-dev
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following packages are BROKEN:
libc6-dev
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 2717kB of archives. After unpacking 10.9MB will be used.
The following packages have unmet dependencies:
libc6-dev: Depends: libc6 (= 2.3.6.ds1-13etch5) but 2.6.1-1+b1 is installed.
Resolving dependencies...
open: 5174; closed: 4955; defer: 0; conflict: 6 .No solution found within the allotted time. Try harder? [Y/n]Y







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts