From: Jim Longino Subject: .configure, make errors for joe-2.9.8 To: address@hidden Date: Wed, 08 Oct 2003 10:19:04 -0500 X-Sent: 4 days, 17 hours, 45 minutes, 18 seconds ago I encountered these problems installing joe-2.9.8 on a Solaris 9 box. I've installed joe-2.9.7 on a Solaris 9 box with no problem. -- Jim Longino Systems Analyst I Academic Computing University of South Alabama libproxy2:/root/temp/joe-2.9.8# ./configure checking build system type... sparc-sun-solaris2.9 checking host system type... sparc-sun-solaris2.9 checking target system type... sparc-sun-solaris2.9 checking for a BSD-compatible install... ./install-sh -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no 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 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 style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for egrep... egrep checking for a BSD-compatible install... ./install-sh -c checking whether ln -s works... yes checking for library containing tgetflag... -lncurses checking for library containing snprintf... none required checking for dirent.h that defines DIR... yes checking for library containing opendir. checking POSIX termios... yes checking whether termios.h defines TIOCG checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking sgtty.h usability... yes checking sgtty.h presence... yes checking for sgtty.h... yes checking stdlib.h usability... yes checking stdlib.h presence... yes checking for stdlib.h... yes checking string.h usability... yes checking string.h presence... yes checking for string.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking unistd.h usability... yes checking unistd.h presence... yes checking for unistd.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking ncurses.h usability... no checking ncurses.h presence... no checking for ncurses.h... no checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking sys/dirent.h usability... yes checking sys/dirent.h presence... yes checking for sys/dirent.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking paths.h usability... no checking paths.h presence... no checking for paths.h... no checking term.h usability... no checking term.h presence... yes configure: WARNING: term.h: present but cannot be compiled configure: WARNING: term.h: check for missing prerequisite headers? configure: WARNING: term.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to address@hidden ## configure: WARNING: ## ------------------------------------ ## checking for term.h... yes checking sys/types.h usability... yes checking sys/types.h presence... yes checking for sys/types.h... yes checking sys/stat.h usability... yes checking sys/stat.h presence... yes checking for sys/stat.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for function prototypes... yes checking for an ANSI C-conforming const... yes checking for char... yes checking size of char... 1 checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for void *... yes checking size of void *... 4 checking for sighandler_t... no checking whether gcc needs -traditional... no checking whether lstat dereferences a symlink specified with a trailing slash... no checking whether lstat accepts an empty string... no checking whether setpgrp() takes no arguments... yes checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking return type of signal handlers... void checking whether stat accepts an empty string... no checking for getcwd... yes checking for getwd... yes checking for isblank... no checking for alarm... yes checking for mkdir... yes checking for mkstemp... yes checking for setlocale... yes checking for strchr... yes checking for strdup... yes checking for utime... yes checking for setpgid... yes checking for snprintf... yes checking for setitimer... yes checking for sigaction... yes checking for sigvec... no checking for siginterrupt... yes checking for sigprocmask... yes checking whether sighandlers must be reinstalled... no configure: creating ./config.status config.status: creating Makefile config.status: creating joe.1 config.status: creating joerc config.status: creating jmacsrc config.status: creating jstarrc config.status: creating rjoerc config.status: creating jpicorc config.status: creating autoconf.h config.status: executing depfiles commands libproxy2:/root/temp/joe-2.9.8# make make all-am make[1]: Entering directory `/root/temp/joe-2.9.8' if gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/usr/local/etc/\"" -I/usr/local/i nclude -g -O2 -MT b.o -MD -MP -MF ".deps/b.Tpo" \ -c -o b.o `test -f 'b.c' || echo './'`b.c; \ then mv ".deps/b.Tpo" ".deps/b.Po"; \ else rm -f ".deps/b.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOE nclude -g -O2 -MT blocks.o -MD -MP -MF ".deps/blocks.Tpo" \ -c -o blocks.o `test -f 'blocks.c' || then mv ".deps/blocks.Tpo" ".deps/blocks else rm -f ".deps/blocks.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/usr/local/etc/\"" -I/usr/local/i nclude -g -O2 -MT bw.o -MD -MP -MF ".deps/bw.Tpo" \ -c -o bw.o `test -f 'bw.c' || echo './'`bw.c; \ then mv ".deps/bw.Tpo" ".deps/bw.Po"; \ else rm -f ".deps/bw.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/usr/local/etc/\"" -I/usr/local/i nclude -g -O2 -MT cmd.o -MD -MP -MF ".deps/cmd.Tpo" \ -c -o cmd.o `test -f 'cmd.c' || echo './'`cmd.c; \ then mv ".deps/cmd.Tpo" ".deps/cmd.Po"; \ else rm -f ".deps/cmd.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/usr/local/etc/\"" -I/usr/local/i nclude -g -O2 -MT hash.o -MD -MP -MF ".deps/hash.Tpo" \ -c -o hash.o `test -f 'hash.c' || echo './'`hash.c; \ then mv ".deps/hash.Tpo" ".deps/hash.Po"; \ else rm -f ".deps/hash.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/usr/local/etc/\"" -I/usr/local/i nclude -g -O2 -MT help.o -MD -MP -MF ".deps/help.Tpo" \ -c -o help.o `test -f 'help.c' || echo './'`help.c; \ then mv ".deps/help.Tpo" ".deps/help.Po"; \ else rm -f ".deps/help.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/usr/local/etc/\"" -I/usr/local/i nclude -g -O2 -MT kbd.o -MD -MP -MF ".deps/kbd.Tpo" \ -c -o kbd.o `test -f 'kbd.c' || echo './'`kbd.c; \ then mv ".deps/kbd.Tpo" ".deps/kbd.Po"; \ else rm -f ".deps/kbd.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/usr/local/etc/\"" -I/usr/local/i nclude -g -O2 -MT macro.o -MD -MP -MF ".deps/macro.Tpo" \ -c -o macro.o `test -f 'macro.c' || echo './'`macro.c; \ then mv ".deps/macro.Tpo" ".deps/macro.Po"; \ else rm -f ".deps/macro.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/usr/local/etc/\"" -I/usr/local/i nclude -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" \ -c -o main.o `test -f 'main.c' || echo './'`main.c; \ then mv ".deps/main.Tpo" ".deps/main.Po"; \ else rm -f ".deps/main.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/usr/local/etc/\"" -I/usr/local/i nclude -g -O2 -MT menu.o -MD -MP -MF ".deps/menu.Tpo" \ -c -o menu.o `test -f 'menu.c' || echo './'`menu.c; \ then mv ".deps/menu.Tpo" ".deps/menu.Po"; \ else rm -f ".deps/menu.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/usr/local/etc/\"" -I/usr/local/i nclude -g -O2 -MT path.o -MD -MP -MF ".deps/path.Tpo" \ -c -o path.o `test -f 'path.c' || echo './'`path.c; \ then mv ".deps/path.Tpo" ".deps/path.Po"; \ else rm -f ".deps/path.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/usr/local/etc/\"" -I/usr/local/i nclude -g -O2 -MT poshist.o -MD -MP -MF ".deps/poshist.Tpo" \ -c -o poshist.o `test -f 'poshist.c' || echo './'`poshist.c; \ then mv ".deps/poshist.Tpo" ".deps/poshist.Po"; \ else rm -f ".deps/poshist.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/usr/local/etc/\"" -I/usr/local/i nclude -g -O2 -MT pw.o -MD -MP -MF ".de -c -o pw.o `test -f 'pw.c' || echo './ then mv ".deps/pw.Tpo" ".deps/pw.Po"; \ else rm -f ".deps/pw.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOE nclude -g -O2 -MT queue.o -MD -MP -MF " -c -o queue.o `test -f 'queue.c' || echo './'`queue.c; \ then mv ".deps/queue.Tpo" ".deps/queue.Po"; \ else rm -f ".deps/queue.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/usr/local/etc/\"" -I/usr/local/i nclude -g -O2 -MT qw.o -MD -MP -MF ".deps/qw.Tpo" \ -c -o qw.o `test -f 'qw.c' || echo './'`qw.c; \ then mv ".deps/qw.Tpo" ".deps/qw.Po"; \ else rm -f ".deps/qw.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/usr/local/etc/\"" -I/usr/local/i nclude -g -O2 -MT rc.o -MD -MP -MF ".deps/rc.Tpo" \ -c -o rc.o `test -f 'rc.c' || echo './'`rc.c; \ then mv ".deps/rc.Tpo" ".deps/rc.Po"; \ else rm -f ".deps/rc.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/usr/local/etc/\"" -I/usr/local/i nclude -g -O2 -MT regex.o -MD -MP -MF ".deps/regex.Tpo" \ -c -o regex.o `test -f 'regex.c' || echo './'`regex.c; \ then mv ".deps/regex.Tpo" ".deps/regex.Po"; \ else rm -f ".deps/regex.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/usr/local/etc/\"" -I/usr/local/i nclude -g -O2 -MT scrn.o -MD -MP -MF ".deps/scrn.Tpo" \ -c -o scrn.o `test -f 'scrn.c' || echo './'`scrn.c; \ then mv ".deps/scrn.Tpo" ".deps/scrn.Po"; \ else rm -f ".deps/scrn.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/usr/local/etc/\"" -I/usr/local/i nclude -g -O2 -MT tab.o -MD -MP -MF ".deps/tab.Tpo" \ -c -o tab.o `test -f 'tab.c' || echo './'`tab.c; \ then mv ".deps/tab.Tpo" ".deps/tab.Po"; \ else rm -f ".deps/tab.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/usr/local/etc/\"" -I/usr/local/i nclude -g -O2 -MT termcap.o -MD -MP -MF ".deps/termcap.Tpo" \ -c -o termcap.o `test -f 'termcap.c' || echo './'`termcap.c; \ then mv ".deps/termcap.Tpo" ".deps/termcap.Po"; \ else rm -f ".deps/termcap.Tpo"; exit 1; \ fi In file included from termcap.c:23: /usr/include/term.h:1034: error: parse error before "bool" /usr/include/term.h:1060: error: parse error before "SGTTY" /usr/include/term.h:1081: error: parse error before "sgr_mode" /usr/include/term.h:1082: error: parse error before "sgr_faked" /usr/include/term.h:1092: error: parse error before "funckeystarter" /usr/include/term.h:1094: error: parse error before "_fl_rawmode" /usr/include/term.h:1101: error: parse error before "_input_queue" /usr/include/term.h:1108: error: parse error before '*' token /usr/include/term.h:1111: error: parse error before "bit_vector" /usr/include/term.h:1115: error: parse error before "check_turn_off" /usr/include/term.h:1116: error: parse error before "non_faked_mode" /usr/include/term.h:1117: error: parse error before "_cur_pair" /usr/include/term.h:1118: error: parse error before '*' token /usr/include/term.h:1120: error: parse error before '}' token /usr/include/term.h:1207: error: parse error before "int" /usr/include/term.h:1207: error: `vidputs' declared as function returning a func tion /usr/include/term.h:1207: error: parse error before ')' token termcap.c: In function `texec': termcap.c:516: warning: assignment makes termcap.c:517: warning: passing arg 3 of make[1]: *** [termcap.o] Error 1 make[1]: Leaving directory `/root/temp/joe-2.9.8' make: *** [all] Error 2 libproxy2:/root/temp/joe-2.9.8#