Re: modules

From: "Brendan Jurd" <direvus(at)gmail(dot)com>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: "Tom Dunstan" <pgsql(at)tomd(dot)cc>, "Andrew Dunstan" <andrew(at)dunslane(dot)net>, "Greg Sabino Mullane" <greg(at)turnstep(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: modules
Date: 2008-04-03 16:38:12
Message-ID: 37ed240d0804030938h18dd43cj21a07ab02d642760@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/04/2008, Joshua D. Drake wrote:
> "Tom Dunstan" wrote:
> >
> > One answer is: what do you do if some required library isn't
> > available?
>
>
> If we build by default, then when a library isn't found the configure
> output tells you:
>
> Looking for Perl Development packages: No , disabling plperl build.
>

That might easily go unnoticed in amongst all the other configure
output. It would only be effective if the messages were repeated
again at the end of the configure, or configure somehow draws
attention to the fact that there was a problem.

Another approach I've come across is to fail with an error message like

"Perl development files not found, required to build module plperl.
Install these files or configure with --disable-module=plperl"

Cheers,
BJ
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: http://getfiregpg.org

iD8DBQFH9Qfu5YBsbHkuyV0RAmKIAJ9eBkAGaw5kBmahk4CzJ4JbrkmitACff9DB
eYYSl1SiANAaAyky/3QBSIs=
=Fg12
-----END PGP SIGNATURE-----

In response to

  • Re: modules at 2008-04-03 16:22:14 from Joshua D. Drake

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2008-04-03 16:41:57 Re: modules
Previous Message D'Arcy J.M. Cain 2008-04-03 16:35:31 Re: modules

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2008-04-03 16:41:57 Re: modules
Previous Message D'Arcy J.M. Cain 2008-04-03 16:35:31 Re: modules