Нужно: установить Otcl.
Скачал сорсы. Дальше по инструкции нужно ./configure и make.
Вопрос: куда кидать папку с сорсами Otcl?
В ReadMe написано, чтобы build программу, необходимо иметь доступ к сорсам Tcl( + еще к чему-то...). Tcl сорс нужен, чтобы включить структуры, определенные во внутренних заголовках. Тра ля ля...
Вопрос: где их взять? Я ставил ASP_linux-11. Tcl был уже предустановлен.
Код:
[х@localhost otcl-1.13]$ dir
CHANGES.html config.sub install-sh otclAppInit.c README.html
conf configure lib otcl.c VERSION
config.guess configure.in Makefile.in otcl.h
config.log doc makefile.vc otkAppInit.c
[nik@localhost otcl-1.13]$ ./configure
No .configure file found in current directory // шелл гонит? он есть! см. выше
Continuing with default options...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
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 egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking for main in -lXbsd... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
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... no
checking for tclInt.h... no
checking for libtcl8.4... -L/usr/lib -ltcl8.4
checking for init.tcl... /usr/lib/tcl8.4
checking for http.tcl... /usr/lib/tcl8.4/http1.0
checking Tcl http.tcl library... yes
checking for tclsh8.4.14... no
checking for tclsh8.4... /usr/bin/tclsh8.4
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.
[х@localhost otcl-1.13]$ make
make: *** Не заданы цели и не найден make-файл. Останов.