Closed Bug 532112 Opened 12 years ago Closed 12 years ago
.h not found during configure check
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:126.96.36.199) Gecko/20091102 Firefox/3.5.5 Build Identifier: With the checkin for bug 527980, configure fails on Darwin/X11: checking for fontconfig/fcfreetype.h... no configure: error: Can't find header fontconfig/fcfreetype.h. *** Fix above errors and then restart with "make -f client.mk build" make: *** [configure] Error 1 Config.log says: configure:22269: checking for fontconfig/fcfreetype.h configure:22279: gcc-4.2 -arch x86_64 -E -isysroot /Developer/SDKs/MacOSX10.5.sdk -I/sw64/include/freetype2 -I/sw64/include conftest.c >/dev/null 2>conftest.out configure:22275:35: error: fontconfig/fcfreetype.h: No such file or directory configure: failed program was: #line 22274 "configure" #include "confdefs.h" #include <fontconfig/fcfreetype.h> And fontconfig/fcfreetype.h is in /usr/X11/include/fontconfig/fcfreetype.h Reproducible: Always Adding $XCFLAGS to $CPPFLAGS in the relevant configure.in test allows the build to finish successfully.
Version: unspecified → Trunk
wanted, but certainly not blocking or urgent given the current schedule
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: wanted1.9.2? → wanted1.9.2+
Perhaps I should have used pkg-config. For future reference, does that work as expected on Darwin?
[nieder] $ pkg-config --cflags fontconfig -I/usr/X11/include
Comment on attachment 415407 [details] [diff] [review] adds XCFLAGS to CPPFLAGS in configure Oops. That should have been an approval request for 1.9.2 since the patch from bug 527980 landed there as well (although having it wanted is of course nice too :)
Attachment #415407 - Flags: approval1.9.2?
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
Attachment #415407 - Flags: approval1.9.2? → approval1.9.2+
Comment on attachment 415407 [details] [diff] [review] adds XCFLAGS to CPPFLAGS in configure a192=beltzner, post-hoc, reed has been appropriately scolded.
Whiteboard: needs checkin to 1.9.2 branch
You need to log in before you can comment on or make changes to this bug.