Date: Sun, 20 Jan 2013 14:24:01 +0400 From: Ruslan Makhmatkhanov <cvs-src@yandex.ru> To: Johan Hendriks <joh.hendriks@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: postgresql-plpython fails to build Message-ID: <50FBC5C1.5020904@yandex.ru> In-Reply-To: <50F54E04.4020402@gmail.com> References: <50F53E67.30703@gmail.com> <50F5458D.5090908@yandex.ru> <50F54E04.4020402@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Johan Hendriks wrote on 15.01.2013 16:39: > Ruslan Makhmatkhanov schreef: >> Johan Hendriks wrote on 15.01.2013 15:32: >>> 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 >> >> Good day, I working on fix. Since this touches many versions of >> PostgreSQL, it's need some time for proper testing. Fixes will bring >> into ports tree until the end of this week. >> >> There is also two related pr's about this: >> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/166999 >> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/174152 >> > Thank you, i will await the fix and report back if it installs. > Thank you for your time! > > regards > Johan Hendriks Should be now fixed (thanks, Chris!). Please update your ports tree and try to build databases/postgresql92-plpython. -- Regards, Ruslan Tinderboxing kills... the drives.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50FBC5C1.5020904>