Re: Problems building OCaml-3.01: Tk not found
On Tue, Apr 03, 2001 at 12:32:57PM +0200, Claudio Sacerdoti Coen wrote:
> On Tue, Apr 03, 2001 at 12:28:46 +0200, Sven LUTHER wrote:
> > Ok, will try, ...
>
> Thank you.
>
> > Please send me the output of :
> >
> > dpkg -L tcl8.0-dev
> > dpkg -L tcl8.0
> > dpkg -L tk8.0-dev
> > dpkg -L tk8.0
> >
> > And i will look at it.
>
> They are in attachment (but the versions are 8.2 and not 8.0 on potato).
Ok, you will find (hopelly) a potato friendly, version at :
ftp://lambda.u-strasbg.fr/debian
get the ocaml 3.01-5.1 stuff.
I will not upload this one, since i am waiting for more stuff to go in a
future ocaml 3.01-6 package.
the patch used is attached here also, and was already submitted upstream for
inclusion in the official ocaml packages.
Friendly,
Sven Luther
--- configure.orig Tue Apr 3 12:52:51 2001
+++ configure Tue Apr 3 13:08:48 2001
@@ -921,6 +921,14 @@
tk_defs=-I/usr/local/include
tcl_version=`sh ./runtest $tk_defs tclversion.c 2> /dev/null`
fi
+ if test -z "$tcl_version"; then
+ tk_defs="-I/usr/include/tcl8.2 -I/usr/include/tk8.2"
+ tcl_version=`sh ./runtest $tk_defs tclversion.c 2> /dev/null`
+ fi
+ if test -z "$tcl_version"; then
+ tk_defs="-I/usr/include/tcl8.3 -I/usr/include/tk8.3"
+ tcl_version=`sh ./runtest $tk_defs tclversion.c 2> /dev/null`
+ fi
if test -n "$tcl_version"; then
echo "tcl.h version $tcl_version found."
case $tcl_version in
Reply to: