Opened 15 years ago

Closed 15 years ago

#20383 closed defect (invalid)

Perl GTK2 build fails due to libpangocairo version

Reported by: kelly.harding@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: p5-gtk2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Running Leopard on an iBook G4. Trying to get Perl-GTK2 installed so I can build Zim wiki.

This error is also preventing other compiled apps from running (complain libpangocairo is too old (easytag is one)).


running Mkbootstrap for Gtk2 ()
chmod 644 Gtk2.bs
rm -f blib/arch/auto/Gtk2/Gtk2.bundle
[ LD blib/arch/auto/Gtk2/Gtk2.bundle ]
chmod 755 blib/arch/auto/Gtk2/Gtk2.bundle
cp Gtk2.bs blib/arch/auto/Gtk2/Gtk2.bs
chmod 644 blib/arch/auto/Gtk2/Gtk2.bs
Creating stock items POD...
Can't load 'blib/arch/auto/Gtk2/Gtk2.bundle' for module Gtk2: dlopen(blib/arch/auto/Gtk2/Gtk2.bundle, 1): Library not loaded: /opt/local/lib/libpangocairo-1.0.0.dylib
  Referenced from: /opt/local/lib/libgtk-x11-2.0.0.dylib
  Reason: Incompatible library version: libgtk-x11-2.0.0.dylib requires version 2401.0.0 or later, but libpangocairo-1.0.0.dylib provides version 2301.0.0 at /opt/local/lib/perl5/5.8.9/darwin-2level/DynaLoader.pm line 230.
 at tools/podifystockitems.pl line 0
Compilation failed in require.
BEGIN failed--compilation aborted.
make: *** [build/stock_items.podi] Error 2
  TSCH/Gtk2-1.221.tar.gz
  /usr/bin/make -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible

Change History (7)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Port: p5-gtk2 added

Works here. What does port installed pango say?

comment:2 Changed 15 years ago by kelly.harding@…

it shows:

pango @1.24.4_0+macosx (active)

comment:3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Can you try syncing your ports and updating pango? On my system I have pango 1.24.5 which does provide libpangocairo version 2401.5.0.

$ otool -L /mp/lib/libpangocairo-1.0.0.dylib | head -n 2
/mp/lib/libpangocairo-1.0.0.dylib:
        /mp/lib/libpangocairo-1.0.0.dylib (compatibility version 2401.0.0, current version 2401.5.0)

comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:5 Changed 15 years ago by kelly.harding@…

Will try and report back.

comment:6 Changed 15 years ago by kelly.harding@…

That seems to have enabled Gtk2 / P5-gtk2 to install now. Now to see if Zim will install/run fine.

comment:7 Changed 15 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.