[GRASS5] GRASS 5.0.0pre1 compilation on HP-UX

Eric G. Miller egm2 at jps.net
Fri May 25 14:51:38 EDT 2001


On Fri, May 25, 2001 at 12:08:02PM -0400, Robert Lagacé wrote:
> I finaly found time to start compiling GRASS 5.0. on my HP-UX and got the
> following 
> message 
> 
> configure: warning: /opt/tk-8.2/include: invalid host type
> configure: warning: /opt/tk-8.2/lib: invalid host type
> configure: error: can only configure for one host and one target at a time
> 
> I call configure with the following command :
> 
> ./configure --prefix=/opt/grass5 --bindir=/opt/grass5/bin --with-SYSV \
>         --with-includes=/opt/libpng/include \
>         --with-libs=/opt/libpng/lib \
>         --with-jpeg-includes=/opt/jpeg-6/include \
>         --with-jpeg-libs=/opt/jpeg-6/lib \
>         --with-tiff-includes=/opt/tiff-3.5/include \
>         --with-tiff-libs=/opt/tiff-3.5/lib \
>         --with-tcltk-includes=/opt/tcl-8.2/include /opt/tk-8.2/include \
>         --with-tcltk-libs=/opt/tcl-8.2/lib /opt/tk-8.2/lib \
>         --with-zlib-includes=/opt/zlib/include \
>         --with-zlib-libs=/opt/zlib/lib \
>         --without-postgresql 
> 
> The problem seem to come because I put two DIR with the --with statement.  
> If only put one DIR, ./configure do not complaint but report that it 
> cannot find tk files.  The problem comes from the fact that tcl and tk 
> are installed in two different directories on HP.

Maybe you should put quotes around multiple DIR's so the shell doesn't
separate them, like:
	--with-tcltk-includes="/opt/tcl-8.2/include /opt/tk-8.2/include"

Otherwise they must be interpreted as an argument to configure for a
particular host type.

$  ./configure --help
Usage: configure [options] [host]
[snip]

-- 
Eric G. Miller <egm2 at jps.net>



More information about the grass-dev mailing list