Kevin Atkinson wrote:
> 
> I am having problem compiling both hugs 1.4 and the prerelease dated
> 3/19.

Some system info would be nice :-|

Redhat 5.2.
Linux version 2.2.4 ([EMAIL PROTECTED]) (gcc version
2.7.2.3) #2 Wed Mar 24 18:13:28 EST 1999

> 
> Any ideas as what is going wrong.
> 
> This is what I get with 1.4:
> 
> 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... 0
> 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... no
> checking for termio.h... no
> checking for termios.h... yes
> checking for signal.h... no
> checking for sys/stat.h... yes
> checking for sys/types.h... yes
> checking for sys/ioctl.h... no
> checking for sys/resource.h... no
> checking for sys/param.h... no
> checking for console.h... no
> checking for pascal.h... no
> checking for Files.h... no
> checking for errno.h... no
> checking for stat.h... no
> checking for nlist.h... no
> 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... no
> 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 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... int
> 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 ../Tests/testScript
> creating ../config.h
> creating ../options.h
> 
> ************************************************
> *** NOW DO: cd .. followed by make install
> ************************************************
> [root@kevins-linux unix]# cd ..
> [root@kevins-linux src]# make install
> gcc -c -g -O2   hugs.c
> machdep.c: In function `RealPath':
> In file included from hugs.c:84:
> machdep.c:262: `MAXPATHLEN' undeclared (first use this function)
> machdep.c:262: (Each undeclared identifier is reported only once
> machdep.c:262: for each function it appears in.)
> machdep.c:262: size of array `path' has non-integer type
> machdep.c: In function `pathCmp':
> machdep.c:280: `MAXPATHLEN' undeclared (first use this function)
> machdep.c:280: size of array `path1' has non-integer type
> machdep.c:281: size of array `path2' has non-integer type
> machdep.c: In function `breakOn':
> In file included from hugs.c:84:
> machdep.c:762: `SIGINT' undeclared (first use this function)
> machdep.c: In function `ignoreBreak':
> machdep.c:771: `SIGINT' undeclared (first use this function)
> make: *** [hugs.o] Error 1
> 
> --
> Kevin Atkinson
> [EMAIL PROTECTED]
> http://metalab.unc.edu/kevina/

-- 
Kevin Atkinson
[EMAIL PROTECTED]
http://metalab.unc.edu/kevina/

Reply via email to