[MacPorts] #30809: gtk2 fails to build on lion: `/opt/local/lib/libfreetype.la' is not a valid libtool archive

MacPorts noreply at macports.org
Thu Oct 6 15:49:23 PDT 2011


#30809: gtk2 fails to build on lion: `/opt/local/lib/libfreetype.la' is not a valid
libtool archive
--------------------------------+-------------------------------------------
  Reporter:  hofione@…          |       Owner:  macports-tickets@…                   
      Type:  defect             |      Status:  reopened                             
  Priority:  Normal             |   Milestone:                                       
 Component:  ports              |     Version:  2.0.1                                
Resolution:                     |    Keywords:  lion                                 
      Port:  gtk2               |  
--------------------------------+-------------------------------------------

Comment(by qhuys@…):

 So I had the same problem. The log file was:

 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk2/gtk2/work/gtk+-2.24.6"
 && /usr/bin/make -j4 -w all " returned error 2
 :error:build Target org.macports.build returned: shell command failed (see
 log for details)

 So being new and naive, I cd'd into /opt/local.../work/gtk+-2.24.6 and
 simply typed:


 {{{
 make -j4 -w all
 }}}


 which ran happily without errors.

 Then, I ran

 {{{
 sudo port install gtk2
 }}}

 again, and this time it happily continued. Mind you... I'm not sure
 whether I might have broken something?

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


More information about the macports-tickets mailing list