Hello List!
we try to compile pgpool-II-2.3.1on Solaris10.
./configure works without errors, but make produces the following errors:
make[2]: *** [libsql-parser.a] Error 1
make[2]: Leaving directory `/opt/pgpool-II-2.3.1/parser'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/pgpool-II-2.3.1'
make: *** [all] Error 2
We also tried combinations of pgpool-II-2.3.1 and 2.2.6 with
PostgreSQL 7.4 / 8.3.9 / 8.4.2 (from sunfreeware.com) with the same result.
Can you please help us!
Our environment:
Solaris10 SPARC
SunOS edna 5.10 Generic_141414-02 sun4u sparc SUNW,Sun-Fire-V440
gcc 3.4.3 and gmake 3.8.1
env:
LC_MONETARY=de_DE.ISO8859-15
TERM=vt100
SHELL=/usr/bin/bash
LC_NUMERIC=de_DE.ISO8859-15
OLDPWD=/opt/pgpool-II-2.3.1/parser
SSH_TTY=/dev/pts/1
USER=root
LD_LIBRARY_PATH=/lib:/usr/local/lib:/usr/sfw/lib:/usr/lib/:/usr/local/pgsql/lib/
SSH_AUTH_SOCK=/tmp/ssh-DXNv3566/agent.3566
LIBPATH=/lib:/usr/local/lib:/usr/sfw/lib:/usr/lib/:/usr/local/pgsql/lib/
MAIL=/var/mail//root
PATH=/usr/sbin:/usr/bin:/usr/sfw/bin/:/usr/css/bin:/usr/local/bin/:/usr/local/sbin
LC_MESSAGES=de
LC_COLLATE=de_DE.ISO8859-15
PWD=/opt/pgpool-II-2.3.1
EDITOR=vi
LANG=de_DE.UTF-8
TZ=Europe/Berlin
SHLVL=1
HOME=/
LOGNAME=root
LC_CTYPE=de_DE.ISO8859-15
DISPLAY=localhost:10.0
LC_TIME=de_DE.ISO8859-15
_=/usr/bin/env
--
---
Joachim Rieger
agimatec GmbH
Adenauerallee 73
D-53113 Bonn
phone +49(0)228 184 869 80 - 31
telefax +49(0)228 184 869 80 - 15
e-mail: [email protected]
URL: http://www.agimatec.de
Geschäftsführer: Walter Gritzner / Jörg Tittes
HRB 14607 Amtsgericht Bonn
checking for gcc... gcc
checking for C compiler default output file name... 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 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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... :
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... egrep
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
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... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 262144
checking command to parse /usr/ccs/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for ar... false
checking for ranlib... (cached) :
checking for strip... :
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries...
yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries...
yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries...
yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
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 for -Wall option... yes
checking for -Wmissing-prototypes option... yes
checking for -Wmissing-declarations option... yes
checking for main in -lm... yes
checking for main in -lnsl... yes
checking for main in -lsocket... yes
checking for main in -lipc... no
checking for main in -lIPC... no
checking for main in -llc... no
checking for main in -lcompat... no
checking for main in -lBSD... no
checking for main in -lgen... yes
checking for main in -lPW... no
checking for main in -lresolv... yes
checking for main in -lcrypt... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/types.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether long int is 64 bits... no
checking whether long long int is 64 bits... yes
checking snprintf format for long long int... %lld
checking for unsigned long... yes
checking size of unsigned long... 4
checking for void *... yes
checking size of void *... 4
checking for size_t... yes
checking size of size_t... 4
checking whether to build with float4 passed by value... yes
checking whether to build with float8 passed by value... no
checking for struct sockaddr_storage... yes
checking for struct sockaddr_storage.ss_family... yes
checking for struct sockaddr_storage.__ss_family... no
checking for struct sockaddr_storage.ss_len... no
checking for struct sockaddr_storage.__ss_len... no
checking for struct sockaddr.sa_len... no
checking for union semun... no
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... yes
checking for wait3 that fills in rusage... no
checking types of arguments for accept()... int, int, struct sockaddr *, int *
checking for setsid... yes
checking for select... yes
checking for socket... yes
checking for sigprocmask... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... yes
checking for strtok... yes
checking for asprintf... no
checking for gai_strerror... yes
checking for hstrerror... yes
checking for pstat... no
checking for setproctitle... no
checking for pg_config... no
checking for PQexecPrepared in -lpq... yes
checking for PQprepare... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating parser/Makefile
config.status: creating pcp/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
make all-recursive
make[1]: Entering directory `/opt/pgpool-II-2.3.1'
Making all in parser
make[2]: Entering directory `/opt/pgpool-II-2.3.1/parser'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I .. -I
/usr/local/pgsql/include -g -O2 -Wall -Wmissing-prototypes
-Wmissing-declarations -MT gram.o -MD -MP -MF ".deps/gram.Tpo" -c -o gram.o
gram.c; \
then mv -f ".deps/gram.Tpo" ".deps/gram.Po"; else rm -f
".deps/gram.Tpo"; exit 1; fi
In file included from gram.y:11160:
scan.c:2620: warning: no previous prototype for 'base_yyget_lineno'
scan.c:2629: warning: no previous prototype for 'base_yyget_in'
scan.c:2637: warning: no previous prototype for 'base_yyget_out'
scan.c:2645: warning: no previous prototype for 'base_yyget_leng'
scan.c:2654: warning: no previous prototype for 'base_yyget_text'
scan.c:2663: warning: no previous prototype for 'base_yyset_lineno'
scan.c:2675: warning: no previous prototype for 'base_yyset_in'
scan.c:2680: warning: no previous prototype for 'base_yyset_out'
scan.c:2685: warning: no previous prototype for 'base_yyget_debug'
scan.c:2690: warning: no previous prototype for 'base_yyset_debug'
scan.c:2724: warning: no previous prototype for 'base_yylex_destroy'
gram.y: In function `insertSelectOptions':
gram.y:10898: warning: statement with no effect
gram.y: In function `base_yyparse':
gram.y:8762: warning: statement with no effect
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I .. -I
/usr/local/pgsql/include -g -O2 -Wall -Wmissing-prototypes
-Wmissing-declarations -MT list.o -MD -MP -MF ".deps/list.Tpo" -c -o list.o
list.c; \
then mv -f ".deps/list.Tpo" ".deps/list.Po"; else rm -f
".deps/list.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I .. -I
/usr/local/pgsql/include -g -O2 -Wall -Wmissing-prototypes
-Wmissing-declarations -MT makefuncs.o -MD -MP -MF ".deps/makefuncs.Tpo" -c -o
makefuncs.o makefuncs.c; \
then mv -f ".deps/makefuncs.Tpo" ".deps/makefuncs.Po"; else rm -f
".deps/makefuncs.Tpo"; exit 1; fi
makefuncs.c: In function `flatCopyTargetEntry':
makefuncs.c:142: warning: statement with no effect
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I .. -I
/usr/local/pgsql/include -g -O2 -Wall -Wmissing-prototypes
-Wmissing-declarations -MT nodes.o -MD -MP -MF ".deps/nodes.Tpo" -c -o nodes.o
nodes.c; \
then mv -f ".deps/nodes.Tpo" ".deps/nodes.Po"; else rm -f
".deps/nodes.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I .. -I
/usr/local/pgsql/include -g -O2 -Wall -Wmissing-prototypes
-Wmissing-declarations -MT parser.o -MD -MP -MF ".deps/parser.Tpo" -c -o
parser.o parser.c; \
then mv -f ".deps/parser.Tpo" ".deps/parser.Po"; else rm -f
".deps/parser.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I .. -I
/usr/local/pgsql/include -g -O2 -Wall -Wmissing-prototypes
-Wmissing-declarations -MT pool_memory.o -MD -MP -MF ".deps/pool_memory.Tpo" -c
-o pool_memory.o pool_memory.c; \
then mv -f ".deps/pool_memory.Tpo" ".deps/pool_memory.Po"; else rm -f
".deps/pool_memory.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I .. -I
/usr/local/pgsql/include -g -O2 -Wall -Wmissing-prototypes
-Wmissing-declarations -MT pool_string.o -MD -MP -MF ".deps/pool_string.Tpo" -c
-o pool_string.o pool_string.c; \
then mv -f ".deps/pool_string.Tpo" ".deps/pool_string.Po"; else rm -f
".deps/pool_string.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I .. -I
/usr/local/pgsql/include -g -O2 -Wall -Wmissing-prototypes
-Wmissing-declarations -MT value.o -MD -MP -MF ".deps/value.Tpo" -c -o value.o
value.c; \
then mv -f ".deps/value.Tpo" ".deps/value.Po"; else rm -f
".deps/value.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I .. -I
/usr/local/pgsql/include -g -O2 -Wall -Wmissing-prototypes
-Wmissing-declarations -MT keywords.o -MD -MP -MF ".deps/keywords.Tpo" -c -o
keywords.o keywords.c; \
then mv -f ".deps/keywords.Tpo" ".deps/keywords.Po"; else rm -f
".deps/keywords.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I .. -I
/usr/local/pgsql/include -g -O2 -Wall -Wmissing-prototypes
-Wmissing-declarations -MT outfuncs.o -MD -MP -MF ".deps/outfuncs.Tpo" -c -o
outfuncs.o outfuncs.c; \
then mv -f ".deps/outfuncs.Tpo" ".deps/outfuncs.Po"; else rm -f
".deps/outfuncs.Tpo"; exit 1; fi
outfuncs.c: In function `_outGrantStmt':
outfuncs.c:3528: warning: enumeration value `ACL_OBJECT_COLUMN' not handled in
switch
outfuncs.c:3528: warning: enumeration value `ACL_OBJECT_FDW' not handled in
switch
outfuncs.c:3528: warning: enumeration value `ACL_OBJECT_FOREIGN_SERVER' not
handled in switch
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I .. -I
/usr/local/pgsql/include -g -O2 -Wall -Wmissing-prototypes
-Wmissing-declarations -MT copyfuncs.o -MD -MP -MF ".deps/copyfuncs.Tpo" -c -o
copyfuncs.o copyfuncs.c; \
then mv -f ".deps/copyfuncs.Tpo" ".deps/copyfuncs.Po"; else rm -f
".deps/copyfuncs.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I .. -I
/usr/local/pgsql/include -g -O2 -Wall -Wmissing-prototypes
-Wmissing-declarations -MT kwlookup.o -MD -MP -MF ".deps/kwlookup.Tpo" -c -o
kwlookup.o kwlookup.c; \
then mv -f ".deps/kwlookup.Tpo" ".deps/kwlookup.Po"; else rm -f
".deps/kwlookup.Tpo"; exit 1; fi
rm -f libsql-parser.a
false cru libsql-parser.a gram.o list.o makefuncs.o nodes.o parser.o
pool_memory.o pool_string.o value.o keywords.o outfuncs.o copyfuncs.o
kwlookup.o
make[2]: *** [libsql-parser.a] Error 1
make[2]: Leaving directory `/opt/pgpool-II-2.3.1/parser'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/pgpool-II-2.3.1'
make: *** [all] Error 2
_______________________________________________
Pgpool-general mailing list
[email protected]
http://pgfoundry.org/mailman/listinfo/pgpool-general