Dori,
I've just logged into the Debian box where I last did any work on this.
On that machine (in .../sqlite/bld) I had to issue ../configure
--with-tcl=/usr/lib/tcl8.4/ to get configure to work. I have tcl8.3 and
8.4 on my machine so as you suggest, you might have to use
/usr/local/lib instead.
tclConfig.sh sets some environment variables with the location of the header
files etc.
Sorry for the misinformation earlier, my memory obviously needs reseating. ;)
Martin
Martin,
Thanks for your response.
I found tcl.h under '/usr/local/include', but when I run make after
"configure --with-tcl=/usr/local/include" I get the following error:
"checking for Tcl configuration... configure: error:
/usr/local/include/tcl.h directory doesn't contain tclConfig.sh"
tclConfig.sh is under /usr/local/lib.
Should I ask the administrator to copy it into /usr/local/include or is
there other way to pass this error?
Thanks,
Dori
-----Original Message-----
From: Martin Jenkins [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 04, 2007 3:43 PM
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] Error during compilation of sqlite-3.3.8
Dori,
tcl.h might be on your machine but it might not be where configure is
looking for it.
I don't know if you have "locate" on your HP box but if you do,
run"locate tcl.h", note the location
If you don't have locate, run "find /usr/include -type f -name tcl.h",
note the location
If you located the file, run "configure
--with-tcl=<full_path_to_tcl.h>", make etc as before
If you can't find it, you probably ought to determine whether Tcl is
installed. I don't know how you'd do that on your box but trying to run
the Tcl shell, tclsh, might give you some clue as to what's installed.
HTH
Martin
Dori Meshulam wrote:
Hi,
My name is Dori and I'm trying to compile sqlite-3.3.8 on UNIX HP
machine after downloading sqlite-3.3.8.tar.gz.
I got the following errors while running 'make test' command. I
couldn't
find 'tcl.h' file.
cpp: "../sqlite-3.3.8/src/test1.c", line 19: error 4036: Can't open
include file 'tcl.h'.
../sqlite-3.3.8/src/test2.c:
cpp: "../sqlite-3.3.8/src/test2.c", line 21: error 4036: Can't open
include file 'tcl.h'.
../sqlite-3.3.8/src/test3.c:
cpp: "../sqlite-3.3.8/src/test3.c", line 21: error 4036: Can't open
include file 'tcl.h'.
../sqlite-3.3.8/src/test4.c:
cpp: "../sqlite-3.3.8/src/test4.c", line 17: error 4036: Can't open
include file 'tcl.h'.
../sqlite-3.3.8/src/test5.c:
cpp: "../sqlite-3.3.8/src/test5.c", line 23: error 4036: Can't open
include file 'tcl.h'.
../sqlite-3.3.8/src/test6.c:
cpp: "../sqlite-3.3.8/src/test6.c", line 20: error 4036: Can't open
include file 'tcl.h'.
../sqlite-3.3.8/src/test7.c:
cpp: "../sqlite-3.3.8/src/test7.c", line 18: error 4036: Can't open
include file 'tcl.h'.
../sqlite-3.3.8/src/test8.c:
cpp: "../sqlite-3.3.8/src/test8.c", line 19: error 4036: Can't open
include file 'tcl.h'.
../sqlite-3.3.8/src/test_autoext.c:
cpp: "../sqlite-3.3.8/src/test_autoext.c", line 17: error 4036: Can't
open include file 'tcl.h'.
../sqlite-3.3.8/src/test_async.c:
cpp: "../sqlite-3.3.8/src/test_async.c", line 75: error 4036: Can't
open
include file 'tcl.h'.
../sqlite-3.3.8/src/test_md5.c:
cpp: "../sqlite-3.3.8/src/test_md5.c", line 31: error 4036: Can't open
include file 'tcl.h'.
../sqlite-3.3.8/src/test_schema.c:
cpp: "../sqlite-3.3.8/src/test_schema.c", line 41: error 4036: Can't
open include file 'tcl.h'.
../sqlite-3.3.8/src/test_server.c:
cc: "../sqlite-3.3.8/src/test_server.c", line 1: warning 501: Empty
source file.
../sqlite-3.3.8/src/test_tclvar.c:
cpp: "../sqlite-3.3.8/src/test_tclvar.c", line 22: error 4036: Can't
open include file 'tcl.h'.
Could you let me know where can I get this file from?
Thanks,
Dori Meshulam
This message and the information contained herein is proprietary and
confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp
------------------------------------------------------------------------
-----
To unsubscribe, send email to [EMAIL PROTECTED]
------------------------------------------------------------------------
-----
-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------