Opened 15 years ago
Closed 15 years ago
#21653 closed defect (fixed)
freetype-config is not executable
Reported by: | hannes.rosen@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
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 (13)
comment:1 Changed 15 years ago by blb@…
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Summary: | Fontconfig won't build on snowleopard → Fontconfig won't build on snowleopard with +universal |
comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | freetype added; fontconfig removed |
---|---|
Status: | new → assigned |
Summary: | Fontconfig won't build on snowleopard with +universal → freetype-config is not executable |
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 follow-up: 7 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
comment:7 follow-up: 8 Changed 15 years ago by hannes.rosen@…
Replying to ryandesign@…:
It sure looks like it. Do you have freetype-config in /opt/local/bin? Is it executable?
Is zlib installed universal?
I do have freetype-config in /opt/local/bin, I have no opinion on if it's executable or not. I have no knowledge to test it. I have a folder named zlib, found it using spotlight - I don't know if it is installed or not.
comment:8 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to hannes.rosen@…:
I do have freetype-config in /opt/local/bin, I have no opinion on if it's executable or not. I have no knowledge to test it.
You could try to execute it, e.g.
/opt/local/bin/freetype-config --libs
What does it say?
I have a folder named zlib, found it using spotlight - I don't know if it is installed or not.
zlib is definitely installed because it is a dependency of freetype. The question is whether it is installed universal or not. You can find out by typing
port installed zlib
comment:9 Changed 15 years ago by hannes.rosen@…
hannesrosen:~ hannesrosen$ /opt/local/bin/freetype-config --libs -bash: /opt/local/bin/freetype-config: Permission denied
hannesrosen:~ hannesrosen$ port installed zlib The following ports are currently installed: zlib @1.2.3_3 (active)
This is what I get from running those two commands.
comment:10 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Ok. Then freetype-config is not executable, and zlib is not installed universal. Please rebuild zlib universal, then rebuild freetype, then try again.
sudo port upgrade --enforce-variants zlib +universal sudo port -n upgrade --force freetype
Remember that anytime you want to install anything universal, its dependencies must be universal too.
comment:11 Changed 15 years ago by hannes.rosen@…
I did not get any errors when running these two commands, they seemed to install rather nicely. I tried to run
sudo port install wine-devel
after that and got this back;
$ sudo port install wine-devel ---> Computing dependencies for libxml2 ---> Fetching libxml2 ---> Attempting to fetch libxml2-2.7.5.tar.gz from http://arn.se.distfiles.macports.org/libxml2 ---> Verifying checksum(s) for libxml2 ---> Extracting libxml2 ---> Configuring libxml2 ---> Building libxml2 ---> Staging libxml2 into destroot ---> Deactivating libxml2 @2.7.3_0 ---> Computing dependencies for libxml2 ---> Installing libxml2 @2.7.5_0 ---> Activating libxml2 @2.7.5_0 ---> Cleaning libxml2 ---> Computing dependencies for libxslt ---> Fetching libxslt ---> Attempting to fetch libxslt-1.1.26.tar.gz from http://arn.se.distfiles.macports.org/libxslt ---> Verifying checksum(s) for libxslt ---> Extracting libxslt ---> Configuring libxslt ---> Building libxslt ---> Staging libxslt into destroot ---> Deactivating libxslt @1.1.24_2 ---> Computing dependencies for libxslt ---> Installing libxslt @1.1.26_0 ---> Activating libxslt @1.1.26_0 ---> Cleaning libxslt ---> Computing dependencies for xorg-xproto ---> Fetching xorg-xproto ---> Attempting to fetch xproto-7.0.16.tar.bz2 from http://arn.se.distfiles.macports.org/xorg-xproto ---> Verifying checksum(s) for xorg-xproto ---> Extracting xorg-xproto ---> Configuring xorg-xproto ---> Building xorg-xproto ---> Staging xorg-xproto into destroot ---> Deactivating xorg-xproto @7.0.15_0 ---> Computing dependencies for xorg-xproto ---> Installing xorg-xproto @7.0.16_0 ---> Activating xorg-xproto @7.0.16_0 ---> Cleaning xorg-xproto ---> Computing dependencies for xorg-util-macros ---> Fetching xorg-util-macros ---> Attempting to fetch util-macros-1.3.0.tar.bz2 from http://arn.se.distfiles.macports.org/xorg-util-macros ---> Verifying checksum(s) for xorg-util-macros ---> Extracting xorg-util-macros ---> Configuring xorg-util-macros ---> Building xorg-util-macros ---> Staging xorg-util-macros into destroot ---> Deactivating xorg-util-macros @1.2.2_0 ---> Computing dependencies for xorg-util-macros ---> Installing xorg-util-macros @1.3.0_0 ---> Activating xorg-util-macros @1.3.0_0 ---> Cleaning xorg-util-macros ---> Computing dependencies for xorg-libXdmcp ---> Fetching xorg-libXdmcp ---> Attempting to fetch libXdmcp-1.0.3.tar.bz2 from http://arn.se.distfiles.macports.org/xorg-libXdmcp ---> Verifying checksum(s) for xorg-libXdmcp ---> Extracting xorg-libXdmcp ---> Configuring xorg-libXdmcp ---> Building xorg-libXdmcp ---> Staging xorg-libXdmcp into destroot ---> Deactivating xorg-libXdmcp @1.0.2_1 ---> Computing dependencies for xorg-libXdmcp ---> Installing xorg-libXdmcp @1.0.3_0 ---> Activating xorg-libXdmcp @1.0.3_0 ---> Cleaning xorg-libXdmcp ---> Computing dependencies for xorg-libXmu ---> Fetching xorg-libXmu ---> Attempting to fetch libXmu-1.0.5.tar.bz2 from http://arn.se.distfiles.macports.org/xorg-libXmu ---> Verifying checksum(s) for xorg-libXmu ---> Extracting xorg-libXmu ---> Configuring xorg-libXmu ---> Building xorg-libXmu ---> Staging xorg-libXmu into destroot ---> Deactivating xorg-libXmu @1.0.4_1 ---> Computing dependencies for xorg-libXmu ---> Installing xorg-libXmu @1.0.5_0 ---> Activating xorg-libXmu @1.0.5_0 ---> Cleaning xorg-libXmu ---> Computing dependencies for wine-devel ---> Configuring fontconfig ---> Building fontconfig ---> Staging fontconfig into destroot ---> Installing fontconfig @2.7.3_0+macosx ---> Activating fontconfig @2.7.3_0+macosx ---> Cleaning fontconfig ---> Configuring wine-devel ---> Building wine-devel Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_wine-devel/work/wine-1.1.29" && /usr/bin/make -j2 depend all " returned error 2 Command output: /usr/bin/gcc-4.2 -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -I/opt/local/include -D_DARWIN_NO_64_BIT_INODE -O2 -arch i386 -o wininet_main.o wininet_main.c ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -foversion.res version.rc ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -fowininet_Bg.res wininet_Bg.rc ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -fowininet_Cs.res wininet_Cs.rc ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -fowininet_Da.res wininet_Da.rc ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -fowininet_De.res wininet_De.rc ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -fowininet_En.res wininet_En.rc ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -fowininet_Eo.res wininet_Eo.rc ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -fowininet_Es.res wininet_Es.rc ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -fowininet_Fi.res wininet_Fi.rc ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -fowininet_Fr.res wininet_Fr.rc ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -fowininet_Hu.res wininet_Hu.rc ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -fowininet_It.res wininet_It.rc ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -fowininet_Ja.res wininet_Ja.rc ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -fowininet_Ko.res wininet_Ko.rc ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -fowininet_Lt.res wininet_Lt.rc ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -fowininet_Nl.res wininet_Nl.rc ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -fowininet_No.res wininet_No.rc ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -fowininet_Pl.res wininet_Pl.rc ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -fowininet_Pt.res wininet_Pt.rc ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -fowininet_Ro.res wininet_Ro.rc ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -fowininet_Ru.res wininet_Ru.rc ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -fowininet_Si.res wininet_Si.rc ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -fowininet_Sv.res wininet_Sv.rc ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -fowininet_Tr.res wininet_Tr.rc ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -fowininet_Uk.res wininet_Uk.rc ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WINESRC__ -D_WINX32_ -fowininet_Zh.res wininet_Zh.rc ../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../.. -shared ./wininet.spec cookie.o dialogs.o ftp.o gopher.o http.o internet.o netconnection.o urlcache.o utility.o wininet_main.o version.res wininet_Bg.res wininet_Cs.res wininet_Da.res wininet_De.res wininet_En.res wininet_Eo.res wininet_Es.res wininet_Fi.res wininet_Fr.res wininet_Hu.res wininet_It.res wininet_Ja.res wininet_Ko.res wininet_Lt.res wininet_Nl.res wininet_No.res wininet_Pl.res wininet_Pt.res wininet_Ro.res wininet_Ru.res wininet_Si.res wininet_Sv.res wininet_Tr.res wininet_Uk.res wininet_Zh.res -o wininet.dll.so -lsecur32 -lcrypt32 -lmpr -lshlwapi -lshell32 -luser32 -ladvapi32 -lkernel32 -lntdll -Wb,-dsecur32 -Wb,-dcrypt32 ../../libs/port/libwine_port.a -lz -L/opt/local/lib -framework CoreServices -lz ../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../.. -shared ./wininet.spec cookie.o dialogs.o ftp.o gopher.o http.o internet.o netconnection.o urlcache.o utility.o wininet_main.o version.res wininet_Bg.res wininet_Cs.res wininet_Da.res wininet_De.res wininet_En.res wininet_Eo.res wininet_Es.res wininet_Fi.res wininet_Fr.res wininet_Hu.res wininet_It.res wininet_Ja.res wininet_Ko.res wininet_Lt.res wininet_Nl.res wininet_No.res wininet_Pl.res wininet_Pt.res wininet_Ro.res wininet_Ru.res wininet_Si.res wininet_Sv.res wininet_Tr.res wininet_Uk.res wininet_Zh.res -o wininet.dll.fake -lsecur32 -lcrypt32 -lmpr -lshlwapi -lshell32 -luser32 -ladvapi32 -lkernel32 -lntdll -Wb,-dsecur32 -Wb,-dcrypt32 ../../libs/port/libwine_port.a -lz -L/opt/local/lib -framework CoreServices -lz make: *** [dlls] Error 2 Error: Status 1 encountered during processing.
I don't know if it's progress or not but at least it's different! ;)
-Hannes
comment:12 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
All of those ports, except wine-devel which doesn't have one, need to be installed with their universal variants. Yesterday I added code to wine-devel to alert you to that fact. Just a few moments ago I updated wine-devel to 1.1.30. Please "sudo port selfupdate" to update your port definitions and try again and you should see that message.
comment:13 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
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?
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.