pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PostgreSQL 9.1 build failure



I haven't been able to build databases/postgresql91-client for some time
now.  I can't find any other reference to this problem so I wonder if
there is something wrong with my setup. My system is:

NetBSD gollum.vex.net 5.1 NetBSD 5.1 (VEX) #2: Fri Jan 6 11:31:36 EST 2012 door%gollum.vex.net@localhost:/usr/obj/sys/arch/amd64/compile.amd64/VEX amd64

My kernel config is:

# $Id: VEX.config 7922 2012-01-22 14:38:24Z darcy $
# General config for 64 bit kernels on Vex.Net

include "arch/amd64/conf/GENERIC"

#ident          "INSTALL-$Revision: 7922 $"

maxusers 1024

options SEMMNI=20000
options SEMMNS=5000
options SEMUME=200
options SEMMNU=500
options SHMMAXPGS=16384

pseudo-device   pf                      # PF packet filter
pseudo-device   pflog                   # PF log if


My GCC is:

Using built-in specs.
Target: x86_64--netbsd
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=x86_64-unknown-netbsd4.99.72 --host=x86_64--netbsd --target=x86_64--netbsd --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)

The error is:

cc -O2 -I/usr/include -I/usr/pkg/include -Wall -Wmissing-prototypes -Wpointer-ar ith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-a liasing -fwrapv -I. -I. -I../../../src/interfaces/libpq -I../../../src/bin/pg_du mp -I../../../src/include -I/usr/include -I/usr/pkg/include -c -o command.o co
mmand.c
In file included from /usr/obj/databases/postgresql91-client/work.x86_64/.buildl
ink/include/readline/readline.h:38,
                 from input.h:21,
                 from command.c:46:
/usr/obj/databases/postgresql91-client/work.x86_64/.buildlink/include/readline/r
ltypedefs.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before '
typedef'
gmake[1]: *** [command.o] Error 1
gmake[1]: Leaving directory `/usr/obj/databases/postgresql91-client/work.x86_64/
postgresql-9.1.3/src/bin/psql'
gmake: *** [all-psql-recurse] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/databases/postgresql91-client
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/post
--
D'Arcy J.M. Cain <darcy%NetBSD.org@localhost>
http://www.NetBSD.org/ IM:darcy%Vex.Net@localhost


Home | Main Index | Thread Index | Old Index