[GRASS5] GRASS 5.0.0pre1 compilation on HP-UX

Robert Lagacé lagace at grr.ulaval.ca
Fri May 25 12:08:02 EDT 2001


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.

I can trick my system but it would be better to found a general solution.

THANKS


-- 
Robert Lagacé, professeur
Pavillon Comtois
Université Laval
Ste-Foy, Québec, G1K 7P4
tel : (418)-656-2131#2276
Fax : (418)-656-3723
E-mail : lagace at grr.ulaval.ca



More information about the grass-dev mailing list