Opened 16 years ago

Closed 14 years ago

#18053 closed defect (fixed)

postgresql83 +perl perlmodule is not built when perl is not installed with +shared

Reported by: chepra@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: postgresql pgsql perl plperl libdir Cc: jyrkiwahlstedt, raimue (Rainer Müller)
Port: postgresql83

Description

Hello Guys!

You are doing a great job with macports, thanks!

I just wanted to install plperl for my postgreql server, therefore I reinstalled it with the perl variant:

sudo port install postgresql83 +perl

But i am not able to find a plperl file, and psql gives me:

=# create LANGUAGE plperl;
ERROR:  could not access file "$libdir/plperl": No such file or directory

I took a look in the portfile and for me using +perl should compile the server --with-perl, and therefore plperl should be useable (and compiled).

Or am i just doing something wrong?

--Chepra

Change History (5)

comment:1 Changed 16 years ago by raimue (Rainer Müller)

Cc: jwa@… added
Owner: changed from macports-tickets@… to mww@…

comment:2 Changed 16 years ago by raimue (Rainer Müller)

Cc: raimue@… added

I tried to build this myself, postgresql83 build issued this warning but silently ignored it:

*** Cannot build PL/Perl because libperl is not a shared library.
*** You might have to rebuild your Perl installation.  Refer to
*** the documentation for details.

Please try the following to fix this:

sudo port -fn upgrade perl5.8 +shared
sudo port -fn upgrade postgresql83

Unfortunately it is currently not possible to depend on specific variants.

comment:3 Changed 16 years ago by chepra@…

Hello Raimue,

as i told you already this works for me too. Is there any possibility to add a small note to the portfile or sth like that?

I hope that you will implement dependencies to variants as soon as possible! Thanks again for your work.

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Summary: postgresql83 +perl perlmodule is not buildpostgresql83 +perl perlmodule is not built when perl is not installed with +shared

Added a note in r72510.

Note: See TracTickets for help on using tickets.