problems after compiling hugs

Sebastian Schulz schulzs@uni-freiburg.de
Wed, 21 Feb 2001 16:55:05 +0100


Dies ist eine mehrteilige Nachricht im MIME-Format.
--------------158D64630616B9F4EB7B8AF5
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi there!

I've just downloaded the sourcepackage of the Feb2001 version. I need to
change the NUM_INSTS variable in the <prelude.h> file, so I did it
before running the ./configure script (in src/unix/ , I'm using
SuseLinux 7.1).
After running the script and installing with "make install" hugs startet
without problems, BUT:
there is no commandline history!! When typing the up-arrow, there appear
only cryptic characters on the sreen.

What is missing?

I've attached the outprint of the ./configure script, not seeing where
the problem is...

thanks
sebastian
--------------158D64630616B9F4EB7B8AF5
Content-Type: text/plain; charset=us-ascii;
 name="instmsg"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="instmsg"

bash-2.04# ./configure
creating cache ./config.cache
checking for bison... bison -y
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for perl... perl
checking whether make sets ${MAKE}... yes
checking for hp2ps... 1
checking for diff... /usr/bin/diff
checking whether to use diff -c1 or diff -C 1... /usr/bin/diff -C 1
checking for function_dlopen... no
checking for library_dl... yes
checking for function_shl_load... no
checking for library_dld... no
checking for function_atan... no
checking for library_m... yes
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for stdarg.h... yes
checking for stdlib.h... yes
checking for unistd.h... yes
checking for assert.h... yes
checking for ctype.h... yes
checking for string.h... yes
checking for fcntl.h... yes
checking for sgtty.h... yes
checking for termio.h... yes
checking for termios.h... yes
checking for signal.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for sys/ioctl.h... yes
checking for sys/resource.h... yes
checking for sys/param.h... yes
checking for console.h... no
checking for pascal.h... no
checking for Files.h... no
checking for errno.h... yes
checking for stat.h... no
checking for nlist.h... no
checking for ftw.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for time.h... yes
checking for sys/time.h... yes
checking for float.h... yes
checking for values.h... yes
checking for dos.h... no
checking for conio.h... no
checking for io.h... no
checking for std.h... no
checking for windows.h... no
checking for dlfcn.h... yes
checking for dl.h... no
checking for alloc.h... no
checking for malloc.h... yes
checking for valloc... yes
checking for strcasecmp... yes
checking for _stricmp... no
checking for stricmp... no
checking for strcmpi... no
checking for strcmp... yes
checking for realpath... yes
checking for _fullpath... no
checking for PBHSetVolSync... no
checking for macsystem... no
checking for fgetpos... yes
checking for fsetpos... yes
checking for fseek... yes
checking for ftell... yes
checking for vsnprintf... yes
checking for _vsnprintf... no
checking for snprintf... yes
checking for _snprintf... no
checking for popen... yes
checking for _popen... no
checking for pclose... yes
checking for _pclose... no
checking for sigprocmask... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for _alloca... no
checking for stime... yes
checking for poly... no
checking for working const... yes
checking prototypes... yes
checking for arrays of jmp_bufs... yes
checking labels as values... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking whether gcc needs -traditional... no
checking for a leading underscore in symbol names
checking for ld... ld
checking size of int... 4
checking size of float... 4
checking size of double... 8
checking size of int*... 4
building large hugs
updating cache ./config.cache
creating ./config.status
creating ../Makefile
creating ../../docs/Makefile
creating ../../docs/hugs.1
creating ../config.h
creating ../options.h

************************************************
*** NOW DO: cd .. followed by make install
************************************************
bash-2.04# cd ..
bash-2.04# make install
gcc -c -g  -O2 hugs.c
gcc -c -g  -O2 storage.c
gcc -c -g  -O2 input.c
gcc -c -g  static.c
gcc -c -g  type.c
gcc -c -g  -O2 subst.c
gcc -c -g  compiler.c
gcc -c -g  -O2 plugin.c
gcc -c -g  -O2 builtin.c
gcc -c -g  -O2 machine.c
gcc -c -g  -O2 output.c
gcc -c -g  -O2 ffi.c
gcc  hugs.o storage.o input.o    static.o type.o subst.o   compiler.o plugin.o builtin.o machine.o output.o ffi.o  -lm -ldl  -o hugs
gcc -c -g  -O2 runhugs.c
gcc -c -g  -O2 server.c
gcc  runhugs.o server.o storage.o input.o    static.o type.o subst.o   compiler.o plugin.o builtin.o machine.o output.o ffi.o  -lm -ldl  -o runhugs
unix/install-sh -d /usr/local/bin
unix/install-sh hugs /usr/local/bin
unix/install-sh runhugs /usr/local/bin
unix/install-sh -d /usr/local/share/hugs/lib
/bin/cp ../lib/*.* /usr/local/share/hugs/lib
unix/install-sh -d /usr/local/share/hugs/lib/hugs
/bin/cp ../lib/hugs/*.*    /usr/local/share/hugs/lib/hugs
unix/install-sh -d /usr/local/share/hugs/lib/exts
/bin/cp ../lib/exts/*.*     /usr/local/share/hugs/lib/exts
unix/install-sh -d /usr/local/share/hugs/demos
unix/install-sh -d /usr/local/share/hugs/demos/prolog
/bin/cp ../demos/*.*            /usr/local/share/hugs/demos
/bin/cp ../demos/prolog/*.*     /usr/local/share/hugs/demos/prolog
/bin/cp ../demos/prolog/readme  /usr/local/share/hugs/demos/prolog
/bin/cp ../demos/prolog/stdlib  /usr/local/share/hugs/demos/prolog
unix/install-sh -d /usr/local/man/man1
/bin/cp ../docs/hugs.1 /usr/local/man/man1                        
--------------158D64630616B9F4EB7B8AF5--