Re: problem configuring

Erik Schoenfelder (schoenfr@gaertner.de)
Tue, 9 Jul 96 23:35:00 +0200

Hi!

graham> ./configure --prefix=/nfs/u1/d7unsupp/scotty-2.1.0 --with-tcl-config /nfs/u1/d7unsupp/tcl7.5/lib --with-tk-config /nfs/u1/d7unsupp/tk4.1/lib
graham> [...]
graham> configure: warning: /nfs/u1/d7unsupp/tcl7.5/lib: invalid host type

try --with-tcl-config=/nfs/u1/d7unsupp/tcl7.5/lib --with-tk-config=/nfs[...]
^^^ ^^^

maybe configure --help could be cleaner:

--- configure.in-dist Tue Jul 9 23:30:35 1996
+++ configure.in Tue Jul 9 23:32:41 1996
@@ -42,10 +42,10 @@
[ --enable-msql use msql extension library],
msql=1, msql=0)
AC_ARG_WITH(tcl-include,
- [ --with-msql-include set the msql include directory],
+ [ --with-msql-include=DIR set the msql include directory],
msql_include=$withval, msql_include="/usr/local/Minerva/include")
AC_ARG_WITH(tcl-library,
- [ --with-msql-library set the msql library directory],
+ [ --with-msql-library=DIR set the msql library directory],
msql_library=$withval, msql_library="/usr/local/Minerva/lib")
if test $msql = 1 ; then
AC_DEFINE(HAVE_MSQL)
@@ -122,7 +122,7 @@
fi

AC_ARG_WITH(tcl-config,
- [ --with-tcl-config path to the tcl configuration file],
+ [ --with-tcl-config=DIR path to the tcl configuration file],
tnm_path_tcl_config=$withval)

dirs="$tnm_path_tcl_config $prefix/lib $tclsh_prefix/lib /usr/local/lib"
@@ -173,7 +173,7 @@
fi

AC_ARG_WITH(tk-config,
- [ --with-tk-config path to the tk configuration file],
+ [ --with-tk-config=DIR path to the tk configuration file],
tnm_path_tk_config=$withval)

dirs="$tnm_path_tk_config $prefix/lib $wish_prefix/lib /usr/local/lib"

Erik