Order of parameters to Configure

Abigail abigail at abigail.be
Tue Jul 22 15:08:17 BST 2008


On Tue, Jul 22, 2008 at 02:57:26PM +0100, David Cantrell wrote:
> On Tue, Jul 22, 2008 at 10:25:26AM +0200, Rafael Garcia-Suarez wrote:
> 
> > I think that that could be better documented, but Configure -h tells
> > you (implicitly) about the option order :
> > 
> > $ sh ./Configure -h
> > Usage: Configure [-dehrsEKOSV] [-f config.sh] [-D symbol] [-D symbol=value]
> >                  [-U symbol] [-U symbol=] [-A command:symbol...]
> 
> Configure -h is wrong then.  -de has to be last.


I always have -des as the first argument of Configure, with -Dprefix
somewhere near the end, and it always ends up at the correct place.

This is what I typically use when building perl:

  Configure -des -Dusedevel -Uversiononly -Dmydomain=.abigail.be
            -Dcf_email=abigail at abigail.be -Dperladmin=abigail at abigail.be
            -Doptimize=-g -Dcc=gcc -Dprefix=/opt/perl/$version
           [-Dusemorebits] [-Duseithreads]

Never have a problem with it.


Abigail


More information about the london.pm mailing list