#1662 closed defect (fixed)
Problem compiling fontconfig-2.2.2
Reported by: | stefano@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
Hi,
While compiling fontconfig I got this error message:
[stefano@io dports]$ sudo port install fontconfig ---> Building fontconfig with target all Error: Target com.apple.build returned: shell command "cd "/Users/stefano/od/darwinports/dports/ graphics/fontconfig/work/fontconfig-2.2.2" && make all" returned error 2 Command output: make all-recursive Making all in fontconfig make[2]: Nothing to be done for `all'. Making all in fc-lang make[2]: Nothing to be done for `all'. Making all in src if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -I/usr/ X11R6/include/freetype2 -DFONTCONFIG_PATH='"/opt/local/etc/fonts"' -I.. -I../src -I/opt/local/ include -g -O2 -MT fcfreetype.lo -MD -MP -MF ".deps/fcfreetype.Tpo" \
-c -o fcfreetype.lo
test -f 'fcfreetype.c' || echo './'
fcfreetype.c; \
then mv -f ".deps/fcfreetype.Tpo" ".deps/fcfreetype.Plo"; \ else rm -f ".deps/fcfreetype.Tpo"; exit 1; \ fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -I/usr/X11R6/include/freetype2
-DFONTCONFIG_PATH=\"/opt/local/etc/fonts\" -I.. -I../src -I/opt/local/include -g -O2 -MT fcfreetype.lo -MD -MP -MF .deps/fcfreetype.Tpo -c fcfreetype.c -fno-common -DPIC -o .libs/ fcfreetype.o fcfreetype.c:961:2: warning: #warning "No FT_Get_Next_Char" fcfreetype.c: In function `FcFreeTypeQuery': fcfreetype.c:280: error: `PS_FontInfoRec' undeclared (first use in this function) fcfreetype.c:280: error: (Each undeclared identifier is reported only once fcfreetype.c:280: error: for each function it appears in.) fcfreetype.c:280: error: parse error before "psfontinfo" fcfreetype.c:739: error: `psfontinfo' undeclared (first use in this function) make[2]: * [fcfreetype.lo] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2
I did not compile darwinports XFree86 and freetype. I have apple's x11 installed, and I am running on panther 10.3.3.
Change History (1)
comment:1 Changed 21 years ago by toby@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Modified fontconfig Portfile to force the freetype from DP. This should fix these issues once and for all.