Opened 15 years ago

Last modified 15 years ago

#21653 closed defect

freetype-config is not executable — at Version 6

Reported by: hannes.rosen@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: freetype

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Trying to install wine-devel on snowleopard according to: #20912

Installed freetype with universal variant, tried to install fontconfig universal and got this error;

--->  Configuring fontconfig
--->  Configuring fontconfig for architecture x86_64
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/fontconfig-2.7.3-x86_64" && ./configure --prefix=/opt/local --disable-dependency-tracking --with-docdir=/opt/local/share/doc/fontconfig-2.7.3 --disable-dependency-tracking --with-add-fonts=/usr/X11R6/lib/X11/fonts,/Library/Fonts,/Network/Library/Fonts,/System/Library/Fonts,/opt/local/share/fonts  " returned error 1
Command output: checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for pid_t... yes
checking for vprintf... yes
checking for _doprnt... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for geteuid... yes
checking for getuid... yes
checking for link... yes
checking for memmove... yes
checking for memset... yes
checking for mkstemp... yes
checking for strchr... yes
checking for strrchr... yes
checking for strtol... yes
checking for getopt... yes
checking for getopt_long... yes
checking for sysconf... yes
checking for ftruncate... yes
checking for chsize... no
checking for rand... yes
checking for random... yes
checking for lrand48... yes
checking for a usable iconv... libiconv
checking for freetype-config... no
configure: error: You must have freetype installed; see http://www.freetype.org/

Error: Status 1 encountered during processing.

Change History (6)

comment:1 Changed 15 years ago by blb@…

Owner: changed from macports-tickets@… to ryandesign@…
Summary: Fontconfig won't build on snowleopardFontconfig won't build on snowleopard with +universal

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Port: freetype added; fontconfig removed
Status: newassigned
Summary: Fontconfig won't build on snowleopard with +universalfreetype-config is not executable

It works for me on Snow Leopard. This sounds like a duplicate of #21398 and #21461 in which fontconfig-config is inexplicably not executable and the headers are missing. Can you try rebuilding freetype, then installing fontconfig again?

sudo port -n upgrade --force freetype
sudo port install fontconfig +universal

If that works, can you shed any light on why freetype did not build correctly the first time? I am at a loss to explain it but yours is the third report of this problem.

comment:3 Changed 15 years ago by hannes.rosen@…

I ran those commands and got the following;

hannesrosen:~ hannesrosen$ sudo port -n upgrade --force freetype
Password:
--->  Computing dependencies for freetype
--->  Fetching freetype
--->  Verifying checksum(s) for freetype
--->  Extracting freetype
--->  Applying patches to freetype
--->  Configuring freetype
--->  Configuring freetype for architecture x86_64
--->  Configuring freetype for architecture i386
--->  Building freetype
--->  Building freetype for architecture x86_64
--->  Building freetype for architecture i386
--->  Staging freetype into destroot
--->  Staging freetype into destroot for architecture x86_64
--->  Staging freetype into destroot for architecture i386
--->  Deactivating freetype @2.3.9_1+macosx+universal
--->  Uninstalling freetype @2.3.9_1+macosx+universal
--->  Computing dependencies for freetype
--->  Installing freetype @2.3.9_1+macosx+universal
--->  Activating freetype @2.3.9_1+macosx+universal
--->  Cleaning freetype
hannesrosen:~ hannesrosen$ sudo port install fontconfig +universal
--->  Computing dependencies for fontconfig
--->  Configuring fontconfig
--->  Configuring fontconfig for architecture x86_64
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_fontconfig/work/fontconfig-2.7.3-x86_64" && ./configure --prefix=/opt/local --disable-dependency-tracking --with-docdir=/opt/local/share/doc/fontconfig-2.7.3 --disable-dependency-tracking --with-add-fonts=/usr/X11R6/lib/X11/fonts,/Library/Fonts,/Network/Library/Fonts,/System/Library/Fonts,/opt/local/share/fonts  " returned error 1
Command output: checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for pid_t... yes
checking for vprintf... yes
checking for _doprnt... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for geteuid... yes
checking for getuid... yes
checking for link... yes
checking for memmove... yes
checking for memset... yes
checking for mkstemp... yes
checking for strchr... yes
checking for strrchr... yes
checking for strtol... yes
checking for getopt... yes
checking for getopt_long... yes
checking for sysconf... yes
checking for ftruncate... yes
checking for chsize... no
checking for rand... yes
checking for random... yes
checking for lrand48... yes
checking for a usable iconv... libiconv
checking for freetype-config... no
configure: error: You must have freetype installed; see http://www.freetype.org/

Error: Status 1 encountered during processing.

Which as far as I can tell is the same error as before.

comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

It sure looks like it. Do you have freetype-config in /opt/local/bin? Is it executable?

Is zlib installed universal?

comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

In r58379 I added checks to freetype to make sure zlib has the right arch.

comment:6 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

In r58380 I added a check to fontconfig to ensure each dependency has the right architectures

Note: See TracTickets for help on using tickets.