Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: C compiler cannot create executables



On Mon, 22 Aug 2011 11:56:43 +0200
Adam Ciarciński <adam%NetBSD.org@localhost> wrote:

[snip]
> What is in /usr/pkgsrc/pkgtools/digest/work/digest-20080510/config.log?
> 
> Kind regards,
> Adam

$ ./configure --prefix=/usr/pkg --build=i486--netbsdelf --host=i486--netbsdelf 
--mandir=/usr/pkg/man

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

hostname = netbsdcx86.localdom.ain
uname -m = i386
uname -r = 5.99.55
uname -s = NetBSD
uname -v = NetBSD 5.99.55 (GENERIC) #1: Thu Aug 18 22:26:04 EEST 2011  
root%netbsdcx86.localdom.ain@localhost:/usr/obj/sys/arch/i386/compile/GENERIC

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

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

PATH: /usr/pkgsrc/pkgtools/digest/work/.wrapper/bin
PATH: /usr/pkgsrc/pkgtools/digest/work/.buildlink/bin
PATH: /usr/pkgsrc/pkgtools/digest/work/.gcc/bin
PATH: /usr/pkgsrc/pkgtools/digest/work/.tools/bin
PATH: /usr/pkg/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/pkg/sbin
PATH: /usr/pkg/bin
PATH: /usr/X11R7/bin
PATH: /usr/X11R6/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/pkg/bin
PATH: /usr/X11R6/bin

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

configure:1854: checking build system type
configure:1872: result: i486--netbsdelf
configure:1894: checking host system type
configure:1909: result: i486--netbsdelf
configure:1935: checking whether make sets $(MAKE)
configure:1957: result: yes
configure:1970: checking for gawk
configure:1997: result: /usr/bin/awk
configure:2016: checking for i486--netbsdelf-gcc
configure:2043: result: gcc
configure:2315: checking for C compiler version
configure:2323: gcc --version >&5
.: Can't open /usr/pkgsrc/pkgtools/digest/work/.wrapper/tmp/shell-lib
configure:2327: $? = 2
configure:2334: gcc -v >&5
.: Can't open /usr/pkgsrc/pkgtools/digest/work/.wrapper/tmp/shell-lib
configure:2338: $? = 2
configure:2345: gcc -V >&5
.: Can't open /usr/pkgsrc/pkgtools/digest/work/.wrapper/tmp/shell-lib
configure:2349: $? = 2
configure:2372: checking for C compiler default output file name
configure:2394: gcc -O2  -Wl,-R/usr/pkg/lib conftest.c  >&5
.: Can't open /usr/pkgsrc/pkgtools/digest/work/.wrapper/tmp/shell-lib
configure:2398: $? = 2
configure:2436: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "nbsd-digest"
| #define PACKAGE_TARNAME "nbsd-digest"
| #define PACKAGE_VERSION "20080510"
| #define PACKAGE_STRING "nbsd-digest 20080510"
| #define PACKAGE_BUGREPORT "agc%netbsd.org@localhost"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2442: error: in `/usr/pkgsrc/pkgtools/digest/work/digest-20080510':
configure:2444: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_build=i486--netbsdelf
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=-O2
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-Wl,-R/usr/pkg/lib
ac_cv_env_LIBS_set=set
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i486--netbsdelf
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i486--netbsdelf
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i486--netbsdelf
ac_cv_path_CAT=/bin/cat
ac_cv_path_ECHO=echo
ac_cv_path_EGREP=/usr/bin/egrep
ac_cv_path_ENV=/usr/bin/env
ac_cv_path_FALSE=false
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_TEST=test
ac_cv_path_TRUE=true
ac_cv_prog_AWK=/usr/bin/awk
ac_cv_prog_CC=gcc
ac_cv_prog_make_make_set=yes

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

AUTOCONF=''
AUTOHEADER=''
AWK='/usr/bin/awk'
CANONICAL_HOST='i486--netbsdelf'
CC='gcc'
CFLAGS='-O2'
CPP=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/egrep'
EXEEXT=''
GREP='/usr/bin/grep'
INSTALL_DATA='/usr/bin/install -c -o root -g wheel -m 644'
INSTALL_PROGRAM='/usr/bin/install -c -s -o root -g wheel -m 755'
INSTALL_SCRIPT='/usr/bin/install -c -o root -g wheel -m 755'
LDFLAGS='-Wl,-R/usr/pkg/lib'
LIBOBJS=''
LIBS=''
LN_S=''
LTLIBOBJS=''
OBJEXT=''
PACKAGE_BUGREPORT='agc%netbsd.org@localhost'
PACKAGE_NAME='nbsd-digest'
PACKAGE_STRING='nbsd-digest 20080510'
PACKAGE_TARNAME='nbsd-digest'
PACKAGE_VERSION='20080510'
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/sh'
ac_ct_CC=''
bindir='${exec_prefix}/bin'
build='i486--netbsdelf'
build_alias='i486--netbsdelf'
build_cpu='i486'
build_os='netbsdelf'
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'

docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i486--netbsdelf'
host_alias='i486--netbsdelf'
host_cpu='i486'
host_os='netbsdelf'
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='/usr/pkg/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/pkg'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define PACKAGE_NAME "nbsd-digest"
#define PACKAGE_TARNAME "nbsd-digest"
#define PACKAGE_VERSION "20080510"
#define PACKAGE_STRING "nbsd-digest 20080510"
#define PACKAGE_BUGREPORT "agc%netbsd.org@localhost"

configure: exit 77

Thanks, 

-- 
Rares Aioanei


Home | Main Index | Thread Index | Old Index