[MacPorts] #32327: glib2 @2.30.2 cannot run C compiled programs

MacPorts noreply at macports.org
Tue Nov 29 11:55:36 PST 2011


#32327: glib2 @2.30.2 cannot run C compiled programs
-----------------------------------------+----------------------------------
 Reporter:  giordano.marcello@…          |       Owner:  macports-tickets@…                   
     Type:  defect                       |      Status:  new                                  
 Priority:  Normal                       |   Milestone:                                       
Component:  ports                        |     Version:  2.0.3                                
 Keywords:                               |        Port:                                       
-----------------------------------------+----------------------------------
 I'm trying to compile glib2 on my Macbook pro, Os 10.7.2, Xcode 4.2

 The configure stage fails with this error output

 {{{
 checking for suffix of executables...
 checking whether we are cross compiling... configure: error: in
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.30.2':
 configure: error: cannot run C compiled programs.
 If you meant to cross compile, use `--host'.
 See `config.log' for more details
 shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.30.2"
 && ./configure --prefix=/opt/local --enable-static --disable-dtrace "
 returned error 1
 Error: Target org.macports.configure returned: configure failure: shell
 command failed (see log for details)
 DEBUG: Backtrace: configure failure: shell command failed (see log for
 details)
     while executing
 "$procedure $targetname"
 Warning: the following items did not execute (for glib2):
 org.macports.activate org.macports.configure org.macports.build
 org.macports.destroot org.macports.install
 Log for glib2 is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

 The config.log is attached

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


More information about the macports-tickets mailing list