Guys,

I'm trying to install OTcl which is MIT Object Tcl. There is more info here: 
ftp://ftp.tns.lcs.mit.edu/pub/otcl/README.html and you can download it here: 
ftp://ftp.tns.lcs.mit.edu/pub/otcl/.

OTcl requires Tcl/Tk and I have installed it using Fink. I have installed all of the 
packages related to Tcl/Tk that are avilable through Fink. This is what I have listed 
as installed:

i  tcltk           8.3.3-7
i  tcltk-dev       8.3.3-7
i  tcltk-shlibs    8.3.3-7

The OTcl README.html page says that I need sources of Tcl to install it:

"Specifically, OTcl needs the file tclInt.h and tclIntDecls.h from the source code to 
Tcl. If you're building OTcl on a platform with a binary installation of Tcl/Tk you 
must get these header files from the matching source code for your version ot Tcl/Tk."

OK, so I found Tcl source in /sw/src/ and I unzipped/untarred it and found these two 
files in: /sw/src/tcl8.3.3/generic/  directory.

When I do a ./configure inside OTcl directory, this is the output:

--------------------------------------------------
[MB:/otcl-1.0a8] mb# ./configure 
No .configure file found in current directory
Continuing with default options...
checking build system type... powerpc-apple-darwin6.0
checking host system type... powerpc-apple-darwin6.0
checking target system type... powerpc-apple-darwin6.0
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... 
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for string.h... yes
checking for main in -lXbsd... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for dcgettext in -lintl... no
checking for getnodebyname in -ldnet_stub... no
checking that g++ can handle -O2... no
checking standard STL is available... no
checking for tcl.h... -I../tcl8.3.2/generic
checking for libtcl8.3... no
checking for init.tcl... ../tcl8.3.2/library
checking for tclsh8.3.2... no
checking for tclsh8.3... /sw/bin/tclsh8.3
configure: error: Installation of tcl seems incomplete or can't be found automatically.
Please correct the problem by telling configure where tcl is
using the argument --with-tcl=/path/to/package
(perhaps after installing it),
or the package is not required, disable it with --with-tcl=no.
-----------------------------------

OK, so when I specify it 'manually' like this: ./configure 
--with-tcl=/sw/src/tcl8.3.3/generic/
I get the exact same error.  I also tried with --with-tcl=/sw/src/tcl8.3.3/


Can anyone please help me build this package? I really need it for some development.

Thank you all,

/mike


_____________________________________________________________
Fight the power!  BlazeMail.com

_____________________________________________________________
Promote your group and strengthen ties to your members with [EMAIL PROTECTED] by 
Everyone.net  http://www.everyone.net/?btn=tag


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to