Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2013 12:32:55 +0100
From:      Johan Hendriks <joh.hendriks@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   postgresql-plpython fails to build
Message-ID:  <50F53E67.30703@gmail.com>

next in thread | raw e-mail | index | archive | help
I need the port postgresql-plpython for my baruwa install.

But it will not install or build.
I have postgresql92-server installed, with the default options.

the error i get is

===>  Building for postgresql-plpython-9.2.2_2
prereqdir=`cd 'parser/' >/dev/null && pwd` && \
   cd '../../src/include/parser/' && rm -f gram.h && \
   ln -s "$prereqdir/gram.h" .
prereqdir=`cd 'utils/' >/dev/null && pwd` && \
   cd '../../src/include/utils/' && rm -f fmgroids.h && \
   ln -s "$prereqdir/fmgroids.h" .
gmake -C utils probes.h
gmake[1]: Entering directory 
`/usr/ports/databases/postgresql-plpython/work/postgresql-9.2.2/src/backend/utils'
sed -f ./Gen_dummy_probes.sed probes.d >probes.h
gmake[1]: Leaving directory 
`/usr/ports/databases/postgresql-plpython/work/postgresql-9.2.2/src/backend/utils'
cd '../../src/include/utils/' && rm -f probes.h && \
     ln -s "../../../src/backend/utils/probes.h" .
cc -O2 -pipe -march=core2 -fno-strict-aliasing -Wall 
-Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement 
-Wendif-labels -Wmissing-format-attribute -Wformat-security 
-fno-strict-aliasing -fwrapv -fPIC -DPIC -I. -I. 
-I/usr/local/include/python2.7 -I../../../src/include 
-I/usr/local/include -I/usr/local/include  -c -o plpy_cursorobject.o 
plpy_cursorobject.c
In file included from ../../../src/include/postgres.h:48,
                  from plpy_cursorobject.c:7:
../../../src/include/utils/elog.h:69:28: error: utils/errcodes.h: No 
such file or directory
gmake: *** [plpy_cursorobject.o] Error 1
*** [do-build] Error code 2


anyone knows how to overcome the error!

regards
Johan




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50F53E67.30703>