From: Ivan M. <ivan@flyingi.net>
To: pgsql-ports@postgresql.org
Subject: Cannot build plperl from source (8.1.3)
Date: Fri, 28 Apr 2006 14:12:10 -0700
Message-ID: <4452852A.6040508@flyingi.net> (raw)
I'm trying to build from source on my own "distribution" of Linux (which
has been running fine for more than two years). It's basically the same
as all other Linux distributions.
I have manually built Perl (5.8.8) with dynamic library, successfully.
When I use --with-perl in the .config the Perl library and headers are
located successfully, and the build works to the point of actually
building (and symlinking) plperl. However, the make then gets lost with
the following messages for "plperl" as non-existent. The build is
successful with the perl option. Any ideas?
make[2]: Leaving directory `/stem/opus/postgres/postgresql-8.1.3/src/bin'
make -C pl all
make[2]: Entering directory `/stem/opus/postgres/postgresql-8.1.3/src/pl'
make[3]: Entering directory
`/stem/opus/postgres/postgresql-8.1.3/src/pl/plpgsql'
make -C src all
make[4]: Entering directory
`/stem/opus/postgres/postgresql-8.1.3/src/pl/plpgsql/src'
i586-pc-linux-gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Winline -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fpic -I. -I../../../../src/include -D_GNU_SOURCE
-c -o pl_gram.o pl_gram.c
i586-pc-linux-gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Winline -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fpic -I. -I../../../../src/include -D_GNU_SOURCE
-c -o pl_handler.o pl_handler.c
i586-pc-linux-gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Winline -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fpic -I. -I../../../../src/include -D_GNU_SOURCE
-c -o pl_comp.o pl_comp.c
i586-pc-linux-gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Winline -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fpic -I. -I../../../../src/include -D_GNU_SOURCE
-c -o pl_exec.o pl_exec.c
i586-pc-linux-gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Winline -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fpic -I. -I../../../../src/include -D_GNU_SOURCE
-c -o pl_funcs.o pl_funcs.c
ar crs libplpgsql.a pl_gram.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o
ranlib libplpgsql.a
i586-pc-linux-gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Winline -Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fpic -shared -Wl,-soname,libplpgsql.so.1
pl_gram.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o
-L../../../../src/port -o libplpgsql.so.1.0
rm -f libplpgsql.so.1
ln -s libplpgsql.so.1.0 libplpgsql.so.1
rm -f libplpgsql.so
ln -s libplpgsql.so.1.0 libplpgsql.so
make[4]: Leaving directory
`/stem/opus/postgres/postgresql-8.1.3/src/pl/plpgsql/src'
make[3]: Leaving directory
`/stem/opus/postgres/postgresql-8.1.3/src/pl/plpgsql'
make: *** plperl: No such file or directory. Stop.
make: Entering an unknown directorymake: Leaving an unknown
directorymake[2]: *** [all] Error 1
make[2]: Leaving directory `/stem/opus/postgres/postgresql-8.1.3/src/pl'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/stem/opus/postgres/postgresql-8.1.3/src'
make: *** [all] Error 2
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-ports@postgresql.org
Cc: ivan@flyingi.net
Subject: Re: Cannot build plperl from source (8.1.3)
In-Reply-To: <4452852A.6040508@flyingi.net>
References: <4452852A.6040508@flyingi.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox