See the attachment.

2008/6/17 Olivier Mehani <[EMAIL PROTECTED]>:
> On Tue, Jun 17, 2008 at 12:36:52PM +0800, Dongsheng Song wrote:
>> # cd /usr/ports/print/ghostscript/gnu
>> # make install
>> ...
>> checking for C compiler default output file name...
>> configure: error: C compiler cannot create executables
>> See `config.log' for more details.
>
> What does the config.log say?
>
> --
> Olivier Mehani <[EMAIL PROTECTED]>
> PGP fingerprint: 3720 A1F7 1367 9FA3 C654  6DFB 6845 4071 E346 2FD1
>
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:627: checking host system type
configure:648: checking target system type
configure:666: checking build system type
configure:1042: checking for whoami
configure:1860: checking for c++
configure:1892: checking whether the C++ compiler (c++ -O2 -pipe ) works
configure:1908: c++ -o conftest -O2 -pipe   conftest.C  1>&5
/usr/lib/libstdc++.so.44.1: warning: strcpy() is almost always misused, please 
use strlcpy()
/usr/lib/libstdc++.so.44.1: warning: strcat() is almost always misused, please 
use strlcat()
configure:1934: checking whether the C++ compiler (c++ -O2 -pipe ) is a 
cross-compiler
configure:1939: checking whether we are using GNU C++
configure:1948: c++ -E conftest.C
configure:1967: checking whether c++ accepts -g
configure:2004: checking for gcc
configure:2117: checking whether the C compiler (cc -O2 "-pipe" ) works
configure:2133: cc -o conftest -O2 "-pipe"   conftest.c  1>&5
cc: "-pipe": No such file or directory
configure: failed program was:

#line 2128 "configure"
#include "confdefs.h"

main(){return(0);}
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by jasper configure 1.701.0-gs5, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure --prefix=/usr/local --sysconfdir=/etc --mandir=/usr/local/man 
--infodir=/usr/local/info

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

hostname = proxy.foresee.com.cn
uname -m = amd64
uname -r = 4.3
uname -s = OpenBSD
uname -v = GENERIC#1

/usr/bin/uname -p = Intel(R) Xeon(R) CPU E5405 @ 2.00GHz
/bin/uname -X     = unknown

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

PATH: /var/ports/obj/ghostscript-8.62p1/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin


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

configure:2014: checking build system type
configure:2032: result: x86_64-unknown-openbsd4.3
configure:2054: checking host system type
configure:2069: result: x86_64-unknown-openbsd4.3
configure:2091: checking target system type
configure:2106: result: x86_64-unknown-openbsd4.3
configure:2151: checking for a BSD-compatible install
configure:2207: result: /usr/bin/install -c -o root -g bin
configure:2218: checking whether build environment is sane
configure:2261: result: yes
configure:2289: checking for a thread-safe mkdir -p
configure:2328: result: acaux/install-sh -c -d
configure:2341: checking for gawk
configure:2368: result: /usr/bin/awk
configure:2379: checking whether make sets $(MAKE)
configure:2400: result: yes
configure:2652: checking for gawk
configure:2679: result: /usr/bin/awk
configure:2738: checking for gcc
configure:2765: result: cc
configure:3003: checking for C compiler version
configure:3010: cc --version >&5
cc (GCC) 3.3.5 (propolice)
Copyright (C) 2003 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:3013: $? = 0
configure:3020: cc -v >&5
Reading specs from /usr/lib/gcc-lib/amd64-unknown-openbsd4.3/3.3.5/specs
Configured with: 
Thread model: single
gcc version 3.3.5 (propolice)
configure:3023: $? = 0
configure:3030: cc -V >&5
cc: `-V' option must have argument
configure:3033: $? = 1
configure:3056: checking for C compiler default output file name
configure:3083: cc -O2 "-pipe"  -DSYS_TYPES_HAS_STDINT_TYPES     
-I/usr/local/include            -I/usr/local/include/ijs        
-I/usr/local/include/libpng   -L/usr/local/lib conftest.c -ljpeg >&5
cc: "-pipe": No such file or directory
configure:3086: $? = 1
configure:3124: result: 
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "jasper"
| #define PACKAGE_TARNAME "jasper"
| #define PACKAGE_VERSION "1.701.0-gs5"
| #define PACKAGE_STRING "jasper 1.701.0-gs5"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "jasper"
| #define VERSION "1.701.0-gs5"
| #define JAS_VERSION "1.701.0-gs5"
| #define JAS_CONFIGURE 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3130: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_build=x86_64-unknown-openbsd4.3
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=cc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 "-pipe"  -DSYS_TYPES_HAS_STDINT_TYPES        
-I/usr/local/include            -I/usr/local/include/ijs        
-I/usr/local/include/libpng'
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=set
ac_cv_env_CXXFLAGS_value='-O2 -pipe -DSYS_TYPES_HAS_STDINT_TYPES 
-I/usr/local/include -I/usr/local/include/ijs -I/usr/local/include/libpng'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=c++
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=set
ac_cv_env_LDFLAGS_value=' -L/usr/local/lib'
ac_cv_env_LIBS_set=set
ac_cv_env_LIBS_value=-ljpeg
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_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=x86_64-unknown-openbsd4.3
ac_cv_path_CC=cc
ac_cv_path_CXX=c++
ac_cv_prog_AWK=/usr/bin/awk
ac_cv_prog_ac_ct_CC=cc
ac_cv_prog_make_make_set=yes
ac_cv_target=x86_64-unknown-openbsd4.3

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

ACLOCAL='${SHELL} 
/var/ports/obj/ghostscript-8.62p1/ghostscript-8.62/jasper/acaux/missing --run 
aclocal-1.10'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} 
/var/ports/obj/ghostscript-8.62p1/ghostscript-8.62/jasper/acaux/missing --run 
tar'
AR=''
AUTOCONF='${SHELL} 
/var/ports/obj/ghostscript-8.62p1/ghostscript-8.62/jasper/acaux/missing --run 
autoconf'
AUTOHEADER='${SHELL} 
/var/ports/obj/ghostscript-8.62p1/ghostscript-8.62/jasper/acaux/missing --run 
autoheader'
AUTOMAKE='${SHELL} 
/var/ports/obj/ghostscript-8.62p1/ghostscript-8.62/jasper/acaux/missing --run 
automake-1.10'
AWK='/usr/bin/awk'
CC='cc'
CCDEPMODE=''
CFLAGS='-O2 "-pipe"  -DSYS_TYPES_HAS_STDINT_TYPES        -I/usr/local/include   
         -I/usr/local/include/ijs        -I/usr/local/include/libpng'
CPP=''
CPPFLAGS=''
CXX='c++'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-O2 -pipe -DSYS_TYPES_HAS_STDINT_TYPES -I/usr/local/include 
-I/usr/local/include/ijs -I/usr/local/include/libpng'
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO='/bin/echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
GREP='/usr/bin/grep'
HAVE_LIBJPEG_FALSE=''
HAVE_LIBJPEG_TRUE=''
HAVE_OPENGL_FALSE=''
HAVE_OPENGL_TRUE=''
HAVE_SDL=''
HAVE_SDL_FALSE=''
HAVE_SDL_TRUE=''
INSTALL_DATA='install -c -o root -g bin -m 444'
INSTALL_PROGRAM='install -c -s -o root -g bin -m 555'
INSTALL_SCRIPT='install -c -o root -g bin -m 555'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
JAS_MAJOR_VERSION='1'
JAS_MICRO_VERSION='0-gs5'
JAS_MINOR_VERSION='701'
JAS_RPM_RELEASE='1'
JAS_VERSION='1.701.0-gs5'
LDFLAGS=' -L/usr/local/lib'
LIBOBJS=''
LIBS='-ljpeg'
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
LT_AGE='0'
LT_CURRENT='1'
LT_RELEASE='1.701'
LT_REVISION='0'
MAKEINFO='${SHELL} 
/var/ports/obj/ghostscript-8.62p1/ghostscript-8.62/jasper/acaux/missing --run 
makeinfo'
OBJEXT=''
OPENGL_LIBS=''
PACKAGE='jasper'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='jasper'
PACKAGE_STRING='jasper 1.701.0-gs5'
PACKAGE_TARNAME='jasper'
PACKAGE_VERSION='1.701.0-gs5'
PATH_SEPARATOR=':'
RANLIB=''
SDL_CFLAGS=''
SDL_LIBS=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='1.701.0-gs5'
XMKMF=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CC='cc'
ac_ct_CXX=''
ac_ct_F77=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-openbsd4.3'
build_alias=''
build_cpu='x86_64'
build_os='openbsd4.3'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-openbsd4.3'
host_alias=''
host_cpu='x86_64'
host_os='openbsd4.3'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/local/info'
install_sh='$(SHELL) 
/var/ports/obj/ghostscript-8.62p1/ghostscript-8.62/jasper/acaux/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='/usr/local/man'
mkdir_p='$(top_builddir)/acaux/install-sh -c -d'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target='x86_64-unknown-openbsd4.3'
target_alias=''
target_cpu='x86_64'
target_os='openbsd4.3'
target_vendor='unknown'

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

#define PACKAGE_NAME "jasper"
#define PACKAGE_TARNAME "jasper"
#define PACKAGE_VERSION "1.701.0-gs5"
#define PACKAGE_STRING "jasper 1.701.0-gs5"
#define PACKAGE_BUGREPORT ""
#define PACKAGE "jasper"
#define VERSION "1.701.0-gs5"
#define JAS_VERSION "1.701.0-gs5"
#define JAS_CONFIGURE 1

configure: exit 77

Reply via email to