pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Cannot build plperl from source (8.1.3)
2+ messages / 2 participants
[nested] [flat]

* Cannot build plperl from source (8.1.3)
@ 2006-04-28 21:12 Ivan M. <ivan@flyingi.net>
  2006-04-29 20:21 ` Re: Cannot build plperl from source (8.1.3) Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Ivan M. @ 2006-04-28 21:12 UTC (permalink / raw)
  To: pgsql-ports

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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Cannot build plperl from source (8.1.3)
  2006-04-28 21:12 Cannot build plperl from source (8.1.3) Ivan M. <ivan@flyingi.net>
@ 2006-04-29 20:21 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2006-04-29 20:21 UTC (permalink / raw)
  To: Ivan M. <ivan@flyingi.net>; +Cc: pgsql-ports

"Ivan M." <ivan@flyingi.net> writes:
> 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

So is src/pl/plperl/ actually there?  It looks to me like you've got an
incomplete source tree.  Maybe you didn't download the full
distribution?

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-04-29 20:21 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-04-28 21:12 Cannot build plperl from source (8.1.3) Ivan M. <ivan@flyingi.net>
2006-04-29 20:21 ` Tom Lane <tgl@sss.pgh.pa.us>

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