Opened 19 years ago

Closed 19 years ago

#4370 closed defect (fixed)

BUG: GTK+ fails to configure

Reported by: opendarwin@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: markd@…
Port:

Description

* BUG DESCRIPTION GTK+ is unable to be found during the configuration phase when building various ports which depend on GTK+. Xchat2 will be used to illustrate.

* STEPS TO REPRODUCE:

  1. % sudo port -d install xchat2
  2. Authenticate.

* EXPECTED BEHAVIOR: Xchat2 and all of its dependencies should be installed and activated, producing an executable xchat2 application.

* ACTUAL BEHAVIOR: All dependincies are (apparently) properly installed and activated. Consequently, xchat2 fails to build its GTK front end, after vomiting the following during configuration:

checking for GTK+ - version >= 2.0.3... no * Could not run GTK+ test program, checking why... * The test program compiled, but did not run. This usually means * that the run-time linker is not finding GTK+ or finding the wrong * version of GTK+. If it is not finding GTK+, you'll need to set your * LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point * to the installed location Also, make sure you have run ldconfig if that * is required on your system * * If you have an old version installed, it is best to remove it, although * you may also be able to get things to work by modifying LD_LIBRARY_PATH

Cannot find GTK! Not building GTK FrontEnd.

At this point, although no executable can be produced, the remainder of xchat2 seems to build and install correctly. If the -v or -d flag is not used with port to see the configure output, the install process appears to have worked perfectly.

SYSTEM INFORMATION:

Hardware Overview:

Machine Name: Power Mac G5 Number Of CPUs: 2 CPU Speed: 1.8 GHz Memory: 2 GB

System Software Overview:

System Version: Mac OS X 10.4.2 (8C46) Kernel Version: Darwin 8.2.0

port version:

Version: 1.011

Last port sync:

August 10, 2005

Change History (4)

comment:1 Changed 19 years ago by opendarwin.org@…

check your pkgconfig version, make sure its up to date. pkgconfig made a change a little while back that broke things.

comment:2 Changed 19 years ago by toby@…

severity: criticalnormal

comment:3 Changed 19 years ago by markd@…

Cc: markd@… added

(In reply to comment #1)

check your pkgconfig version, make sure its up to date. pkgconfig made a change a little while back that broke things.

This port works fine on 10.3 and 10.4 now. Previous updates appear to have fixed it because gtk works on 10.3 and 10.4 now. This bug can be closed.

comment:4 Changed 19 years ago by blb@…

Resolution: fixed
Status: newclosed

Resolving per comment 2.

Note: See TracTickets for help on using tickets.