Port Bug Report: file exist in system, but I get error when compiling(gmake).
От | Unprivileged user |
---|---|
Тема | Port Bug Report: |
Дата | |
Msg-id | 199903110219.VAA00902@hub.org обсуждение исходный текст |
Список | pgsql-ports |
============================================================================ POSTGRESQL BUG REPORT TEMPLATE ============================================================================ Your name : Un-chu Kim Your email address : magnolia@wonhyo.dongguk.ac.kr Category : install: compile Severity : critical Summary: <setjmp.h> file exist in system, but I get error when compiling(gmake). System Configuration -------------------- Operating System : SunOS 5.6 PostgreSQL version : 6.4.26 Compiler used : gcc 2.7.2.3 Hardware: --------- Solaris 2.6 Versions of other tools: ------------------------ gmake 3.76.1 flex 2.5.4 -------------------------------------------------------------------------- Problem Description: -------------------- Trying to compile the latest Postgresql 6.4.2 on a SunOS 5.6 I create postgresql directory in /home5/postgres2 I used: $./configure --prefix=/home5/postgres2 $gmake all > & make.log & In bootstrap.c file, it include "setjmp.h" file. That file exist my system. but i have error message. what's problem??? -------------------------------------------------------------------------- Test Case: ---------- I used: $./configure --prefix=/home5/postgres2 loading cache ./config.cache checking host system type... sparc-sun-solaris2.6 checking echo setting... checking setting template to... solaris_sparc_gcc checking setting USE_LOCALE... disabled checking setting CYR_RECODE... disabled checking setting MULTIBYTE... disabled checking setting DEF_PGPORT... 5432 checking setting USE_TCL... disabled checking setting USE_PERL... disabled checking setting USE_ODBC... disabled checking setting ASSERT CHECKING... disabled checking for gcc... (cached) 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... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking whether gcc needs -traditional... (cached) no - setting CPPFLAGS= - setting LDFLAGS= checking for c++... (cached) c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether c++ accepts -g... (cached) yes checking for a BSD compatible install... (cached) /usr/local/bin/install -c checking for flex... (cached) flex checking for yywrap in -lfl... (cached) yes checking whether ln -s works... (cached) yes checking whether make sets ${MAKE}... (cached) yes checking for ranlib... (cached) ranlib checking for find... (cached) /usr/bin/find checking for tar... (cached) /usr/bin/tar checking for split... (cached) /usr/local/bin/split checking for etags... (cached) /usr/local/bin/etags checking for xargs... (cached) /usr/bin/xargs checking for ipcs... (cached) /usr/bin/ipcs checking for ipcrm... (cached) /usr/bin/ipcrm checking for trbsd... (cached) /usr/local/bin/tr checking for gzcat... (cached) /usr/local/bin/zcat checking for bison... (cached) /usr/local/bin/bison - Using /usr/local/bin/bison -y -d checking for main in -lsfio... (cached) no checking for main in -lncurses... (cached) yes checking for main in -ltermcap... (cached) yes checking for main in -lhistory... (cached) no checking for main in -lreadline... (cached) yes checking for write_history in -lreadline... (cached) yes checking for main in -lbsd... (cached) no checking for main in -lm... (cached) yes checking for main in -ldl... (cached) yes checking for main in -lsocket... (cached) yes checking for main in -lnsl... (cached) yes checking for main in -lipc... (cached) no checking for main in -lIPC... (cached) no checking for main in -llc... (cached) no checking for main in -ldld... (cached) no checking for main in -lln... (cached) no checking for main in -lld... (cached) no checking for main in -lcompat... (cached) no checking for main in -lBSD... (cached) no checking for main in -lcrypt... (cached) yes checking for main in -lgen... (cached) yes checking for main in -lPW... (cached) no checking for ANSI C header files... (cached) no checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for limits.h... (cached) yes checking for unistd.h... (cached) yes checking for termios.h... (cached) yes checking for values.h... (cached) yes checking for sys/select.h... (cached) yes checking for sys/resource.h... (cached) yes checking for netdb.h... (cached) yes checking for arpa/inet.h... (cached) yes checking for getopt.h... (cached) no checking for readline.h... (cached) no checking for history.h... (cached) no checking for dld.h... (cached) no checking for crypt.h... (cached) yes checking for endian.h... (cached) no checking for float.h... (cached) yes checking for readline/readline.h... (cached) yes checking for readline/history.h... (cached) no checking for ieeefp.h... (cached) yes checking for fp_class.h... (cached) no checking for netinet/in.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/param.h... (cached) yes checking for pwd.h... (cached) yes checking for working const... (cached) yes checking for uid_t in sys/types.h... (cached) yes checking for inline... (cached) inline checking for mode_t... (cached) yes checking for off_t... (cached) yes checking for size_t... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking for tm_zone in struct tm... (cached) no checking for tzname... (cached) yes checking for type of last arg to accept... size_t checking for int timezone... no checking for gettimeofday args... 2 args checking for union semun... no checking for fcntl(F_SETLK)... no checking for good DBL_MIN... yes checking whether 'long int' is 64 bits... no checking whether 'long long int' is 64 bits... yes checking for 8-bit clean memcmp... (cached) yes checking return type of signal handlers... (cached) void checking for vprintf... (cached) yes checking for tzset... (cached) yes checking for memmove... (cached) yes checking for sigsetjmp... (cached) yes checking for kill... (cached) yes checking for sysconf... (cached) yes checking for fpclass... (cached) yes checking for fp_class... (cached) no checking for fp_class_d... (cached) no checking for class... (cached) no checking for sigprocmask... (cached) yes checking for waitpid... (cached) yes checking for setsid... (cached) yes checking for fcvt... (cached) yes checking for snprintf... (cached) yes checking for isinf... (cached) no checking for getrusage... (cached) yes checking for srandom... (cached) yes checking for gethostname... (cached) yes checking for random... (cached) yes checking for inet_aton... (cached) no checking for strerror... (cached) yes checking for strdup... (cached) yes checking for strtol... (cached) yes checking for strtoul... (cached) yes checking for strcasecmp... (cached) yes checking for cbrt... (cached) yes checking for rint... (cached) yes checking for POSIX signal interface... no checking for tclsh... no checking for tcl... no configure: warning: TCL/TK support disabled; tcl shell is not in your path creating ./config.status creating GNUmakefile creating Makefile.global creating backend/port/Makefile creating backend/catalog/genbki.sh creating backend/utils/Gen_fmgrtab.sh creating bin/pg_dump/Makefile creating bin/pg_version/Makefile creating bin/psql/Makefile creating bin/pgtclsh/mkMakefile.tcldefs.sh creating bin/pgtclsh/mkMakefile.tkdefs.sh creating include/version.h creating interfaces/libpq/Makefile creating interfaces/ecpg/lib/Makefile creating interfaces/libpq++/Makefile creating interfaces/libpgtcl/Makefile creating interfaces/odbc/GNUmakefile creating interfaces/odbc/Makefile.global creating pl/plpgsql/src/Makefile creating pl/plpgsql/src/mklang.sql creating pl/tcl/mkMakefile.tcldefs.sh creating include/config.h include/config.h is unchanged linking ./backend/port/tas/solaris_sparc.s to backend/port/tas.s linking ./backend/port/dynloader/solaris_sparc.c to backend/port/dynloader.c linking ./backend/port/dynloader/solaris_sparc.h to include/dynloader.h linking ./include/port/solaris_sparc.h to include/os.h linking ./makefiles/Makefile.solaris_sparc to Makefile.port linking ./include/port to interfaces/odbc/port linking ./makefiles to interfaces/odbc/makefiles linking ./template to interfaces/odbc/template linking ./include/config.h to interfaces/odbc/config.h Compiling error message: $gmake all > & make.log & gmake lexverify gmake[1]: Entering directory `/home5/postgres2/postgresql-6.4.2/src' gmake -C lextest all gmake[2]: Entering directory `/home5/postgres2/postgresql-6.4.2/src/lextest' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/home5/postgres2/postgresql-6.4.2/src/lextest' gmake[1]: Leaving directory `/home5/postgres2/postgresql-6.4.2/src' gmake -C utils all gmake[1]: Entering directory `/home5/postgres2/postgresql-6.4.2/src/utils' gcc -I../include -I../backend -Wall -Wmissing-prototypes -c version.c -o version.o version.c: In function `ValidatePgVersion': version.c:73: warning: implicit declaration of function `malloc' version.c:73: warning: assignment makes pointer from integer without a cast version.c:78: warning: implicit declaration of function `read' version.c:79: warning: implicit declaration of function `isascii' version.c:85: warning: assignment makes pointer from integer without a cast version.c:94: warning: assignment makes pointer from integer without a cast version.c:104: warning: implicit declaration of function `close' version.c: In function `SetPgVersion': version.c:129: warning: assignment makes pointer from integer without a cast version.c:142: warning: implicit declaration of function `write' version.c:145: warning: assignment makes pointer from integer without a cast gmake[1]: Leaving directory `/home5/postgres2/postgresql-6.4.2/src/utils' gmake -C backend all gmake[1]: Entering directory `/home5/postgres2/postgresql-6.4.2/src/backend' gmake -C utils fmgr.h gmake[2]: Entering directory `/home5/postgres2/postgresql-6.4.2/src/backend/utils' sh Gen_fmgrtab.sh ../../include/catalog/pg_proc.h gmake[2]: Leaving directory `/home5/postgres2/postgresql-6.4.2/src/backend/utils' cp utils/fmgr.h . gmake -C access all gmake[2]: Entering directory `/home5/postgres2/postgresql-6.4.2/src/backend/access' gmake -C common SUBSYS.o gmake[3]: Entering directory `/home5/postgres2/postgresql-6.4.2/src/backend/access/common' gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c heaptuple.c -o heaptuple.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c heapvalid.c -o heapvalid.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c indextuple.c -o indextuple.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c indexvalid.c -o indexvalid.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c printtup.c -o printtup.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c scankey.c -o scankey.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c tupdesc.c -o tupdesc.o ld -r -o SUBSYS.o heaptuple.o heapvalid.o indextuple.o indexvalid.o printtup.o scankey.o tupdesc.o gmake[3]: Leaving directory `/home5/postgres2/postgresql-6.4.2/src/backend/access/common' gmake -C gist SUBSYS.o gmake[3]: Entering directory `/home5/postgres2/postgresql-6.4.2/src/backend/access/gist' gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c gist.c -o gist.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c gistget.c -o gistget.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c gistscan.c -o gistscan.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c giststrat.c -o giststrat.o ld -r -o SUBSYS.o gist.o gistget.o gistscan.o giststrat.o gmake[3]: Leaving directory `/home5/postgres2/postgresql-6.4.2/src/backend/access/gist' gmake -C hash SUBSYS.o gmake[3]: Entering directory `/home5/postgres2/postgresql-6.4.2/src/backend/access/hash' gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c hash.c -o hash.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c hashfunc.c -o hashfunc.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c hashinsert.c -o hashinsert.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c hashovfl.c -o hashovfl.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c hashpage.c -o hashpage.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c hashscan.c -o hashscan.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c hashsearch.c -o hashsearch.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c hashstrat.c -o hashstrat.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c hashutil.c -o hashutil.o ld -r -o SUBSYS.o hash.o hashfunc.o hashinsert.o hashovfl.o hashpage.o hashscan.o hashsearch.o hashstrat.o hashutil.o gmake[3]: Leaving directory `/home5/postgres2/postgresql-6.4.2/src/backend/access/hash' gmake -C heap SUBSYS.o gmake[3]: Entering directory `/home5/postgres2/postgresql-6.4.2/src/backend/access/heap' gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c heapam.c -o heapam.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c hio.c -o hio.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c stats.c -o stats.o ld -r -o SUBSYS.o heapam.o hio.o stats.o gmake[3]: Leaving directory `/home5/postgres2/postgresql-6.4.2/src/backend/access/heap' gmake -C index SUBSYS.o gmake[3]: Entering directory `/home5/postgres2/postgresql-6.4.2/src/backend/access/index' gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c genam.c -o genam.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c indexam.c -o indexam.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c istrat.c -o istrat.o ld -r -o SUBSYS.o genam.o indexam.o istrat.o gmake[3]: Leaving directory `/home5/postgres2/postgresql-6.4.2/src/backend/access/index' gmake -C rtree SUBSYS.o gmake[3]: Entering directory `/home5/postgres2/postgresql-6.4.2/src/backend/access/rtree' gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c rtget.c -o rtget.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c rtproc.c -o rtproc.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c rtree.c -o rtree.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c rtscan.c -o rtscan.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c rtstrat.c -o rtstrat.o ld -r -o SUBSYS.o rtget.o rtproc.o rtree.o rtscan.o rtstrat.o gmake[3]: Leaving directory `/home5/postgres2/postgresql-6.4.2/src/backend/access/rtree' gmake -C nbtree SUBSYS.o gmake[3]: Entering directory `/home5/postgres2/postgresql-6.4.2/src/backend/access/nbtree' gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c nbtcompare.c -o nbtcompare.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c nbtinsert.c -o nbtinsert.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c nbtpage.c -o nbtpage.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c nbtree.c -o nbtree.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c nbtscan.c -o nbtscan.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c nbtsearch.c -o nbtsearch.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c nbtstrat.c -o nbtstrat.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c nbtutils.c -o nbtutils.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c nbtsort.c -o nbtsort.o nbtsort.c: In function `_bt_spool': nbtsort.c:706: warning: implicit declaration of function `qsort' ld -r -o SUBSYS.o nbtcompare.o nbtinsert.o nbtpage.o nbtree.o nbtscan.o nbtsearch.o nbtstrat.o nbtutils.o nbtsort.o gmake[3]: Leaving directory `/home5/postgres2/postgresql-6.4.2/src/backend/access/nbtree' gmake -C transam SUBSYS.o gmake[3]: Entering directory `/home5/postgres2/postgresql-6.4.2/src/backend/access/transam' gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c transam.c -o transam.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c transsup.c -o transsup.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c varsup.c -o varsup.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c xact.c -o xact.o gcc -I../../../include -I../../../backend -Wall -Wmissing-prototypes -I../.. -c xid.c -o xid.o xid.c: In function `xidin': xid.c:37: warning: implicit declaration of function `atol' ld -r -o SUBSYS.o transam.o transsup.o varsup.o xact.o xid.o gmake[3]: Leaving directory `/home5/postgres2/postgresql-6.4.2/src/backend/access/transam' ld -r -o SUBSYS.o common/SUBSYS.o gist/SUBSYS.o hash/SUBSYS.o heap/SUBSYS.o index/SUBSYS.o rtree/SUBSYS.o nbtree/SUBSYS. gmake[2]: Leaving directory `/home5/postgres2/postgresql-6.4.2/src/backend/access' gmake -C bootstrap all gmake[2]: Entering directory `/home5/postgres2/postgresql-6.4.2/src/backend/bootstrap' /usr/local/bin/bison -y -d bootparse.y grep -v "^#" boot.sed > sedfile sed -f sedfile < y.tab.c > bootparse.c mv y.tab.h bootstrap_tokens.h rm -f y.tab.c sedfile gcc -I../../include -I../../backend -Wall -Wmissing-prototypes -I.. -Wno-error -c bootparse.c -o bootparse.o /usr/local/share/bison.simple: In function `Int_yyparse': /usr/local/share/bison.simple:327: warning: implicit declaration of function `Int_yyerror' /usr/local/share/bison.simple:387: warning: implicit declaration of function `Int_yylex' bootparse.y:273: warning: implicit declaration of function `atol' flex bootscanner.l grep -v "^#" boot.sed > sedfile sed -f sedfile < lex.yy.c > bootscanner.c rm -f lex.yy.c sedfile gcc -I../../include -I../../backend -Wall -Wmissing-prototypes -I.. -Wno-error -c bootscanner.c -o bootscanner.o lex.Int_yy.c:683: warning: no previous prototype for `Int_yylex' lex.Int_yy.c: In function `Int_yy_init_buffer': lex.Int_yy.c:1523: warning: implicit declaration of function `fileno' lex.Int_yy.c: In function `Int_yy_flex_alloc': lex.Int_yy.c:1780: warning: implicit declaration of function `malloc' lex.Int_yy.c: In function `Int_yy_flex_realloc': lex.Int_yy.c:1798: warning: implicit declaration of function `realloc' lex.Int_yy.c: In function `Int_yy_flex_free': lex.Int_yy.c:1808: warning: implicit declaration of function `free' bootscanner.l: At top level: bootscanner.l:137: warning: no previous prototype for `Int_yyerror' gcc -I../../include -I../../backend -Wall -Wmissing-prototypes -I.. -Wno-error -c bootstrap.c -o bootstrap.o bootstrap.c:198: parse error before `Warn_restart' bootstrap.c:198: warning: data definition has no type or storage class bootstrap.c: In function `BootstrapMain': bootstrap.c:307: warning: implicit declaration of function `getpid' bootstrap.c:318: warning: implicit declaration of function `getenv' bootstrap.c:318: warning: assignment makes pointer from integer without a cast bootstrap.c:320: warning: implicit declaration of function `getopt' bootstrap.c:344: warning: implicit declaration of function `atoi' bootstrap.c:369: warning: assignment makes pointer from integer without a cast bootstrap.c:412: warning: implicit declaration of function `sigsetjmp' bootstrap.c: In function `boot_openrel': bootstrap.c:468: warning: implicit declaration of function `calloc' bootstrap.c: In function `AllocateAttribute': bootstrap.c:856: warning: implicit declaration of function `malloc' bootstrap.c: In function `AddStr': bootstrap.c:1027: warning: assignment makes pointer from integer without a cast gmake[2]: *** [bootstrap.o] Error 1 gmake[2]: Leaving directory `/home5/postgres2/postgresql-6.4.2/src/backend/bootstrap' gmake[1]: *** [bootstrap.dir] Error 2 gmake[1]: Leaving directory `/home5/postgres2/postgresql-6.4.2/src/backend' gmake: *** [all] Error 2 -------------------------------------------------------------------------- Solution: --------- --------------------------------------------------------------------------
В списке pgsql-ports по дате отправления:
Предыдущее
От: wlin@atmgcm.msrc.sunysb.EduДата:
Сообщение: installation of v6.4.2 failed on digital unix 4.0