Skip site navigation (1) Skip section navigation (2)

Unable to compile postgresql on linux-ppc

From: Stefano Franchi <franchi(at)csli(dot)stanford(dot)edy>
To: pgsql-ports(at)postgresql(dot)org
Subject: Unable to compile postgresql on linux-ppc
Date: 1999-05-21 17:13:30
Message-ID: 3745943A.11DAAB79@csli.stanford.edu (view raw or flat)
Thread:
Lists: pgsql-ports
Dear Postgres developers:

I have been trying to instyall PostgreSQL on my linuxPPC box, but have
had no success so far. I was wondering whether you know of successful
installations and could provide some help. I followed the instructions
provided in INSTALL and Admin.html, biut to no avail. I am appending the
make.log file at the end of this message. I am using

PostgreSQL 6.4.2

LinuxPPC 4.1 (based on RedHat 5.2, I believe), Linux Kernel 2.2.7

Apple G3 beige desktop (Powerpc 750 processor at 266MHz)

I ran configure with:


.configure --prefix=/usr/src/pgsql/postgressql-6.4.2
--with-template=linux_ppc


And here is the (rather long) Make.log file.

Thanks in advance for any help you may provide.

Stefano Franchi
Department of Philosophy
Stanford University
franchi(at)csli(dot)stanford(dot)edu


------------make.log------------------------------


gmake lexverify
gmake[1]: Entering directory `/usr/src/pgsql/postgresql-6.4.2/src'
gmake -C lextest all
gmake[2]: Entering directory
`/usr/src/pgsql/postgresql-6.4.2/src/lextest'
flex scan.l
gcc -c lex.yy.c
gcc -c lextest.c
gcc -o lextest lex.yy.o lextest.o
gmake[2]: Leaving directory
`/usr/src/pgsql/postgresql-6.4.2/src/lextest'
gmake[1]: Leaving directory `/usr/src/pgsql/postgresql-6.4.2/src'
gmake -C utils all
gmake[1]: Entering directory `/usr/src/pgsql/postgresql-6.4.2/src/utils'

gcc -I../include -I../backend   -O2  -Wall -Wmissing-prototypes   -c
version.c -o version.o
gmake[1]: Leaving directory `/usr/src/pgsql/postgresql-6.4.2/src/utils'
gmake -C backend all
gmake[1]: Entering directory
`/usr/src/pgsql/postgresql-6.4.2/src/backend'
gmake -C utils fmgr.h
gmake[2]: Entering directory
`/usr/src/pgsql/postgresql-6.4.2/src/backend/utils'
sh  Gen_fmgrtab.sh ../../include/catalog/pg_proc.h
gmake[2]: Leaving directory
`/usr/src/pgsql/postgresql-6.4.2/src/backend/utils'
cp utils/fmgr.h .
gmake -C access all
gmake[2]: Entering directory
`/usr/src/pgsql/postgresql-6.4.2/src/backend/access'
gmake -C common  SUBSYS.o
gmake[3]: Entering directory
`/usr/src/pgsql/postgresql-6.4.2/src/backend/access/common'
gcc -I../../../include -I../../../backend   -O2  -Wall
-Wmissing-prototypes -I../..   -c heaptuple.c -o heaptuple.o
gcc -I../../../include -I../../../backend   -O2  -Wall
-Wmissing-prototypes -I../..   -c heapvalid.c -o heapvalid.o
gcc -I../../../include -I../../../backend   -O2  -Wall
-Wmissing-prototypes -I../..   -c indextuple.c -o indextuple.o
gcc -I../../../include -I../../../backend   -O2  -Wall
-Wmissing-prototypes -I../..   -c indexvalid.c -o indexvalid.o
gcc -I../../../include -I../../../backend   -O2  -Wall
-Wmissing-prototypes -I../..   -c printtup.c -o printtup.o
In file included from /usr/include/netinet/in.h:24,
                 from ../../../include/libpq/libpq.h:18,
                 from printtup.c:23:
/usr/include/sys/socket.h:146: warning: `struct msghdr' declared inside
parameter list
/usr/include/sys/socket.h:146: warning: its scope is only this
definition or declaration,
/usr/include/sys/socket.h:146: warning: which is probably not what you
want.
/usr/include/sys/socket.h:150: warning: `struct msghdr' declared inside
parameter list
In file included from /usr/include/netinet/in.h:27,
                 from ../../../include/libpq/libpq.h:18,
                 from printtup.c:23:
/usr/include/linux/in.h:109: parse error before `sa_family_t'
/usr/include/linux/in.h:109: warning: no semicolon at end of struct or
union
/usr/include/linux/in.h:116: parse error before `}'
In file included from /usr/include/linux/in.h:173,
                 from /usr/include/netinet/in.h:27,
                 from ../../../include/libpq/libpq.h:18,
                 from printtup.c:23:
/usr/include/asm/byteorder.h:13: warning: no previous prototype for
`ld_le16'
/usr/include/asm/byteorder.h:21: warning: no previous prototype for
`st_le16'
/usr/include/asm/byteorder.h:26: warning: no previous prototype for
`ld_le32'
/usr/include/asm/byteorder.h:34: warning: no previous prototype for
`st_le32'
In file included from /usr/include/linux/byteorder/big_endian.h:11,
                 from /usr/include/asm/byteorder.h:86,
                 from /usr/include/linux/in.h:173,
                 from /usr/include/netinet/in.h:27,
                 from ../../../include/libpq/libpq.h:18,
                 from printtup.c:23:
/usr/include/linux/byteorder/swab.h:100: warning: no previous prototype
for `__fswab16'
/usr/include/linux/byteorder/swab.h:104: warning: no previous prototype
for `__swab16p'
/usr/include/linux/byteorder/swab.h:108: warning: no previous prototype
for `__swab16s'
/usr/include/linux/byteorder/swab.h:113: warning: no previous prototype
for `__fswab32'
/usr/include/linux/byteorder/swab.h:117: warning: no previous prototype
for `__swab32p'
/usr/include/linux/byteorder/swab.h:121: warning: no previous prototype
for `__swab32s'
/usr/include/linux/byteorder/swab.h:127: warning: no previous prototype
for `__fswab64'
/usr/include/linux/byteorder/swab.h:137: warning: no previous prototype
for `__swab64p'
/usr/include/linux/byteorder/swab.h:141: warning: no previous prototype
for `__swab64s'
In file included from ../../../include/libpq/libpq-be.h:20,
                 from ../../../include/libpq/libpq.h:20,
                 from printtup.c:23:
../../../include/libpq/pqcomm.h:32: field `sa' has incomplete type
../../../include/libpq/pqcomm.h:33: field `in' has incomplete type
gmake[3]: *** [printtup.o] Error 1
gmake[3]: Leaving directory
`/usr/src/pgsql/postgresql-6.4.2/src/backend/access/common'
gmake[2]: *** [submake] Error 2
gmake[2]: Leaving directory
`/usr/src/pgsql/postgresql-6.4.2/src/backend/access'
gmake[1]: *** [access.dir] Error 2
gmake[1]: Leaving directory
`/usr/src/pgsql/postgresql-6.4.2/src/backend'
gmake: *** [all] Error 2




pgsql-ports by date

Next:From: Philip AntoniadesDate: 1999-05-21 19:13:51
Subject: linux port problem
Previous:From: Intrac Systems IncDate: 1999-05-21 13:17:27
Subject: [PORT] Openserver 5.0.x family

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group