problem making postgresql - Mailing list pgsql-general

From Lenny Silver
Subject problem making postgresql
Date
Msg-id 200201111631.LAA88886@gibbon.cit.cornell.edu
Whole thread Raw
Responses Re: problem making postgresql  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
I just got down the source for postgresql and ran
into a problem that's way over my head.

My sources are in postgresql-7.1.3.tar.gz
I'm running AIX 4.3.3.0

Can anyone help?

I'm including the output from configure and gmake.
If you have a clue please share it.

thanks
Lenny Silver
Systems Programming
Cornell University
ls17@cornell.edu

--------------------------------------------
Script started on Thu Jan 10 15:41:28 2002

[gibbon] 101 --> ./configure
loading cache ./config.cache
checking host system type... powerpc-ibm-aix4.3.3.0
checking which template to use... aix
checking whether to build with locale support... no
checking whether to build with recode support... no
checking whether to build with multibyte character support... no
checking whether to build with Unicode conversion support... no
checking for default port number... 5432
checking for default soft limit on number of connections... 32
checking for gcc... (cached) xlc
checking whether the C compiler (xlc  ) works... yes
checking whether the C compiler (xlc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) no
checking whether xlc accepts -g... (cached) yes
using CFLAGS=-O2 -qmaxmem=16384 -qsrcmsg -qlonglong
checking whether the C compiler (xlc -O2 -qmaxmem=16384 -qsrcmsg -qlonglong ) works... yes
checking whether the C compiler (xlc -O2 -qmaxmem=16384 -qsrcmsg -qlonglong ) is a cross-compiler... no
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for executable suffix... (cached) no
checking how to run the C preprocessor... (cached) xlc -E
checking whether to build with Tcl... no
checking whether to build with Tk... no
checking whether to build Perl modules... no
checking whether to build Python modules... no
checking whether to build Java/JDBC tools... no
checking whether to build the ODBC driver... no
checking whether to build C++ modules... no
using CPPFLAGS=
using LDFLAGS=
checking for mawk... (cached) gawk
checking for flex... (cached) no
configure: warning:
*** Without Flex you will not be able to build PostgreSQL from CVS or
*** change any of the scanner definition files.  You can obtain Flex from
*** a GNU mirror site.  (If you are using the official distribution of
*** PostgreSQL then you do not need to worry about this because the Flex
*** output is pre-generated.)
checking whether ln -s works... (cached) yes
checking for non-GNU ld... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) no
checking for ranlib... (cached) ranlib
checking for lorder... (cached) lorder
checking for tar... (cached) /usr/bin/tar
checking for perl... (cached) perl
checking for bison... (cached) bison -y
checking for readline... (cached) no
checking for library containing using_history... (cached) no
checking for setproctitle in -lutil... (cached) no
checking for main in -lm... (cached) yes
checking for main in -ldl... (cached) yes
checking for main in -lsocket... (cached) no
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 -lld... (cached) yes
checking for main in -lcompat... (cached) no
checking for main in -lBSD... (cached) no
checking for main in -lgen... (cached) no
checking for main in -lPW... (cached) yes
checking for main in -lresolv... (cached) no
checking for main in -lunix... (cached) no
checking for library containing crypt... (cached) none required
checking for __inet_ntoa in -lbind... (cached) no
checking for crypt.h... (cached) yes
checking for dld.h... (cached) no
checking for endian.h... (cached) no
checking for fp_class.h... (cached) no
checking for getopt.h... (cached) no
checking for ieeefp.h... (cached) no
checking for pwd.h... (cached) yes
checking for sys/ipc.h... (cached) yes
checking for sys/pstat.h... (cached) no
checking for sys/select.h... (cached) yes
checking for sys/sem.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/shm.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/un.h... (cached) yes
checking for termios.h... (cached) yes
checking for kernel/OS.h... (cached) no
checking for kernel/image.h... (cached) no
checking for SupportDefs.h... (cached) no
checking for netinet/in.h... (cached) yes
checking for netinet/tcp.h... yes
checking whether string.h and strings.h may both be included... (cached) yes
checking for readline/readline.h... (cached) no
checking for readline.h... (cached) no
checking for readline/history.h... (cached) no
checking for history.h... (cached) no
checking for working const... (cached) yes
checking for inline... (cached) __inline
checking for preprocessor stringizing operator... (cached) yes
checking for signed types... (cached) yes
checking for volatile... (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 union semun... (cached) no
checking for struct sockaddr_un... (cached) yes
checking for int timezone... (cached) yes
checking types of arguments for accept()... (cached) int, struct sockaddr *, size_t *
checking whether gettimeofday takes only one argument... (cached) no
checking for fcvt... (cached) yes
checking for getopt_long... (cached) no
checking for memmove... (cached) yes
checking for pstat... (cached) no
checking for setproctitle... (cached) no
checking for setsid... (cached) yes
checking for sigprocmask... (cached) yes
checking for sysconf... (cached) yes
checking for waitpid... (cached) yes
checking for dlopen... (cached) yes
checking for fdatasync... (cached) yes
checking for PS_STRINGS... (cached) no
checking for snprintf... (cached) yes
checking for vsnprintf... (cached) yes
checking for isinf... (cached) yes
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) yes
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 rl_completion_append_character... no
checking for rl_completion_matches... (cached) no
checking for finite... yes
checking for sigsetjmp... yes
checking for optreset... (cached) no
checking test program... ok
checking whether long int is 64 bits... (cached) no
checking whether long long int is 64 bits... (cached) yes
checking whether snprintf handles 'long long int' as %lld... no
checking whether snprintf handles 'long long int' as %qd... no
checking for strtoll... (cached) yes
checking for strtoull... (cached) yes
checking for atexit... (cached) yes
checking size of unsigned long... (cached) 4
checking alignment of short... (cached) 2
checking alignment of int... (cached) 4
checking alignment of long... (cached) 4
checking alignment of long long int... (cached) 8
checking alignment of double... (cached) 4
checking for POSIX signal interface... (cached) yes
checking for onsgmls... no
checking for nsgmls... no
creating ./config.status
creating GNUmakefile
creating src/GNUmakefile
creating src/Makefile.global
creating src/backend/port/Makefile
creating src/include/config.h
linking ./src/backend/port/dynloader/aix.c to src/backend/port/dynloader.c
linking ./src/backend/port/dynloader/aix.h to src/include/dynloader.h
linking ./src/include/port/aix.h to src/include/os.h
linking ./src/makefiles/Makefile.aix to src/Makefile.port
linking ./src/backend/port/tas/dummy.s to src/backend/port/tas.s
[gibbon] 102 --> gmake
gmake -C doc all
gmake[1]: Entering directory `/usr/local/src/postgres/postgresql-7.1.3/doc'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/local/src/postgres/postgresql-7.1.3/doc'
gmake -C src all
gmake[1]: Entering directory `/usr/local/src/postgres/postgresql-7.1.3/src'
gmake -C backend all
gmake[2]: Entering directory `/usr/local/src/postgres/postgresql-7.1.3/src/backend'
gmake -C access all
gmake[3]: Entering directory `/usr/local/src/postgres/postgresql-7.1.3/src/backend/access'
gmake -C common SUBSYS.o
gmake[4]: Entering directory `/usr/local/src/postgres/postgresql-7.1.3/src/backend/access/common'
xlc -O2 -qmaxmem=16384 -qsrcmsg -qlonglong -I../../../../src/include   -c -o heaptuple.o heaptuple.c
"../../../../src/include/c.h", line 193.21: 1506-334 (S) Identifier int8 has already been defined on line 622 of
"/usr/include/sys/inttypes.h".
"../../../../src/include/c.h", line 194.22: 1506-334 (S) Identifier int16 has already been defined on line 623 of
"/usr/include/sys/inttypes.h".
"../../../../src/include/c.h", line 195.20: 1506-334 (S) Identifier int32 has already been defined on line 624 of
"/usr/include/sys/inttypes.h".
"../../../../src/include/c.h", line 265.23: 1506-334 (S) Identifier int64 has already been defined on line 629 of
"/usr/include/sys/inttypes.h".
      113 |                         do { switch (att[i]->attlen) { case sizeof(char): *(char *) (data) = ((char)
(((Datum)(value[i])) & 0x000000ff)); break; case sizeof(int16): *(int16 *) (data) = ((int16) (((Datum) (value[i])) &
0x0000ffff));break; case sizeof(int32): *(int32 *) (data) = ((int32) (((Datum) (value[i])) & 0xffffffff)); break;
default:elog((-1), "store_att_byval: unsupported byval length %d", (int) (att[i]->attlen)); break; } } while (0); 

.....................................................................................................................................................................................................................................................a..........
a - 1506-052 (S) Duplicate case label for value 0. Labels must be unique.
      617 |         do { int32 * _start = (int32 *) ((char *) td); int _val = (0); Size _len = (len); if ((((long)
_start)& (sizeof(int32) - 1)) == 0 && (_len & (sizeof(int32) - 1)) == 0 && _val == 0 && _len <= 64) { int32 * _stop =
(int32*) ((char *) _start + _len); while (_start < _stop) *_start++ = 0; } else __memset((char *) _start,_val,_len); }
while(0); 

................................................................................................................................................................................................................................................................................a.........b
a - 1506-068 (E) Operation between types "illegal type*" and "illegal type*" is not allowed.
b - 1506-281 (S) Prefix and postfix increment and decrement operators cannot be applied to "illegal type*".
      770 |         do { int32 * _start = (int32 *) ((char *) td); int _val = (0); Size _len = (len); if ((((long)
_start)& (sizeof(int32) - 1)) == 0 && (_len & (sizeof(int32) - 1)) == 0 && _val == 0 && _len <= 64) { int32 * _stop =
(int32*) ((char *) _start + _len); while (_start < _stop) *_start++ = 0; } else __memset((char *) _start,_val,_len); }
while(0); 

................................................................................................................................................................................................................................................................................a.........b
a - 1506-068 (E) Operation between types "illegal type*" and "illegal type*" is not allowed.
b - 1506-281 (S) Prefix and postfix increment and decrement operators cannot be applied to "illegal type*".
gmake[4]: *** [heaptuple.o] Error 1
gmake[4]: Leaving directory `/usr/local/src/postgres/postgresql-7.1.3/src/backend/access/common'
gmake[3]: *** [common-recursive] Error 2
gmake[3]: Leaving directory `/usr/local/src/postgres/postgresql-7.1.3/src/backend/access'
gmake[2]: *** [access-recursive] Error 2
gmake[2]: Leaving directory `/usr/local/src/postgres/postgresql-7.1.3/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/local/src/postgres/postgresql-7.1.3/src'
gmake: *** [all] Error 2
[gibbon] 103 -->
script done on Thu Jan 10 15:42:24 2002



pgsql-general by date:

Previous
From: Frank Joerdens
Date:
Subject: Is there a drawback when changing NAMEDATALEN to 64?
Next
From: Tom Lane
Date:
Subject: Re: Is there a drawback when changing NAMEDATALEN to 64?