Re: modules - Mailing list pgsql-hackers

From Brendan Jurd
Subject Re: modules
Date
Msg-id 37ed240d0804030938h18dd43cj21a07ab02d642760@mail.gmail.com
Whole thread Raw
In response to Re: modules  ("Joshua D. Drake" <jd@commandprompt.com>)
List 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-----


pgsql-hackers by date:

Previous
From: "D'Arcy J.M. Cain"
Date:
Subject: Re: modules
Next
From: "Joshua D. Drake"
Date:
Subject: Re: modules