[GRASS5] Re: 57 compile error

Glynn Clements glynn.clements at virgin.net
Fri Dec 12 12:19:40 EST 2003


Hamish wrote:

> > > >     --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.

Actually, --with-libs=/sw/lib makes --with-tcltk-libs=/sw/lib
redundant; which is fortunate, as it wasn't given.

No doubt /sw/lib/tcl8.4 is the directory which contains the Tcl files
(init.tcl etc); in which case, there's no point passing it to
configure.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-dev mailing list