Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jul 2002 23:16:42 -0400
From:      "Ilya" <mail@krel.org>
To:        <freebsd-questions@freebsd.org>
Subject:   ports fail to build - Help
Message-ID:  <00ab01c22ed2$b4e71c50$0100a8c0@ilya>
References:  <20020719044908.A38474@sr.se>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi guys. I have about 15 ports which fail to build all with the same error:
checking for i386-portbld-freebsd4.6-gcc... cc
checking for C compiler default output... configure: error: C compiler cannot create executables

as far as I could debug it, it seems that conftest.c is actually created empty. I cannot understand why. I have about 100 other ports which compile properly. I just rebuild world and kernel yesterday with no problem.

Also I cannot build autoconf:
 make
===>  Extracting for autoconf-2.53
>> Checksum OK for autoconf-2.53.tar.bz2.
===>   autoconf-2.53 depends on executable: gm4 - found
===>  Patching for autoconf-2.53
===>  Configuring for autoconf-2.53
configure: WARNING: you should use --build, --host, --target
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... no
checking for expr... /bin/expr
checking for gm4... /usr/local/bin/gm4
checking whether m4 supports frozen files... yes
checking for perl... /usr/bin/perl
checking where .elc files should go... no
configure: creating ./config.status
===>  Building for autoconf-2.53
make: cannot open Makefile.
*** Error code 2


Can anyone give any suggestions?

this is from the config.log:
configure:1261: checking for i386-portbld-freebsd4.6-gcc
configure:1287: result: cc
configure:1569: checking for C compiler version
configure:1572: cc --version </dev/null >&5
2.95.4
configure:1575: $? = 0
configure:1577: cc -v </dev/null >&5
Using builtin specs.
gcc version 2.95.4 20020320 [FreeBSD]
configure:1580: $? = 0
configure:1582: cc -V </dev/null >&5
cc: argument to `-V' is missing
configure:1585: $? = 1
configure:1611: checking for C compiler default output
configure:1614: cc -O -pipe    conftest.c  >&5
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x79): undefined reference to `main'
configure:1617: $? = 1
configure: failed program was:
configure:1644: error: C compiler cannot create executables


ac_cv_env_CC_set=set
ac_cv_env_CC_value=cc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O -pipe '
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i386-portbld-freebsd4.6
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i386-portbld-freebsd4.6
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=i386-portbld-freebsd4.6
ac_cv_prog_CC=ccN'rzǧvf&j:+v "ryy笶*')w*z

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00ab01c22ed2$b4e71c50$0100a8c0>