New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #18053 (closed defect: fixed)

Opened 3 years ago

Last modified 16 months ago

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: jwa@…, raimue@…
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

Changed 3 years ago by raimue@…

  • owner changed from macports-tickets@… to mww@…
  • cc jwa@… added

Changed 3 years ago by raimue@…

  • 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.

Changed 3 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.

Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Changed 16 months ago by jmr@…

  • status changed from new to closed
  • resolution set to fixed
  • summary changed from postgresql83 +perl perlmodule is not build to postgresql83 +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.