[MacPorts] #24255: problem to install cdo on 10.6.2

MacPorts noreply at macports.org
Sun Mar 28 01:52:11 PDT 2010


#24255: problem to install cdo on 10.6.2
-----------------------------------------+----------------------------------
 Reporter:  smasson@…                    |       Owner:  macports-tickets@…                   
     Type:  defect                       |      Status:  new                                  
 Priority:  Normal                       |   Milestone:                                       
Component:  ports                        |     Version:  1.8.2                                
 Keywords:  failed to confiigure         |        Port:  cdo                                  
-----------------------------------------+----------------------------------
 Hello[[BR]]

 I cannot install cdo on 10.6.2[[BR]]
 Error occurs in the configure[[BR]]

 {{{
 checking for gcc... /usr/bin/gcc-4.2
 checking for style of include used by make... GNU
 checking for gcc... (cached) /usr/bin/gcc-4.2
 checking for C compiler default output file name...
 configure: error: C compiler cannot create executables
 See `config.log' for more details.
 }}}

 configure.log points to openjpeg (which i installed whitout any
 problems..):

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

 It was created by cdo configure 1.4.3, which was
 generated by GNU Autoconf 2.61.  Invocation command line was

   $ ./configure --prefix=/opt/local --with-netcdf=/opt/local/lib/netcdf-
 devel --disable-dependency-tracking --with-proj=/opt/local --with-
 hdf5=/opt/local --with-zlib=/opt/local --with-szlib=/opt/local

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

 hostname = XXX...
 uname -m = i386
 uname -r = 10.2.0
 uname -s = Darwin
 uname -v = Darwin Kernel Version 10.2.0: Tue Nov  3 10:37:10 PST 2009;
 root:xnu-1486.2.11~1/RELEASE_I386

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

 /bin/arch              = unknown
 /usr/bin/arch -k       = unknown
 /usr/convex/getsysinfo = unknown
 /usr/bin/hostinfo      = Mach kernel version:
          Darwin Kernel Version 10.2.0: Tue Nov  3 10:37:10 PST 2009;
 root:xnu-1486.2.11~1/RELEASE_I386
 Kernel configured for up to 2 processors.
 2 processors are physically available.
 2 processors are logically available.
 Processor type: i486 (Intel 80486)
 Processors active: 0 1
 Primary memory available: 4.00 gigabytes
 Default processor set: 71 tasks, 290 threads, 2 processors
 Load average: 1.51, Mach factor: 0.89
 /bin/machine           = unknown
 /usr/bin/oslevel       = unknown
 /bin/universe          = unknown

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


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

 configure:1827: checking build system type
 configure:1845: result: i386-apple-darwin10.2.0
 configure:1867: checking host system type
 configure:1882: result: i386-apple-darwin10.2.0
 configure:1910: checking build system type
 configure:1928: result: i386-apple-darwin10.2.0
 configure:1968: checking for a BSD-compatible install
 configure:2024: result: /usr/bin/install -c
 configure:2035: checking whether build environment is sane
 configure:2078: result: yes
 configure:2106: checking for a thread-safe mkdir -p
 configure:2145: result: config/install-sh -c -d
 configure:2158: checking for gawk
 configure:2188: result: no
 configure:2158: checking for mawk
 configure:2188: result: no
 configure:2158: checking for nawk
 configure:2188: result: no
 configure:2158: checking for awk
 configure:2174: found /usr/bin/awk
 configure:2185: result: awk
 configure:2196: checking whether make sets $(MAKE)
 configure:2217: result: yes
 configure:2450: checking for gcc
 configure:2477: result: /usr/bin/gcc-4.2
 configure:2515: checking for style of include used by make
 configure:2543: result: GNU
 configure:2613: checking for gcc
 configure:2640: result: /usr/bin/gcc-4.2
 configure:2878: checking for C compiler version
 configure:2885: /usr/bin/gcc-4.2 --version >&5
 i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 1)
 Copyright (C) 2007 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:2888: $? = 0
 configure:2895: /usr/bin/gcc-4.2 -v >&5
 Using built-in specs.
 Target: i686-apple-darwin10
 Configured with: /var/tmp/gcc/gcc-5646.1~2/src/configure --disable-
 checking --enable-werror --prefix=/usr --mandir=/share/man --enable-
 languages=c,objc,c++,obj-c++ --program-transform-
 name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-
 darwin10 --with-gxx-include-dir=/include/c++/4.2.1 --program-prefix=i686
 -apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10
 Thread model: posix
 gcc version 4.2.1 (Apple Inc. build 5646) (dot 1)
 configure:2898: $? = 0
 configure:2905: /usr/bin/gcc-4.2 -V >&5
 gcc-4.2: argument to `-V' is missing
 configure:2908: $? = 1
 configure:2931: checking for C compiler default output file name
 configure:2958: /usr/bin/gcc-4.2 -O2 -arch x86_64 -I/opt/local/lib/netcdf-
 devel/include -L/opt/local/lib/netcdf-devel/lib conftest.c -lopenjpeg
 -lpng >&5
 ld: library not found for -lopenjpeg
 collect2: ld returned 1 exit status
 configure:2961: $? = 1
 configure:2999: result:
 configure: failed program was:
 | /* confdefs.h.  */
 | #define PACKAGE_NAME "cdo"
 | #define PACKAGE_TARNAME "cdo"
 | #define PACKAGE_VERSION "1.4.3"
 | #define PACKAGE_STRING "cdo 1.4.3"
 | #define PACKAGE_BUGREPORT "Uwe.Schulzweida at zmaw.de"
 | #define PACKAGE "cdo"
 | #define VERSION "1.4.3"
 | /* end confdefs.h.  */
 |
 | int
 | main ()
 | {
 |
 |   ;
 |   return 0;
 | }
 configure:3006: error: C compiler cannot create executables
 See `config.log' for more details.

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

 ac_cv_build=i386-apple-darwin10.2.0
 ac_cv_env_AR_set=
 ac_cv_env_AR_value=
 ac_cv_env_CC_set=set
 ac_cv_env_CC_value=/usr/bin/gcc-4.2
 ac_cv_env_CFLAGS_set=set
 ac_cv_env_CFLAGS_value='-O2 -arch x86_64'
 ac_cv_env_CPPFLAGS_set=set
 ac_cv_env_CPPFLAGS_value=-I/opt/local/lib/netcdf-devel/include
 ac_cv_env_CPP_set=
 ac_cv_env_CPP_value=
 ac_cv_env_LDFLAGS_set=set
 ac_cv_env_LDFLAGS_value=-L/opt/local/lib/netcdf-devel/lib
 ac_cv_env_LIBS_set=set
 ac_cv_env_LIBS_value='-lopenjpeg -lpng'
 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=i386-apple-darwin10.2.0
 ac_cv_prog_AWK=awk
 ac_cv_prog_ac_ct_CC=/usr/bin/gcc-4.2
 ac_cv_prog_make_make_set=yes

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

 ACLOCAL='${SHELL}
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_cdo/work/cdo-1.4.3/config/missing
 --run aclocal-1.10'
 AMDEPBACKSLASH=''
 AMDEP_FALSE=''
 AMDEP_TRUE='#'
 AMTAR='${SHELL}
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_cdo/work/cdo-1.4.3/config/missing
 --run tar'
 AR=''
 AS=''
 AUTOCONF='${SHELL}
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_cdo/work/cdo-1.4.3/config/missing
 --run autoconf'
 AUTOHEADER='${SHELL}
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_cdo/work/cdo-1.4.3/config/missing
 --run autoheader'
 AUTOMAKE='${SHELL}
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_cdo/work/cdo-1.4.3/config/missing
 --run automake-1.10'
 AWK='awk'
 CC='/usr/bin/gcc-4.2'
 CCDEPMODE=''
 CFLAGS='-O2 -arch x86_64'
 CPP=''
 CPPFLAGS='-I/opt/local/lib/netcdf-devel/include'
 CYGPATH_W='echo'
 DEFS=''
 DEPDIR='.deps'
 DLLTOOL=''
 ECHO_C='ECHO_N=''
 ECHO_T=''
 EGREP=''
 EXEEXT=''
 GREP=''
 INSTALL_DATA='${INSTALL} -m 644'
 INSTALL_PROGRAM='${INSTALL}'
 INSTALL_SCRIPT='${INSTALL}'
 INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
 LD=''
 LDFLAGS='-L/opt/local/lib/netcdf-devel/lib'
 LIBOBJS=''
 LIBS='-lopenjpeg -lpng'
 LTLIBOBJS=''
 MAKEINFO='${SHELL}
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_cdo/work/cdo-1.4.3/config/missing
 --run makeinfo'
 NM=''
 OBJDUMP=''
 OBJEXT=''
 PACKAGE='cdo'
 PACKAGE_BUGREPORT='Uwe.Schulzweida at zmaw.de'
 PACKAGE_NAME='cdo'
 PACKAGE_STRING='cdo 1.4.3'
 PACKAGE_TARNAME='cdo'
 PACKAGE_VERSION='1.4.3'
 PATH_SEPARATOR=':'
 RANLIB=''
 SET_MAKE=''
 SHELL='/bin/sh'
 STRIP=''
 VERSION='1.4.3'
 ac_ct_CC='/usr/bin/gcc-4.2'
 am__fastdepCC_FALSE=''
 am__fastdepCC_TRUE=''
 am__include='include'
 am__isrc=''
 am__leading_dot='.'
 am__quote=''
 am__tar='${AMTAR} chof - "$$tardir"'
 am__untar='${AMTAR} xf -'
 bindir='${exec_prefix}/bin'
 build='i386-apple-darwin10.2.0'
 build_alias=''
 build_cpu='i386'
 build_os='darwin10.2.0'
 build_vendor='apple'
 datadir='${datarootdir}'
 datarootdir='${prefix}/share'
 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 dvidir='${docdir}'
 exec_prefix='NONE'
 host='i386-apple-darwin10.2.0'
 host_alias=''
 host_cpu='i386'
 host_os='darwin10.2.0'
 host_vendor='apple'
 htmldir='${docdir}'
 includedir='${prefix}/include'
 infodir='${datarootdir}/info'
 install_sh='$(SHELL)
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_cdo/work/cdo-1.4.3/config
 /install-sh'
 libdir='${exec_prefix}/lib'
 libexecdir='${exec_prefix}/libexec'
 localedir='${datarootdir}/locale'
 localstatedir='${prefix}/var'
 mandir='${datarootdir}/man'
 mkdir_p='$(top_builddir)/config/install-sh -c -d'
 oldincludedir='/usr/include'
 pdfdir='${docdir}'
 prefix='/opt/local'
 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 "cdo"
 #define PACKAGE_TARNAME "cdo"
 #define PACKAGE_VERSION "1.4.3"
 #define PACKAGE_STRING "cdo 1.4.3"
 #define PACKAGE_BUGREPORT "Uwe.Schulzweida at zmaw.de"
 #define PACKAGE "cdo"
 #define VERSION "1.4.3"

 configure: exit 77

 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/24255>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list