I have already download the LINK and STk, and I implement the ways
according to the mannual,
$ ./configure
when I run this command, it appears:
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for gnu's bison... checking for bison... (cached) nope
************************************************************
Error : LINK only works with gnu's "bison."
: bison not found. bison, or a symbolic link to
: bison, must be placed somewhere in PATH
: (also, remove config.cache)
************************************************************
checking for gnu's flex... checking for flex... (cached) nope
************************************************************
Error : LINK only works with gnu's "flex."
: flex not found. flex, or a symbolic link to
: flex, must be placed somewhere in PATH
: (also, remove config.cache)
************************************************************
checking how to run the C++ preprocessor... (cached) c++ -E
checking for POSIXized ISC... no
checking for X... (cached) libraries /usr/X11R6/lib, headers
/usr/X11R6/include
checking for -lICE... (cached) no
checking for -ldnet... (cached) no
checking for -ldnet_stub... (cached) no
checking for -lnsl... (cached) yes
checking for -lsocket... (cached) yes
checking for -lXpm... (cached) no
extra libs: -lnsl -lsocket
extra flags: -I/usr/X11R6/include
extra linker flags: -L/usr/X11R6/lib -R/usr/X11R6/lib
X pre libs:
Multiple precision library: libgmp
checking for libtcl.a in Config.mk... <the path to STk's libtcl.a>
checking for libtk.a in Config.mk... <the path to STk's libtk.a>
checking for libgmp.a in Config.mk... <the path to STk's libgmp.a>
checking for libfl.a in Config.mk... <the path to libfl.a (configure will
proba>
checking whether cross-compiling... (cached) no
checking for ANSI C header files... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking tcl.h in Config.mk... <the path to STk's tcl.h>
checking tk.h in Config.mk... <the path to STk's tk.h>
checking gmp.h in Config.mk... <the path to STk's gmp.h>
checking tcl.h in Config.mk... <the path to this directory>
checking tcl.h in Config.mk... /usr/local
checking to see if template support is adequate... yes
checking nil.h in Config.mk... 3.0b2
checking nil.h in Config.mk... <see /usr/local/lib/stk/3.0b2 for
appropriate st>
updating cache ./config.cache
creating ./config.status
creating Makefile
$ make
Makefile:300: *** commands commence before first target. Stop.
does it mean that I must download the flex and bison, if so,
where and which version I must download, the UNIX I used is Sun,
and also what else do I need to do in order to run the ./configure
well, do I need to correct the configure file and config.mk file both?
if I run ./configure well, shall I run command as following:
make
make libs
or I need to do something else then i can run these command?
because our system manager ask me to do this, I am not familar
with this, I must ask your help.
I appreciate!
sincerely,
Mei liu