I solved it. I typo in the configure string. Thanks. Michael ____________________ C. Michael Barton Director, Center for Social Dynamics & Complexity Professor of Anthropology, School of Human Evolution & Social Change Head, Graduate Faculty in Complex Adaptive Systems Science Arizona State University
voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC) fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC) www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu On Jul 26, 2017, at 6:26 PM, Vaclav Petras <[email protected]<mailto:[email protected]>> wrote: On Wed, Jul 26, 2017 at 7:10 PM, Michael Barton <[email protected]<mailto:[email protected]>> wrote: But fontconfig.h is IN the directory I've pointed to in the --with-cairo-includes= statement. Here is my configure script: ./configure --with-macosx-sdk=/Developer/SDKs/MacOSX10.8.sdk --with-freetype --with-freetype-includes=/Library/Frameworks/FreeType.framework/unix/include/ --with-freetype-libs=/Library/Frameworks/FreeType.framework/unix/lib --with-gdal=/Library/Frameworks/GDAL.framework/Programs/gdal-config --with-gdal-libs=/Library/Frameworks/GDAL.framework/Libraries --with-proj --with-proj-includes=/Library/Frameworks/PROJ.framework/unix/include --with-proj-libs=/Library/Frameworks/PROJ.framework/unix/lib --with-proj-share=/Library/Frameworks/PROJ.framework/Resources/proj --with-geos=/Library/Frameworks/GEOS.framework/Versions/3/unix/bin/geos-config --with-jpeg-includes=/Library/Frameworks/UnixImageIO.framework/unix/include --with-jpeg-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib --with-png-includes=/Library/Frameworks/UnixImageIO.framework/unix/include --with-png-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib --with-tiff-includes=/Library/Frameworks/UnixImageIO.framework/unix/include --with-tiff-libs=/Library/Frameworks/UnixImageIO.framework/unix/lib --with-cairo --with-cairo-includes=/Library/Frameworks/cairo.framework/Headers/ --with-cairo-libs=/Library/Frameworks/cairo.framework/unix/lib --with-cairo-ldflags="-lcairo" --without-postgres --without-mysql --with-sqlite ... Finished compilation: Wed Jul 26 17:02:45 MDT 2017 make: *** [default] Error 1 CMB-MacBook-Pro:releasebranch_7_2 cmbarton$ cd /Users/cmbarton/grass_source/releasebranch_7_2/lib/cairodriver CMB-MacBook-Pro:cairodriver cmbarton$ make gcc -g -O2 -arch i386 -isysroot /Developer/SDKs/MacOSX10.8.sdk -fno-common -I/Users/cmbarton/grass_source/releasebranch_7_2/dist.x86_64-apple-darwin16.7.0/include -I/Users/cmbarton/grass_source/releasebranch_7_2/dist.x86_64-apple-darwin16.7.0/include -I../driver -I/Library/Frameworks/cairo.framework/Headers/ -I/Library/Frameworks/FreeType.framework/unix/include/ -DPACKAGE=\""grasslibs"\" -I/Users/cmbarton/grass_source/releasebranch_7_2/dist.x86_64-apple-darwin16.7.0/include -I/Users/cmbarton/grass_source/releasebranch_7_2/dist.x86_64-apple-darwin16.7.0/include -DRELDIR=\"lib/cairodriver\" -o OBJ.x86_64-apple-darwin16.7.0/text.o -c text.c text.c:20:10: fatal error: 'fontconfig/fontconfig.h' file not found #include <fontconfig/fontconfig.h> ^ 1 error generated. make: *** [OBJ.x86_64-apple-darwin16.7.0/text.o] Error 1 Hi Michael, 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: ls /Library/Frameworks/cairo.framework/Headers/ ls /Library/Frameworks/cairo.framework/Headers/fontconfig/fontconfig.h Vaclav
_______________________________________________ grass-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/grass-dev
