Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#1654 closed defect (fixed)

Freetype error when configuring gtk2

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

Description

gtk2 reports the following configure error when I attempt to install it:

checking for freetype-config... /opt/local/bin/freetype-config checking For sufficiently new FreeType (at least 2.0.1)... no configure: error: pangoxft Pango backend found but did not find freetype libraries

Both freetype-2.1.7 and freetype1-1.3.1 are installed.

Attachments (1)

patch-configure (1.1 KB) - added by jkerr@… 20 years ago.
patch for configure file

Download all attachments as: .zip

Change History (7)

comment:1 Changed 20 years ago by toby@…

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

Sounds like it might be finding freetype1. Do you need freetype1 for anything?

comment:2 Changed 20 years ago by esd@…

Well, I actually tried installing freetype1 after I first got the error, and just continued to get the error after it was installed. Uninstalling freetype1 and attempting to install gtk2 produces the same error message.

comment:3 Changed 20 years ago by jkerr@…

I just encountered the same bug .. gtk2 configure fails with the following in error log:

[snip] checking for freetype-config... /opt/local/bin/freetype-config checking For sufficiently new FreeType (at least 2.0.1)... no configure: error: pangoxft Pango backend found but did not find freetype libraries Error: Target com.apple.configure returned: configure failure: shell command "cd "/Users/jason/Development/darwinports/dports/x11/gtk2/work/gtk+-2.2.4" && LDFLAGS="-L/opt/local/lib" CPPFLAGS="-I/opt/local/include -no-cpp-precomp -DX_LOCALE" CFLAGS="-O3 -funroll-loops -fstrict-aliasing" ./configure --prefix=/opt/local --disable-shm --disable-gtk-doc --with-included-loaders --mandir=/opt/local/share/man" returned error 1 [snip]

I'm willing to bet this is the same as bug #1615 ..

I'd -really- like to get to building ethereal .. oh, well ..

comment:4 Changed 20 years ago by jkerr@…

I forgot to mention -

I do -not- have freetype1 installed .. also, Xft2 and pango installed without 'failing' to find freetype.

Changed 20 years ago by jkerr@…

Attachment: patch-configure added

patch for configure file

comment:5 Changed 20 years ago by stefano@…

Cc: stefano@… added

comment:6 Changed 20 years ago by toby@…

Resolution: fixed
Status: newclosed

Attached patch was done in reverse order. Anyway, proper patch has been committed.

Note: See TracTickets for help on using tickets.