Opened 20 years ago

Closed 19 years ago

#2312 closed defect (worksforme)

BUG: pango

Reported by: axp.odbugzilla@… Owned by: mij@…
Priority: Not set Milestone:
Component: ports Version: 1.0
Keywords: Cc: axp.odbugzilla@…
Port:

Description

using "port install pango" failed to compile pango with xft support, needed to add PKG_CONFIG_PATH in the Portfile config.env section:

configure.env CPPFLAGS="-no-cpp-precomp" \

LDFLAGS="-no-undefined -bind_at_load" \

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

Attachments (1)

pango.diff (1.4 KB) - added by jim@… 20 years ago.
pango.diff

Download all attachments as: .zip

Change History (9)

comment:1 Changed 20 years ago by pguyot (Paul Guyot)

Actually, it's more complex than this. I'd like a discussion about this bug, I'll mention it on the mailing list.

comment:2 Changed 20 years ago by snu@…

Owner: changed from darwinports-bugs@… to mij@…
Summary: pango with xft support - need to add PKG_CONFIG_PATH in PortfileBUG: pango

comment:3 Changed 20 years ago by hyclak@…

I'm having the same problem. Unfortunately modifying the PKG_CONFIG_PATH doesn't seem to help. I get the following error message:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Pango\"

-DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/usr/local/etc\" -DLIBDIR=\"/usr/local/lib\" -DMODULE_VERSION=\"1.4.0\" -DG_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DXTHREADS -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -I.. -no-cpp-precomp -g -O2 -Wall -MT pangofc-fontmap.lo -MD -MP -MF .deps/pangofc-fontmap.Tpo -c pangofc-fontmap.c -fno-common -DPIC -o .libs/pangofc-fontmap.o pangofc-fontmap.c: In function `pango_fc_convert_weight_to_fc': pangofc-fontmap.c:538: error: `FC_WEIGHT_NORMAL' undeclared (first use in this function) pangofc-fontmap.c:538: error: (Each undeclared identifier is reported only once pangofc-fontmap.c:538: error: for each function it appears in.) make[4]: * [pangofc-fontmap.lo] Error 1

This is a clean install of darwinports, no fink to worry about. I'm lost...

comment:4 Changed 20 years ago by hyclak@…

Cc: hyclak@… added

comment:5 Changed 20 years ago by paulf@…

bump. Shouldn't the priority be a bit higher than "minor" since it _breaks the build_?

Anyway, ethereal depends on this package. I was attempting to build ethereal from a clean installation of darwinports.

comment:6 Changed 20 years ago by hyclak@…

Cc: hyclak@… removed

Changed 20 years ago by jim@…

Attachment: pango.diff added

pango.diff

comment:7 Changed 20 years ago by mij@…

Status: newassigned

Can those of you having problems test this please? I've never been able to reproduce the issue described, but if it works for those of you having trouble, I'll commit the patch.

comment:8 Changed 19 years ago by mij@…

Resolution: worksforme
Status: assignedclosed

Two months, no replies, and it works for me so I'm assuming this is not an issue any more.

Note: See TracTickets for help on using tickets.