Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2013 16:03:25 +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:  <50F5458D.5090908@yandex.ru>
In-Reply-To: <50F53E67.30703@gmail.com>
References:  <50F53E67.30703@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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

-- 
Regards,
Ruslan

Tinderboxing kills... the drives.



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