[Scons-users] Not allowed to have 2 Configure with diff env??

Strand, Kyle J kyle.strand at beckman.com
Mon May 6 15:01:40 EDT 2013


I see this as well.

Minimal failing Sconstruct file:

env = Environment()
conf1 = Configure(env)
env2 = Environment()
conf2 = Configure(env2)

Output:

scons: ***
File "C:\TSconsDir\scbug\SConstruct", line 4, in <module>
________________________________
Kyle Strand, Software Intern
Beckman Coulter, Inc., Life Sciences Division
4862 Innovation Drive, Fort Collins, Colorado, 80525
(970) 204-7036

________________________________________
From: scons-users-bounces at scons.org [scons-users-bounces at scons.org] on behalf of Neal Becker [ndbecker2 at gmail.com]
Sent: Monday, May 06, 2013 12:16 PM
To: scons-users at scons.org
Subject: [Scons-users] Not allowed to have 2 Configure with diff env??

I see if I have 2 environments, and 2 statements

conf = Configure (env)

and

conf2 = Configure (env2)

scons just gives and error, with no message or traceback (which, BTW, sucks).

If I get rid of the second Configure, it's OK.

Is there such a restriction? If so, can we please document it? Is there a
workaround?

_______________________________________________
Scons-users mailing list
Scons-users at scons.org
http://four.pairlist.net/mailman/listinfo/scons-users


Please be advised that this email may contain confidential
information. If you are not the intended recipient, please notify us
by email by replying to the sender and delete this message. The
sender disclaims that the content of this email constitutes an offer
to enter into, or the acceptance of, any agreement; provided that the
foregoing does not invalidate the binding effect of any digital or
other electronic reproduction of a manual signature that is included
in any attachment.




More information about the Scons-users mailing list