Opened 20 years ago

Closed 19 years ago

#2909 closed defect (fixed)

BUG: gtk2 fails to build because it can't find pango

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

Description

When trying to install ethereal on a new system gtk2 fails to build. Pango seems to be installed properly but gtk2 can't find it. I installed the rc2 version of darwinports and did a selfupdate before installing ethereal.

checking for X11/extensions/sync.h... yes checking for xfixes... checking Pango flags... -DXTHREADS -I/opt/local/include/pango-1.0 -I/opt/ local/include -I/opt/local/include/freetype2 -I/usr/X11R6/include -I/opt/local/include/glib-2.0 -I/ opt/local/lib/glib-2.0/include -L/opt/local/lib -lpangoxft-1.0 -lpangox-1.0 configure: error: * Can't link to Pango. Pango is required to build * GTK+. For more information see http://www.pango.org

Change History (5)

comment:1 Changed 20 years ago by snu@…

Summary: gtk2 fails to build because it can't find pangoBUG: gtk2 fails to build because it can't find pango

comment:2 Changed 20 years ago by davidg.roberts@…

Also fails with same error message when trying to install gftp.

comment:3 Changed 20 years ago by momo971@…

Hello everybody. I'm new in darwinports but i'm a familiar french (froggy) user of Linux since 1998. Please consider problems with Pango due to PKG_CONFIG_PATH. In my point of view, most of erros of compilations with Pango or GTK are linked with PKG_CONFIG environment path!! :-( I've just installed gtk 2.6.x without any problem. What have to be done: Before installing software in dependencies with pango, just do under xTerm or MACOSX terminal:

PKG_CONFIG_PATH="/opt/local/lib/pkgconfig:/opt/local/lib/pkgconfig"

export PKG_CONFIG_PATH

echo PKG_CONFIG_PATH

normaly it will write:

/opt/local/lib/pkgconfig:/opt/local/lib/pkgconfig

considering you've installed DarwinPorts in your root directory

Then you can install pango with command line: sudo port install Pango

repeat the PKG_CONFIG_PATH procedure and do: sudo port install gtk2

I've tested this with Mozilla wich needs GTK+ wich needs Pango, gtk2 with command line:

sudo port install mozilla and I'm writing under Mozilla this message :-)))

So, this is not bug, but misconfiguration.... Please apologize my poor english because i'm french. I hope you understood. Best regards to DarwinPorts... Morgan, a froggy darwinian

comment:4 Changed 20 years ago by momo971@…

Hello everybody. I'm new in darwinports but i'm a familiar french (froggy) user of Linux since 1998. Please consider problems with Pango due to PKG_CONFIG_PATH. In my point of view, most of erros of compilations with Pango or GTK are linked with PKG_CONFIG environment path!! :-( I've just installed gtk 2.6.x without any problem. What have to be done: Before installing software in dependencies with pango, just do under xTerm or MACOSX terminal:

PKG_CONFIG_PATH="/opt/local/lib/pkgconfig:/opt/local/lib/pkgconfig"

export PKG_CONFIG_PATH

echo PKG_CONFIG_PATH

normaly it will write:

/opt/local/lib/pkgconfig:/opt/local/lib/pkgconfig

considering you've installed DarwinPorts in your root directory

Then you can install pango with command line: sudo port install Pango

repeat the PKG_CONFIG_PATH procedure and do: sudo port install gtk2

I've tested this with Mozilla wich needs GTK+ wich needs Pango, gtk2 with command line:

sudo port install mozilla and I'm writing under Mozilla this message :-)))

So, this is not bug, but misconfiguration.... Please apologize my poor english because i'm french. I hope you understood. Best regards to DarwinPorts... Morgan, a froggy darwinian

comment:5 Changed 19 years ago by mij@…

Resolution: fixed
Status: newclosed

This was fixed a bit ago, but I forgot to close the bug.

Note: See TracTickets for help on using tickets.