[GRASS5] Re: 57 compile error

Hamish hamish_nospam at yahoo.com
Thu Dec 11 21:58:16 EST 2003


> > >     --with-includes=/sw/include \
> > >     --with-libs=/sw/lib \
> > 
> > the above two lines
make this one redundant:

> > >     --with-tcltk-libs=/sw/lib/tcl8.4 \

> 
> Are you sure about the last one?


well, on OSX 10.3 with the fink tcltk package, this:


CFLAGS="-Wall" LDFLAGS="-s" ./configure \
  --enable-shared \
  --with-includes="/usr/X11R6/include /sw/include" \
  --with-libs="/usr/X11R6/lib /sw/lib" \
  --without-gd --without-proj --without-postgres \
  --with-gdal --with-readline --with-glw \
  --with-motif --with-cxx --with-odbc --with-freetype \
  --with-freetype-includes=/usr/X11R6/include/freetype2


gives this:

checking whether to use Tcl/Tk... yes
checking for location of Tcl/Tk includes... 
checking for tcl.h... yes
checking for tk.h... yes
checking Tcl version... 8.4
checking Tk version... 8.4
checking for location of Tcl/Tk library... 
checking for Tcl_Init in -ltcl... yes
checking for Tk_MainWindow in -ltk... yes


and it works... so yes, I guess so.


Hamish




More information about the grass-dev mailing list