I had not installed fc-ghostscript-fonts. I did that and it fails here:
gcc -DHAVE_CONFIG_H -I. -I. -I../src -I../wrlib -I../WINGs -I/sw/include   
-DLOCALEDIR=\"/sw/lib/locale\"  -fno-strict-aliasing -g -O2 -c FontSimple.c
FontSimple.c:26:35: error: fontconfig/fontconfig.h: No such file or directory
FontSimple.c:148: error: 'FC_WEIGHT_LIGHT' undeclared here (not in a function)
FontSimple.c:150: error: 'FC_WEIGHT_MEDIUM' undeclared here (not in a function)
FontSimple.c:151: error: 'FC_WEIGHT_DEMIBOLD' undeclared here (not in a 
function)
FontSimple.c:152: error: 'FC_WEIGHT_BOLD' undeclared here (not in a function)
FontSimple.c:154: error: 'FC_WEIGHT_BLACK' undeclared here (not in a function)
FontSimple.c:162: error: 'FC_SLANT_ROMAN' undeclared here (not in a function)
FontSimple.c:162: error: initializer element is not constant
FontSimple.c:162: error: (near initialization for 'fontSlants[0].slant')
FontSimple.c:163: error: 'FC_SLANT_ITALIC' undeclared here (not in a function)
FontSimple.c:163: error: initializer element is not constant
FontSimple.c:163: error: (near initialization for 'fontSlants[1].slant')
FontSimple.c:164: error: 'FC_SLANT_OBLIQUE' undeclared here (not in a function)
FontSimple.c:164: error: initializer element is not constant
FontSimple.c:164: error: (near initialization for 'fontSlants[2].slant')
FontSimple.c: In function 'lookup_available_fonts':
FontSimple.c:215: error: 'FcPattern' undeclared (first use in this function)
FontSimple.c:215: error: (Each undeclared identifier is reported only once
FontSimple.c:215: error: for each function it appears in.)
FontSimple.c:215: error: 'pat' undeclared (first use in this function)
FontSimple.c:215: error: invalid operands to binary * (have 'struct <anonymous> 
*' and 'struct <anonymous> *')
FontSimple.c:216: error: 'FcObjectSet' undeclared (first use in this function)
FontSimple.c:216: error: 'os' undeclared (first use in this function)
FontSimple.c:216: error: invalid operands to binary * (have 'struct <anonymous> 
*' and 'struct <anonymous> *')
FontSimple.c:217: error: 'FcFontSet' undeclared (first use in this function)
FontSimple.c:217: error: 'fonts' undeclared (first use in this function)
FontSimple.c:217: error: invalid operands to binary * (have 'struct <anonymous> 
*' and 'struct <anonymous> *')
FontSimple.c:220: error: 'FC_FAMILY' undeclared (first use in this function)
FontSimple.c:220: error: 'FC_WEIGHT' undeclared (first use in this function)
FontSimple.c:220: error: 'FC_SLANT' undeclared (first use in this function)
FontSimple.c:230: error: 'struct <anonymous>' has no member named 'nfont'
FontSimple.c:230: error: invalid operands to binary * (have 'long unsigned int' 
and 'struct <anonymous> *')
FontSimple.c:230: warning: passing argument 1 of 'wmalloc' makes integer from 
pointer without a cast
FontSimple.c:232: error: 'struct <anonymous>' has no member named 'nfont'
FontSimple.c:232: warning: comparison between pointer and integer
FontSimple.c:234: error: 'FcChar8' undeclared (first use in this function)
FontSimple.c:234: error: 'name' undeclared (first use in this function)
FontSimple.c:234: error: invalid operands to binary * (have 'struct <anonymous> 
*' and 'struct <anonymous> *')
FontSimple.c:238: error: 'struct <anonymous>' has no member named 'fonts'
FontSimple.c:238: error: 'FcResultMatch' undeclared (first use in this function)
FontSimple.c:238: warning: comparison between pointer and integer
FontSimple.c:241: error: 'struct <anonymous>' has no member named 'fonts'
FontSimple.c:241: warning: comparison between pointer and integer
FontSimple.c:242: warning: assignment makes integer from pointer without a cast
FontSimple.c:244: error: 'struct <anonymous>' has no member named 'fonts'
FontSimple.c:244: warning: comparison between pointer and integer
FontSimple.c:247: error: 'struct <anonymous>' has no member named 'fonts'
FontSimple.c:247: warning: comparison between pointer and integer
FontSimple.c:248: warning: assignment makes integer from pointer without a cast
FontSimple.c:252: warning: passing argument 2 of 'strcasecmp' from incompatible 
pointer type
FontSimple.c:257: warning: passing argument 1 of 'wstrdup' from incompatible 
pointer type
FontSimple.c:291: warning: assignment makes integer from pointer without a cast
FontSimple.c:292: warning: assignment makes integer from pointer without a cast
FontSimple.c:294: warning: assignment makes integer from pointer without a cast
FontSimple.c:295: warning: assignment makes integer from pointer without a cast
FontSimple.c:302: warning: assignment makes integer from pointer without a cast
FontSimple.c:303: warning: assignment makes integer from pointer without a cast
FontSimple.c:305: warning: assignment makes integer from pointer without a cast
FontSimple.c:306: warning: assignment makes integer from pointer without a cast
FontSimple.c: In function 'getSelectedFont':
FontSimple.c:315: error: 'FcPattern' undeclared (first use in this function)
FontSimple.c:315: error: 'pat' undeclared (first use in this function)
FontSimple.c:315: error: invalid operands to binary * (have 'struct <anonymous> 
*' and 'struct <anonymous> *')
FontSimple.c:321: error: 'FC_FAMILY' undeclared (first use in this function)
FontSimple.c:330: error: 'FC_WEIGHT' undeclared (first use in this function)
FontSimple.c:336: error: 'FC_SLANT' undeclared (first use in this function)
FontSimple.c:343: error: 'FC_PIXEL_SIZE' undeclared (first use in this function)
FontSimple.c:347: warning: assignment makes pointer from integer without a cast
FontSimple.c: In function 'selectedOption':
FontSimple.c:491: error: 'FcPattern' undeclared (first use in this function)
FontSimple.c:491: error: 'pat' undeclared (first use in this function)
FontSimple.c:491: error: invalid operands to binary * (have 'struct <anonymous> 
*' and 'struct <anonymous> *')
FontSimple.c:496: error: 'FcChar8' undeclared (first use in this function)
FontSimple.c:496: error: 'name' undeclared (first use in this function)
FontSimple.c:496: error: invalid operands to binary * (have 'struct <anonymous> 
*' and 'struct <anonymous> *')
FontSimple.c:504: error: 'FC_FAMILY' undeclared (first use in this function)
FontSimple.c:504: error: 'FcResultMatch' undeclared (first use in this function)
FontSimple.c:504: warning: comparison between pointer and integer
FontSimple.c:514: warning: passing argument 2 of 'strcasecmp' from incompatible 
pointer type
FontSimple.c:527: error: 'FC_WEIGHT' undeclared (first use in this function)
FontSimple.c:527: warning: comparison between pointer and integer
FontSimple.c:529: warning: comparison between pointer and integer
FontSimple.c:531: error: 'FC_SLANT' undeclared (first use in this function)
FontSimple.c:531: warning: comparison between pointer and integer
FontSimple.c:532: warning: assignment makes integer from pointer without a cast
FontSimple.c:534: error: 'FC_PIXEL_SIZE' undeclared (first use in this function)
FontSimple.c:534: warning: comparison between pointer and integer
make[2]: *** [FontSimple.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
### execution of export failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-windowmaker-0.92.0-13
(Reading database ... 670185 files and directories currently installed.)
Removing fink-buildlock-windowmaker-0.92.0-13 ...
Failed: phase compiling: windowmaker-0.92.0-13 failed

Any help would be appreciated.

Richard E. Miles
[email protected]



------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to