I am forwarding this (somewhat edited) to the list and to the maintainer. It was sent to me, because I gave advice in a similar situation 5 years ago.
In short: windowmaker-0.92.0-13 does currently not build (on 10.5 and 10.6), because it does not find the include file <fontconfig/fontconfig.h>. The configure script thinks wrongly that it does not need to add -I flags for X11 includes, because it found /usr/include/X11/Intrinsic.h. This is, of course, the usual broken fallback code that kicks in when xmkmf is not found. The windowmaker package has not been updated since xmkmf disappeared. The configure script has either to be told to use -I/usr/X11R6/include or to use Fink's fontconfig in -I/%p/lib/fontconfig2/include. -- Martin -------- Original Message -------- Subject: Re: [Fink-users] fink and windowmaker problem Date: Tue, 11 May 2010 18:04:04 -0700 From: Dead Ballo <[email protected]> To: [email protected] [] The file is there: /usr/X11/include//fontconfig/fontconfig.h The wmaker in fink still doesn't compile, however: Ball-Ohs-MacBook-Pro:~ ball$ fink install windowmaker Password: Information about 8917 packages read in 1 seconds. The following package will be installed or updated: windowmaker The following additional package will be installed: windowmaker-shlibs Do you want to continue? [Y/n] Setting runtime build-lock... [etc] bzip2 -dc /sw/src/WindowMaker-0.92.0.tar.bz2 | /sw/bin/tar -xf - --no-same-owner --no-same-permissions [ -r /sw/fink/dists/unstable/main/finkinfo/x11-wm/windowmaker.patch ] sed 's|@PREFIX@|/sw|g' < /sw/fink/dists/unstable/main/finkinfo/x11-wm/windowmaker.patch | patch -p1 patching file WINGs/wapplication.c patching file WPrefs.app/Menu.c patching file WPrefs.app/Paths.c patching file WindowMaker/Defaults/WindowMaker.in patching file contrib/WindowMaker.spec.in patching file util/wmaker.inst.in perl -pi.bak -e 's,hardcode_direct=yes,hardcode_direct=no,g' configure perl -pi.bak -e 's|/usr/local/Acrobat3/bin/acroread|open -b com.adobe.Reader|g' WindowMaker/plmenu* perl -pi.bak -e 's|/usr/local/GNUstep|/sw/GNUstep|g' WindowMaker/plmenu* WindowMaker/menu* perl -pi.bak -e 's|/usr/local/share/WindowMaker|/sw/share/WindowMaker|g' WindowMaker/plmenu* WindowMaker/menu* perl -pi.bak -e 's|/usr/share/WindowMaker|/sw/share/WindowMaker|g' doc/wmaker.1x doc/sk/wmaker.1x export CPATH=/sw/include ; ./configure --prefix=/sw --enable-gnome --enable-xinerama --mandir=/sw/share/man --with-gnustepdir=/sw/lib/GNUstep ac_cv_c_inline_asm=no; make [etc] checking for inet_aton... yes checking for X... libraries , headers in standard search path [for the headers, this is wrong. M.C.] checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for _Xsetlocale in -lX11... yes checking for XInternAtoms in -lX11... yes checking for XConvertCase in -lX11... yes checking for XShapeSelectInput in -lXext... yes checking for the Xft2 library... found checking whether libXft is at least version 2.1.0... yes checking for XineramaQueryScreens in -lXinerama... yes checking for XineramaGetInfo in -lXext... no checking for XShmAttach in -lXext... yes checking for shmget... yes checking for XpmCreatePixmapFromData in -lXpm... yes checking X11/xpm.h usability... yes checking X11/xpm.h presence... yes checking for X11/xpm.h... yes [etc] Window Maker was configured as follows: Installation path prefix : /sw Installation path for binaries : /sw/bin Installation path for WPrefs.app : /sw/lib/GNUstep/Applications Supported graphic format libraries : XPM PNG JPEG GIF TIFF builtin-PPM Use assembly routines for wrlib : no Use inline MMX(tm) x86 assembly : no Antialiased text support in WINGs : yes Xinerama extension support : yes Translated message files to install : None Making all in wrlib [etc] 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 main.c 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 WPrefs.c 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 Appearance.c 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 Configurations.c 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 Expert.c 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 Focus.c 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 ... 6866 files and directories currently installed.) Removing fink-buildlock-windowmaker-0.92.0-13 ... Failed: phase compiling: windowmaker-0.92.0-13 failed Before reporting any errors, please run "fink selfupdate" and try again. If you continue to have issues, please check to see if the FAQ on fink's website solves the problem. If not, ask on the fink-users or fink-beginners mailing lists, with a carbon copy to the maintainer: Max Horn <[email protected]> Note that this is preferable to emailing the maintainer directly, since most fink package maintainers do not have access to all possible hardware and software configurations. ------------------------------------------------------------------------------ _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
