postgresql-plpython fails to build

Johan Hendriks joh.hendriks at
Tue Jan 15 11:33:06 UTC 2013

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 
sed -f ./Gen_dummy_probes.sed probes.d >probes.h
gmake[1]: Leaving directory 
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 
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!


More information about the freebsd-ports mailing list