<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 26, 2017 at 7:10 PM, Michael Barton <span dir="ltr"><<a href="mailto:Michael.Barton@asu.edu" target="_blank">Michael.Barton@asu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">
<div><br>
</div>
<div>But fontconfig.h is IN the directory I've pointed to in the --with-cairo-includes= statement.</div>
<div><br>
</div>
<div>Here is my configure script:</div>
<div><br>
</div>
<div>./configure --with-macosx-sdk=/Developer/<wbr>SDKs/MacOSX10.8.sdk --with-freetype --with-freetype-includes=/<wbr>Library/Frameworks/FreeType.<wbr>framework/unix/include/ --with-freetype-libs=/Library/<wbr>Frameworks/FreeType.framework/<wbr>unix/lib --with-gdal=/Library/<wbr>Frameworks/GDAL.framework/<wbr>Programs/gdal-config
 --with-gdal-libs=/Library/<wbr>Frameworks/GDAL.framework/<wbr>Libraries --with-proj --with-proj-includes=/Library/<wbr>Frameworks/PROJ.framework/<wbr>unix/include --with-proj-libs=/Library/<wbr>Frameworks/PROJ.framework/<wbr>unix/lib --with-proj-share=/Library/<wbr>Frameworks/PROJ.framework/<wbr>Resources/proj
 --with-geos=/Library/<wbr>Frameworks/GEOS.framework/<wbr>Versions/3/unix/bin/geos-<wbr>config --with-jpeg-includes=/Library/<wbr>Frameworks/UnixImageIO.<wbr>framework/unix/include --with-jpeg-libs=/Library/<wbr>Frameworks/UnixImageIO.<wbr>framework/unix/lib --with-png-includes=/Library/<wbr>Frameworks/UnixImageIO.<wbr>framework/unix/include
 --with-png-libs=/Library/<wbr>Frameworks/UnixImageIO.<wbr>framework/unix/lib --with-tiff-includes=/Library/<wbr>Frameworks/UnixImageIO.<wbr>framework/unix/include --with-tiff-libs=/Library/<wbr>Frameworks/UnixImageIO.<wbr>framework/unix/lib --with-cairo --with-cairo-includes=/<wbr>Library/Frameworks/cairo.<wbr>framework/Headers/
 --with-cairo-libs=/Library/<wbr>Frameworks/cairo.framework/<wbr>unix/lib --with-cairo-ldflags="-lcairo" --without-postgres --without-mysql --with-sqlite <br></div></div></blockquote><div><br>...<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><div>
Finished compilation: Wed Jul 26 17:02:45 MDT 2017<br>
make: *** [default] Error 1<br>
CMB-MacBook-Pro:releasebranch_<wbr>7_2 cmbarton$ cd /Users/cmbarton/grass_<wbr>source/releasebranch_7_2/lib/<wbr>cairodriver<br>
CMB-MacBook-Pro:cairodriver cmbarton$ make<br>
gcc  -g -O2   -arch i386 -isysroot /Developer/SDKs/MacOSX10.8.sdk -fno-common  -I/Users/<wbr>cmbarton/grass_source/<wbr>releasebranch_7_2/dist.x86_64-<wbr>apple-darwin16.7.0/include -I/Users/cmbarton/grass_<wbr>source/releasebranch_7_2/dist.<wbr>x86_64-apple-darwin16.7.0/<wbr>include   -I../driver -I/<wbr>Library/Frameworks/cairo.<wbr>framework/Headers/
 -I/Library/Frameworks/<wbr>FreeType.framework/unix/<wbr>include/ -DPACKAGE=\""<wbr>grasslibs"\"   -I/Users/<wbr>cmbarton/grass_source/<wbr>releasebranch_7_2/dist.x86_64-<wbr>apple-darwin16.7.0/include -I/Users/cmbarton/grass_<wbr>source/releasebranch_7_2/dist.<wbr>x86_64-apple-darwin16.7.0/<wbr>include
 -DRELDIR=\"lib/cairodriver\" -o OBJ.x86_64-apple-darwin16.7.0/<wbr>text.o -c text.c<br>
text.c:20:10: fatal error: 'fontconfig/fontconfig.<wbr>h' file not found<br>
#include <fontconfig/fontconfig.h><br>
         ^<br>
1 error generated.<br>
make: *** [OBJ.x86_64-apple-darwin16.7.<wbr>0/text.o] Error 1</div>
<div><br>
</div></div></blockquote><div><br></div><div>Hi Michael,<br><br>As far as I understand, compiler simply looks at all directories specified by -I (which are configured by ./configure) and pastes the -I path and the path in #include together and tests if the file exists. So I would first double check:<br><br></div><div>ls /<wbr>Library/Frameworks/cairo.<wbr>framework/Headers/<br>ls /<wbr>Library/Frameworks/cairo.<wbr>framework/Headers/fontconfig/fontconfig.h<br><br></div><div>Vaclav<br></div></div></div></div>