Skip site navigation (1) Skip section navigation (2)

Re: PL/perl should fail on configure, not make

From: Christoph Berg <myon(at)debian(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: PL/perl should fail on configure, not make
Date: 2013-01-09 10:21:44
Message-ID: 20130109102144.GA25938@msgid.df7cb.de (view raw or flat)
Thread:
Lists: pgsql-hackers
Re: Tom Lane 2013-01-09 <9802(dot)1357702675(at)sss(dot)pgh(dot)pa(dot)us>
> Item: there is not a test for perl.h, as such, in configure.  There
> probably should be, just because we have comparable tests for tcl.h
> and Python.h.  However, adding one won't fix your problem on
> Debian-based distros, because for some wacko reason they put the
> headers and the shlib .so symlink in different packages, cf
> http://packages.debian.org/squeeze/amd64/perl/filelist
> http://packages.debian.org/squeeze/amd64/libperl-dev/filelist
> I am unfamiliar with a good reason for doing that.  (I can certainly
> see segregating the .a static library, or even not shipping it at
> all, but what's it save to leave out the .so symlink?)

Because the .so symlink is only needed at build time. At runtime, you
need the .so.5.14 file. Hence .so.* -> $pkg, .h .a .so -> $pkg-dev.

Christoph
-- 
cb(at)df7cb(dot)de | http://www.df7cb.de/


In response to

Responses

pgsql-hackers by date

Next:From: Hannu KrosingDate: 2013-01-09 10:32:41
Subject: Re: Re: Proposal: Store "timestamptz" of database creation on "pg_database"
Previous:From: Amit KapilaDate: 2013-01-09 09:36:04
Subject: Re: Extra XLOG in Checkpoint for StandbySnapshot

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group