From: Novick, R. <Randy.Novick@McKesson.com> - 2004-09-23 20:29:40
|
Hello All, I've been tasked with installing the latest cscope on a couple UNIX platforms: HPUX 11.11.0 and AIX 5.1.0 As a matter of course, I do a dry run using cygwin on my local machine and the build went great. Emboldened by my success, I set off to do the HPUX build of cscope and hit a snag. I confess that I'm more a Java guy than a C guy, so the finer points of the compilation are hard for me to grasp. Any help would be much appreciated. Here's the output from configure: *-*-*-*-*-*-*-*-* begin configure dump *-*-*-*-*-*-*-*-* busch:cccode 18> configure 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... no checking for awk... awk checking whether make sets $(MAKE)... yes checking build system type... hppa2.0w-hp-hpux11.11 checking host system type... hppa2.0w-hp-hpux11.11 checking for a BSD-compatible install... ./install-sh -c checking for gcc... cc -Aa 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... no checking whether cc -Aa accepts -g... yes checking for cc -Aa option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of cc -Aa... hp checking for flex... flex checking for yywrap in -lfl... no checking for yywrap in -ll... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for bison... bison -y checking how to run the C preprocessor... cc -Aa -E checking for egrep... grep -E configure: checking "location of ncurses.h file"... Found ncurses on /usr/local/include/ncurses/ncurses.h checking for ncurses version... VERSION:NCURSES_VERSION 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... no checking for unistd.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for regcomp in -lregex... no checking for gnome-config... no checking for pkg-config... no ./configure[4373]: pkg-config: not found. checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/window.h usability... no checking sys/window.h presence... no checking for sys/window.h... no checking sys/termios.h usability... yes checking sys/termios.h presence... yes checking for sys/termios.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for strchr... yes checking for memcpy... Yes checking for memset... yes checking for setmode... no checking for _setmode... no checking for getcwd... yes checking for regcmp... yes checking for regcomp... yes checking for strerror... yes checking for vsnprintf... yes checking for snprintf... yes checking for lstat... yes checking for fixkeypad... no checking whether lstat dereferences a symlink specified with a trailing slash... no checking whether lstat accepts an empty string... no configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating contrib/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands *-*-*-*-*-*-*-*-* end configure dump *-*-*-*-*-*-*-*-* ... and here is the make dump: *-*-*-*-*-*-*-*-* begin make dump *-*-*-*-*-*-*-*-* busch:cccode 19> make No suffix list. make all-recursive No suffix list. Making all in doc No suffix list. Making all in src /bin/sh ../ylwrap `test -f 'fscanner.l' || echo './'`fscanner.l lex.yy.c fscanner.c -- flex source='fscanner.c' object='fscanner.o' libtool=no \ depfile='.deps/fscanner.Po' tmpdepfile='.deps/fscanner.TPo' \ depmode=hp /bin/sh ../depcomp \ cc -Aa -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/ncurses -Ae -DYYCHAR_ARRAY -c `test -f 'fscanner.c' || e ho './'`fscanner.c bison -y `test -f 'egrep.y' || echo './'`egrep.y conflicts: 2 shift/reduce sed '/^#/ s|y\.tab\.c|egrep.c|' y.tab.c >egrep.c rm -f y.tab.c if test -f y.tab.h; then \ to=`echo "egrep_H" | sed \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \ -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \ sed "/^#/ s/Y_TAB_H/$to/g" y.tab.h >egrep.ht; \ rm -f y.tab.h; \ if cmp -s egrep.ht egrep.h; then \ rm -f egrep.ht ;\ else \ mv egrep.ht egrep.h; \ fi; \ fi if test -f y.output; then \ mv y.output egrep.output; \ fi source='egrep.c' object='egrep.o' libtool=no \ depfile='.deps/egrep.Po' tmpdepfile='.deps/egrep.TPo' \ depmode=hp /bin/sh ../depcomp \ cc -Aa -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/ncurses -Ae -DYYCHAR_ARRAY -c `test -f 'egrep.c' || echo './'`egrep.c source='alloc.c' object='alloc.o' libtool=no \ depfile='.deps/alloc.Po' tmpdepfile='.deps/alloc.TPo' \ depmode=hp /bin/sh ../depcomp \ cc -Aa -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/ncurses -Ae -DYYCHAR_ARRAY -c `test -f 'alloc.c' || echo './'`alloc.c source='basename.c' object='basename.o' libtool=no \ depfile='.deps/basename.Po' tmpdepfile='.deps/basename.TPo' \ depmode=hp /bin/sh ../depcomp \ cc -Aa -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/ncurses -Ae -DYYCHAR_ARRAY -c `test -f 'basename.c' || e ho './'`basename.c source='build.c' object='build.o' libtool=no \ depfile='.deps/build.Po' tmpdepfile='.deps/build.TPo' \ depmode=hp /bin/sh ../depcomp \ cc -Aa -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/ncurses -Ae -DYYCHAR_ARRAY -c `test -f 'build.c' || echo './'`build.c cpp: "/usr/local/include/ncurses/ncurses.h", line 58: error 4036: Can't open include file 'ncurses/ncurses_dll.h'. cpp: "/usr/local/include/ncurses/ncurses.h", line 102: error 4036: Can't open include file 'ncurses/unctrl.h'. *** Error exit code 1 Stop. *** Error exit code 1 Stop. *** Error exit code 1 Stop. busch:cccode 20> *-*-*-*-*-*-*-*-* end make dump *-*-*-*-*-*-*-*-* I've looked for the files pointed to by cpp: cpp: "/usr/local/include/ncurses/ncurses.h", line 58: error 4036: Can't open include file 'ncurses/ncurses_dll.h'. cpp: "/usr/local/include/ncurses/ncurses.h", line 102: error 4036: Can't open include file 'ncurses/unctrl.h'. ... and they are there and are readable by anyone and everyone. I'm at a loss for what to do. Does anyone have some advice? -- R Randy Novick McKesson Information Solutions 285 Century Place Louisville, CO 80027 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. |