[GRASS-dev] odd configure error on MacOS X

Dylan Beaudette dylan.beaudette at gmail.com
Thu Jul 28 09:35:18 EDT 2011


With this morning's SVN from GRASS 6.5 and 7, I am getting a strange
error on the configure step:

export NAD2BIN=/Library/Frameworks/PROJ.framework/Programs/nad2bin

./configure \
--without-motif --without-glw --without-odbc --without-cairo \
--with-opengl=aqua --enable-sysv --with-x --with-cxx \
--with-freetype --enable-largefile --with-wxwidgets \
--prefix=/Applications --enable-macosx-app --with-macosx-archs=i386 \
--with-includes=/usr/include \
--with-libs=/usr/lib \
--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/Versions/4/Resources/proj \
--with-tiff-includes=/Library/Frameworks/UnixImageIO.framework/Versions/C/unix/include
\
--with-tiff-libs=/Library/Frameworks/UnixImageIO.framework/Versions/C/unix/lib \
--with-png-includes=/Library/Frameworks/UnixImageIO.framework/Versions/C/unix/include
\
--with-png-libs=/Library/Frameworks/UnixImageIO.framework/Versions/C/unix/lib \
--with-postgres \
--with-postgres-includes=/usr/local/pgsql/include \
--with-postgres-libs=/usr/local/pgsql/lib \
--with-sqlite \
--with-sqlite-includes=/Library/Frameworks/SQLite3.framework/Versions/3/unix/include
\
--with-sqlite-libs=/Library/Frameworks/SQLite3.framework/Versions/3/unix/lib \
--with-readline \
--with-readline-includes=/sw/include/readline \
--with-readline-libs=/sw/lib \
#
# these cause errors :
#
--with-cairo \
--with-cairo-includes=/sw/include/cairo \
--with-cairo-libs=/sw/lib \
--with-cairo-ldflags=-lfontconfig

[output truncated ...]

checking whether to use Cairo... yes
checking for location of cairo includes... /sw/include/cairo
checking for cairo.h... yes
checking for location of cairo library... /sw/lib
checking for cairo linking flags... -lfontconfig
checking for cairo_create... no
configure: error: *** Unable to locate .
                                                  ^^^^^ <- this is a
strange error!

Any ideas?

Cheers,
Dylan


More information about the grass-dev mailing list