[mapserver-users] Re: Compiling Mapserver

paulmaddock Paul.Maddock at ijus.net
Wed Feb 8 10:41:27 PST 2012


>Have you checked the config.log file?

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

hostname = MapServerTest
uname -m = x86_64
uname -r = 
uname -s = Linux
uname -v = #83-Ubuntu SMP Wed Jan 4 11:26:59 UTC 2012

/usr/bin/uname -p = unknown
/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/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


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

configure:2487: checking for gcc
configure:2503: found /usr/bin/gcc
configure:2514: result: gcc
configure:2743: checking for C compiler version
configure:2752: gcc --version >&5
gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
Copyright (C) 2009 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:2763: $? = 0
configure:2752: gcc -v >&5
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
--enable-multiarch --enable-linker-build-id --with-system-zlib
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4
--enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin
--enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) 
configure:2763: $? = 0
configure:2752: gcc -V >&5
gcc: '-V' option must have argument
configure:2763: $? = 1
configure:2752: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:2763: $? = 1
configure:2783: checking whether the C compiler works
configure:2805: gcc    conftest.c  >&5
gcc: error trying to exec 'cc1': execvp: No such file or directory
configure:2809: $? = 1
configure:2847: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2852: error: in `/usr/local/src/mapserver-6.0.1':
configure:2856: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
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_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_YACC_set=
ac_cv_env_YACC_value=
ac_cv_env_YFLAGS_set=
ac_cv_env_YFLAGS_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_prog_ac_ct_CC=gcc

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

AGG_INC=''
AGG_LIB=''
AGG_OBJ=''
ALL_ENABLED=''
ALL_INC=''
ALL_LIB=''
ALL_STATIC_LIB=''
APACHE_INC=''
CAIRO_ENABLED=''
CAIRO_INC=''
CAIRO_LIB=''
CC='gcc'
CFLAGS=''
CPP=''
CPPFLAGS=''
CURL_INC=''
CURL_LIB=''
CXX=''
CXXFLAGS=''
C_PIC=''
DEBUG_FLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
EXSLT_ENABLED=''
EXSLT_INC=''
EXSLT_LIB=''
FASTCGI_ENABLED=''
FASTCGI_INC=''
FASTCGI_LIB=''
FRIBIDI_CONFIG=''
FRIBIDI_ENABLED=''
FRIBIDI_INC=''
FRIBIDI_LIB=''
FTGL_ENABLED=''
FTGL_INC=''
FTGL_LIB=''
FT_BIN=''
FT_ENABLED=''
FT_INC=''
FT_LIB=''
GDAL_CONFIG=''
GDAL_ENABLED=''
GDAL_INC=''
GDAL_LIB=''
GD_DEF=''
GD_INC=''
GD_LIB=''
GD_STATIC=''
GEOS_CONFIG=''
GEOS_ENABLED=''
GEOS_INC=''
GEOS_LIB=''
GIF_ENABLED=''
GIF_INC=''
GIF_LIB=''
GREP=''
HTTPD=''
ICONV_ENABLED=''
ICONV_INC=''
ICONV_LIB=''
IGNORE_MISSING_DATA=''
JPEG_ENABLED=''
JPEG_INC=''
JPEG_LIB=''
LDFLAGS=''
LD_SHARED=''
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBCURL_CONFIG=''
LIBOBJS=''
LIBS=''
LIBXML2_CONFIG=''
LTLIBOBJS=''
MAKE_GD=''
MAKE_GD_CLEAN=''
MAKE_PHPMS=''
MAKE_PHPMS_CLEAN=''
MS_INC=''
MS_LIB=''
MS_VERSION=''
MYSQL_ENABLED=''
MYSQL_INC=''
MYSQL_LIB=''
MY_CONFIG=''
OBJEXT=''
OGL_ENABLED=''
OGL_INC=''
OGL_LIB=''
OGR_ENABLED=''
ORACLESPATIAL_ENABLED=''
ORACLESPATIAL_INC=''
ORACLESPATIAL_LIB=''
OS_INCLUDE_DIR=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PG_CONFIG=''
PHP_CC=''
PHP_LD=''
PHP_LD_SHARED=''
PHP_REGEX_INC=''
PHP_REGEX_OBJ=''
PHP_SRC_DIR=''
PHP_VERSION_FLAG=''
PKG_CONFIG=''
PNG_ENABLED=''
PNG_INC=''
PNG_LIB=''
POSTGIS_ENABLED=''
POSTGIS_INC=''
POSTGIS_LIB=''
PROJ_ENABLED=''
PROJ_INC=''
PROJ_LIBS=''
RANLIB=''
RPATHS=''
SDE_ENABLED=''
SDE_INC=''
SDE_LIB=''
SHELL='/bin/bash'
SOS_SVR_ENABLED=''
SO_COMMAND_NAME=''
SO_EXT=''
STRINGS=''
THREAD_FLAG=''
THREAD_LIB=''
USE_NINT=''
USE_PHP_REGEX=''
USE_POINT_Z_M=''
WCS_SVR_ENABLED=''
WFS_LYR_ENABLED=''
WFS_SVR_ENABLED=''
WMS_LYR_ENABLED=''
WMS_SVR_ENABLED=''
XML2_INC=''
XML2_LIB=''
XSLT_ENABLED=''
XSLT_INC=''
XSLT_LIB=''
XTRALIBS=''
YACC=''
YFLAGS=''
ZLIB_ENABLED=''
ZLIB_INC=''
ZLIB_LIB=''
ac_ct_CC='gcc'
ac_ct_CXX=''
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""

configure: exit 77

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Compiling-Mapserver-tp4370929p4376868.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the MapServer-users mailing list