[MacPorts] #41123: glib2 @2.38.1_0 Configure error

MacPorts noreply at macports.org
Fri Nov 1 09:33:22 PDT 2013


#41123: glib2 @2.38.1_0 Configure error
--------------------------+--------------------------------
 Reporter:  cfedk@…       |      Owner:  macports-tickets@…
     Type:  defect        |     Status:  new
 Priority:  Low           |  Milestone:
Component:  ports         |    Version:  2.2.1
 Keywords:  python glib2  |       Port:  glib2
--------------------------+--------------------------------
 Configuring glib2 hard-checks `/usr/bin/python` instead of using `env`.
 With python27 installed (via ports):

 {{{#!default
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/main.log

 :debug:configure Environment: CPATH='/opt/local/include' CXXFLAGS='-pipe
 -Os -arch x86_64' CPPFLAGS='-I/opt/local/include'
 ZLIB_CFLAGS='-I/opt/local/include' CFLAGS='-pipe -Os -fstrict-aliasing
 -arch x86_64' LIBRARY_PATH='/opt/local/lib'
 MACOSX_DEPLOYMENT_TARGET='10.9' PERL='/opt/local/bin/perl'
 CXX='/usr/bin/clang++'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/.CC_PRINT_OPTIONS'
 F90FLAGS='-pipe -Os -m64' LDFLAGS='-L/opt/local/lib
 -Wl,-headerpad_max_install_names -lresolv -bind_at_load -arch x86_64'
 LIBFFI_LIBS='-L/opt/local/lib -lffi' FCFLAGS='-pipe -Os -m64'
 OBJC='/usr/bin/clang' OBJCXX='/usr/bin/clang++' INSTALL='/usr/bin/install
 -c' PERL_PATH='/opt/local/bin/perl' PYTHON='/usr/bin/python'
 ZLIB_LIBS='-L/opt/local/lib -lz' FFLAGS='-pipe -Os -m64'
 OBJCXXFLAGS='-pipe -Os -arch x86_64' OBJCFLAGS='-pipe -Os -arch x86_64'
 LIBFFI_CFLAGS='-I/opt/local/lib/libffi-3.0.13/include'
 CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang' PKG_CONFIG='false'
 :debug:configure Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.38.1"
 && ./configure --prefix=/opt/local --enable-static --disable-libelf
 --disable-compile-warnings --disable-dtrace'
 :debug:configure Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.38.1"
 && ./configure --prefix=/opt/local --enable-static --disable-libelf
 --disable-compile-warnings --disable-dtrace
 [...]
 :info:configure checking whether /usr/bin/python version is >= 2.5... no
 :info:configure configure: error: Python interpreter is too old
 }}}
 Solved by `cd /usr/bin && ln -s /opt/local/bin/python`

-- 
Ticket URL: <https://trac.macports.org/ticket/41123>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list