Publicada por marceloespindola em 05/07/2007 - 13:45h:
* marceloespindola usa Debian

Pessoal estou com um problema tentando compilar proftpd com o seguinte comando

proxy-server:~/softwares/proftpd-1.3.0# ./configure -sysconfdir=/etc -prefix=/usr/local/

porém ocorre sempre o mesmo erro, mas com qualquer source que tento compilar com semelhante forma. Segue o erro apresentado:

checking build system type... i586-pc-linux-gnulibc1
checking host system type... i586-pc-linux-gnulibc1
checking target system type... i586-pc-linux-gnulibc1
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.

espero ser respondido
também segue o log do proftpd o config.log:

his file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure -sysconfdir=/etc -prefix=/usr/local/

## --------- ##
## Platform. ##
## --------- ##

hostname = proxy-server
uname -m = i586
uname -r = 2.6.18-4-486
uname -s = Linux
uname -v = #1 Wed May 9 22:23:40 UTC 2007

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i586
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1634: checking build system type
configure:1652: result: i586-pc-linux-gnulibc1
configure:1660: checking host system type
configure:1674: result: i586-pc-linux-gnulibc1
configure:1682: checking target system type
configure:1696: result: i586-pc-linux-gnulibc1
configure:1800: checking for gcc
configure:1816: found /usr/bin/gcc
configure:1826: result: gcc
configure:2070: checking for C compiler version
configure:2073: gcc --version </dev/null >&5
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2076: $? = 0
configure:2078: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
configure:2081: $? = 0
configure:2083: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2086: $? = 1
configure:2109: checking for C compiler default output file name
configure:2112: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2115: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PR_BUILD_OPTS "-sysconfdir=/etc -prefix=/usr/local/"
| #define PR_PLATFORM "LINUX"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2154: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i586-pc-linux-gnulibc1
ac_cv_build_alias=i586-pc-linux-gnulibc1
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i586-pc-linux-gnulibc1
ac_cv_host_alias=i586-pc-linux-gnulibc1
ac_cv_prog_ac_ct_CC=gcc
ac_cv_target=i586-pc-linux-gnulibc1
ac_cv_target_alias=i586-pc-linux-gnulibc1

## ----------------- ##
## Output variables. ##
## ----------------- ##

ADDL_DIRS=''
ALLOCA=''
AR=''
BINDIR=''
BUILD_SHARED_MODULE_OBJS=''
BUILD_STATIC_MODULE_OBJS=''
CC='gcc'
CFLAGS=''
CPP=''
CPPFLAGS=''
CURSES_LIBS=''
CXX=''
CXXCPP=''
CXXFLAGS=''
DEFS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
GLUE_MODULE_OBJS=''
INCLTDL='-I${top_srcdir}/lib/libltdl'
INCLUDEDIR=''
INCLUDES=''
INSTALL_DATA=''
INSTALL_DEPS=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
INSTALL_STRIP=''
LDFLAGS=''
LIBDIRS=''
LIBEXECDIR=''
LIBLTDL='${top_builddir}/lib/libltdl/libltdlc.la'
LIBOBJS=''
LIBRARIES=''
LIBS=''
LIBTOOL=''
LIBTOOL_DEPS=''
LIB_DEPS=''
LIB_OBJS=''
LN_S=''
LOCALSTATEDIR=''
LTLIBOBJS=''
MAIN_LDFLAGS=''
MAIN_LIBS=''
MODULE_DEPS=''
MODULE_LDFLAGS=''
OBJEXT=''
OSREL='-DLINUX'
OSTYPE=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PREFIX=''
RANLIB=''
SBINDIR=''
SET_MAKE=''
SHARED_MODULE_DIRS=''
SHARED_MODULE_OBJS=''
SHELL='/bin/sh'
STATIC_MODULE_DIRS=''
STATIC_MODULE_OBJS=''
STRIP=''
SYSCONFDIR=''
VERSION=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
bindir='${exec_prefix}/bin'
build='i586-pc-linux-gnulibc1'
build_alias=''
build_cpu='i586'
build_os='linux-gnulibc1'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i586-pc-linux-gnulibc1'
host_alias=''
host_cpu='i586'
host_os='linux-gnulibc1'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_group=''
install_user=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/usr/local/'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='/etc'
target='i586-pc-linux-gnulibc1'
target_alias=''
target_cpu='i586'
target_os='linux-gnulibc1'
target_vendor='pc'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PR_BUILD_OPTS "-sysconfdir=/etc -prefix=/usr/local/"
#define PR_PLATFORM "LINUX"

configure: exit 77

  
 
Resposta de mpsnet em 05/07/2007 - 14:16h:
* mpsnet usa Slackware
* mpsnet tem conceito: 7.9
 


como eu vejo que ninguem respondeu vou chutar minha opnião:
- pelo que vejo parece ser um erro nos headers do C, nao consegue encontrar o arquivo <conftest.c>, tente mudar os parametros de configuracao:

./configure --prefix=/usr

 
Resposta de marceloespindola em 05/07/2007 - 16:20h:
* marceloespindola usa Debian
* marceloespindola tem conceito: nenhum voto.
 


Nota: sobre a Resposta de mpsnet

a mesma coisa não adiantou nada! até agora sempre apresenta o mesmo erro de compilação que disse acima!

eu traduzei no google o erro que citei, seria assim mais ou menos assim em pt-br:

verificar para ver se há a lima de saída do defeito do compilador de C - o nome… configura: erro: O compilador de C não pode criar executables

 
Resposta de juniorgalvao em 16/02/2008 - 04:26h:
* juniorgalvao usa Outra
* juniorgalvao tem conceito: nenhum voto.
 


Cara, comigo ocorre a mesma coisa em diversos programas diferentes q eu tento instalar, parece q isso é coisa das dependências, só num seu como resolver.
Espero q o pessoall ajude aki!

 
Resposta de jbm5688 em 29/07/2008 - 23:10h:
* jbm5688 usa Slackware
* jbm5688 tem conceito: 8.0
 


Pessoal estou com o seguinte erro:
Nor is it Venix...
Use which C compiler? [cc]
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
Uh-oh, the C compiler 'cc' doesn't seem to be working.
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
Uh-oh, the C compiler 'cc' doesn't seem to be working.
You need to find a working C compiler.
Either (purchase and) install the C compiler supplied by your OS vendor,
or for a free C compiler try http://gcc.gnu.org/
I cannot continue any further, aborting.
na instalação do perl para depis instalar o openwebmail mas não deu certo
quem tiver uma dica por favor postar a resposta...

 
Resposta de jbm5688 em 07/08/2008 - 23:30h:
* jbm5688 usa Slackware
* jbm5688 tem conceito: 8.0
 


apt-get install
Lendo lista de pacotes... Erro!
E: Dynamic MMap ran out of room
E: Um erro ocorreu processando sipp (NovoPacote)
E: Problem with MergeList /var/lib/apt/lists/ftp.debian.org_debian_dists_etch_main_binary-i386_Packages
E: As listas de pacotes ou os arquivos de status não puderam ser analisados ou abertos.
superserver:/#
o que será isso, estou usando o debian

 
Resposta de marciogsm em 24/12/2008 - 13:06h:
* marciogsm usa Debian
* marciogsm tem conceito: nenhum voto.
 


O erro está nessa linha
#/usr/bin/ld: crt1.o: No such file: No such file or directory

Obtive este erro durante a instalação do "libpcap-1.0.0".

Para resolver este problema instalei a biblioteca "libc6-dev".
#apt-get install libc6-dev


Agora é só correr pro abraço!


  


ATENÇÃO: Antes de contribuir com uma resposta, leia o artigo Qualidade de respostas e certifique-se de que esteja realmente contribuindo com a comunidade. Muitas vezes o ímpeto de contribuir nos leva a atrapalhar ao invés de ajudar.

Contribuir com resposta



CAPTCHA
[ Recarregar imagem ]

Digite o código acima:

  
* Nota: só é possível enviar respostas usuário que possui conta e esteja logado com ela, caso contrário sua mensagem será perdida.



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts