Opened 19 years ago

Closed 19 years ago

#4162 closed defect (worksforme)

BUG: atk install does not automatically pick up location of glib-2

Reported by: frank@… Owned by: mij@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

When installing atk via port, (i.e. sudo port install atk), it does not automatically pick up the location of glib-2, also installed via port.

Steps to reproduce: sudo port install glib2 sudo port install atk Observe error message from atk: "... checking for GLIB - version >= 2.5.7... no * Could not run GLIB test program, checking why... * The test program failed to compile or link. See the file config.log for the * exact error that occured. This usually means GLIB is incorrectly installed. configure: error: * GLIB 2.5.7 or better is required. The latest version of * GLIB is always available from ftp://ftp.gtk.org/. If GLIB is installed * but not in the same location as pkg-config add the location of the file * glib-2.0.pc to the environment variable PKG_CONFIG_PATH.

Warning: the following items did not execute (for atk): com.apple.activate com.apple.configure com.apple.build com.apple.destroot com.apple.archive com.apple.install [frank@prometheus frank]$"

Workaround: [frank@prometheus frank]$ export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig [frank@prometheus frank]$ sudo port install atk

After setting PKG_CONFIG_PATH in my shell and re-running the port install atk command, the configure and install complete without error.

Change History (3)

comment:1 Changed 19 years ago by blb@…

Owner: changed from darwinports-bugs@… to mij@…

Assigning to maintainer.

comment:2 Changed 19 years ago by mww@…

Summary: atk install does not automatically pick up location of glib-2BUG: atk install does not automatically pick up location of glib-2

comment:3 Changed 19 years ago by mij@…

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