[GRASS-dev] GRASS ./configure options

marco.pasetti at alice.it marco.pasetti at alice.it
Thu Feb 14 10:37:14 EST 2008


Hi,
 
I'm building GRASS 6.3.0RC4 for MSYS/MinGW
I followed http://grass.gdf-hannover.de/wiki/WinGRASS_Current_Status instructions;
plus enabled postgresql and sqlite
my configure is (I splitted it to let it be more readable):
 
./configure --prefix=/usr/local \
--disable-w11 \
--enable-shared \
--enable-largefile \
--without-jpeg \
--without-tiff \
--without-x \
--with-cxx \
--with-opengl \
--with-fftw \
--with-sqlite \
--with-postgres --with-postgres-includes=/usr/local/pgsql/include --with-postgres-libs=/usr/local/pgsql/bin \
--with-freetype --with-freetype-includes=/usr/local/include/freetype2/freetype --with-freetype-libs=/usr/local/bin \
--with-tcltk --with-tcltk-includes=/usr/local/activetcl/include --with-tcltk-libs=/usr/local/activetcl/bin \
--with-libs=/usr/local/lib \
--with-includes=/usr/local/include \
--with-proj-share=/usr/local/share/proj \
--with-gdal=/usr/local/bin/gdal-config
 
My questions are:
 
1) for many libraries, I sometimes have dlls both in /bin and /lib; how can tell to configure to search in both?
for example, I have freetype dll in /bin but zlib and others in /lib;
while freetypes headers are in /include/freetype2/freetype (I used Paul's WinGRASS-Extralibs, simply unpacking his package in /usr/local)
 
2) wiki says --with-opengl=windows, while ./configure --help says just --with-opengl=yes or no; what should I do?
 
3) wiki says --disable-x11 and --without-x; --without-x is ok, while in ./configure --help I don't find x11 option; it says, instead, --enable (or --disable) --w11, that is not the same! thus I decided to type --disable-w11; is that right?
 
Thanks,
 
Marco
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20080214/27218fca/attachment-0001.html


More information about the grass-dev mailing list