[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-coders
Subject:    Re: building perl outside srcdir (was: Re: CVS: net-snmp configure,
From:       "Dave Shield" <D.T.Shield () csc ! liv ! ac ! uk>
Date:       2006-09-26 8:04:30
Message-ID: c64ae3380609260104we3507a4labf75bc465100cfc () mail ! gmail ! com
[Download RAW message or body]

On 25/09/06, Thomas Anders <thomas.anders@blue-cable.de> wrote:
> Wes Hardaker wrote:
> > Log Message:
> > tests to see if we're in the main source tree so we can install the perl modules or not
>
> I strongly object. I'm making use of the mentioned symlink tricks ("shadow
> trees") to successfully build outside the source tree *with* perl enabled in all
> of my nightly builds. I don't think we can afford to lose that aspect of build
> testing, especially since embedded perl is now the default.

I haven't checked Wes' patch, but does this *force* the disabling of
the perl stuff? Or just affect the default build.


> What can we do? Offer an override flag? Make it a warning only?

Proposal:

    $ cd  ~/MAIN-SOURCE-TREE; ./configure ; make ; make install
    // builds and installs perl modules
    $ cd  ~/SHADOW-TREE; ./configure ; make ; make install
    // omits embedded perl and perl modules
    $ cd  ~/SHADOW-TREE; ./configure --with-embedded-perl ; make ; make install
    // builds and installs perl modules, etc - as requested

The details may not be quite correct, but you should get the idea.
 I've no idea how this matches against the current state of play.

I'm also a little concerned about how much tinkering this might
involve to get right.
We're into pre-release mode now, so need to be concentrating on that.
"Unusual" configurations (such as shadow tree builds) may have to take
something of a back seat until we've released 5.4.   Not inevitably,
but if there's a conflict between fixing stuff for such a
configuration, and getting 5.4 out of the door, I don't think we
should delay things unduly.

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic