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 5.1 NetBSD 5.1 (VEX) #2: Fri Jan 6 11:31:36 EST 2012 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
In file included from /usr/obj/databases/postgresql91-client/work.x86_64/.buildl
                 from input.h:21,
                 from command.c:46:
ltypedefs.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' before '
gmake[1]: *** [command.o] Error 1
gmake[1]: Leaving directory `/usr/obj/databases/postgresql91-client/work.x86_64/
gmake: *** [all-psql-recurse] Error 2
*** Error code 2

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

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

Home | Main Index | Thread Index | Old Index