[MacPorts] #27392: gtk+-2.22.1 configure failure: No package 'glib-2.0' found

MacPorts noreply at macports.org
Mon Nov 22 12:39:23 PST 2010


#27392: gtk+-2.22.1 configure failure: No package 'glib-2.0' found
---------------------------------------+------------------------------------
  Reporter:  Peter_Dyballa@…           |       Owner:  macports-tickets@…                   
      Type:  defect                    |      Status:  reopened                             
  Priority:  Normal                    |   Milestone:                                       
 Component:  ports                     |     Version:  1.9.2                                
Resolution:                            |    Keywords:                                       
      Port:  gtk2                      |  
---------------------------------------+------------------------------------

Comment(by JensErikWeber@…):

 Me? I’ve never used -p, just port -vu upgrade outdated. port only exited
 when it tried to compile the new version of gtk2, but apparently not
 while upgrading glib2. I only got an error (“No package 'glib-2.0'
 found” when port is trying to upgrade gtk2.

 I got

 {{{
 $ port provides /opt/local/lib/pkgconfig/glib-2.0.pc
 /opt/local/lib/pkgconfig/glib-2.0.pc does not exist.
 }}}


 In Porticus it looked like glib2 was activated (“Aktiv: 2.26.1_0”), but
 in fact it wasn't:


 {{{
 $ port installed glib2 gtk2
 The following ports are currently installed:
   glib2 @2.26.1_0
   gtk2 @2.22.0_0+x11 (active)
 }}}


 When I tried to activate it in Porticus, I got this error:


 {{{
 Port command started with PID 689
 Activating glib2 @2.26.1_0
 Error: port activate failed: Image error: /opt/local/share/gtk-
 doc/html/gio/gsettings.html
 already exists and does not belong to a registered port.  Unable to
 activate port glib2.
 Use 'port -f activate glib2' to force the activation.
 Executing: /opt/local/bin/port -v activate glib2 at 2.26.1_0
 }}}


 So I forced activation:


 {{{
 $ sudo port -f activate glib2
 Password:
 --->  Activating glib2
 Warning: File /opt/local/share/gtk-doc/html/gio/gsettings.html already
 exists.
 Moving to: /opt/local/share/gtk-doc/html/gio/gsettings.html.mp_1290428665.
 Macintosh:~ jens$ port installed glib2
 The following ports are currently installed:
   glib2 @2.26.1_0 (active)
 }}}


 Afterwards the new version of gtk2 was building without any problems.
 Nevertheless there is something wrong in the upgrade process, something
 that was not caused by me.

 I use Leopard PPC.

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


More information about the macports-tickets mailing list