[Scons-users] Scons 2.3.2 regression for Dynamic library compilation
Laurent Marchelli
laurent.marchelli at gmail.com
Wed Aug 13 03:44:54 EDT 2014
Hi Dirk, Hi Russel
Thank you for your help, I tried the last release from mercurial repository
and it works fine now.
Russel, if you need to do further tests or more feedbacks on Windows, I
have now a configuration running from mercurial default branch.
Details below,
Thank you again to you both for your help.
Best regards,
Laurent
I'm running on Windows 7.0 Professional 64bits.
I tried the last release from mercurial repository in two steps and the
last worked fine.
STEP 1. At the beginning, I tried to install scons, but unfortunately it
doesn't work for at least 2 reasons :
- First reason, "bootstrap.py" didn't worked, it didn't find exe programs
because distutils.util.get_platform() returns "win-amd64" not "win32"
So I changed distutils.util.get_platform() by sys.platform in the
SConstruct (see patch below)
(I didn't pushed the patch because I do not know side-effects on others
platforms.)
--------------------------------------------------------------------------------------------
diff --git a/SConstruct b/SConstruct
--- a/SConstruct
+++ b/SConstruct
@@ -46,7 +46,8 @@
default_version = '2.3.1.alpha.yyyymmdd'
copyright = "Copyright (c) %s The SCons Foundation" % copyright_years
-platform = distutils.util.get_platform()
+# LMI : On Windows 7.0 64bits distutils.util.get_platform() = win-amd64
and sys.platform = win32
+platform = sys.platform
SConsignFile()
--------------------------------------------------------------------------------------------
- Second reason : I was unable to get any working libxml2 and libsxlt
working Windows in 64bits so I was blocked.
STEP 2.
I followed the document "Executing SCons Without Installing" and it worked
after I disabled, in my SConstruct, a call to EnsureSConsVersion(2, 1)
*Laurent Marchelli*
*Chef de projet technique - Freelance*
+33 (0) 6 65 69 70 56
*Laurent.marchelli at gmail.com <Laurent.marchelli at gmail.com>
www.linkedin.com/in/laurentmarchelli
<http://www.linkedin.com/in/laurentmarchelli>
www.viadeo.com/fr/profile/laurent.marchelli
<http://www.viadeo.com/fr/profile/laurent.marchelli>*
Le 11 août 2014 à 09:52, M. Laurent MARCHELLI <laurent.marchelli at gmail.com>
a écrit :
Hi Dirk,
Thank's for the fix, I will try the last dev version on my project today.
I keep you informed.
Best Regards,
*Laurent Marchelli*
*Chef de projet technique - Freelance*
+33 (0) 6 65 69 70 56
*Laurent.marchelli at gmail.com <Laurent.marchelli at gmail.com>
www.linkedin.com/in/laurentmarchelli
<http://www.linkedin.com/in/laurentmarchelli>
www.viadeo.com/fr/profile/laurent.marchelli
<http://www.viadeo.com/fr/profile/laurent.marchelli>*
Le 9 août 2014 à 23:26, Dirk Bächle <tshortik at gmx.de> a écrit :
Hi Laurent,
On 08.08.2014 17:22, M. Laurent MARCHELLI wrote:
Hello,
I work on a big project than compiled on Window 2007 without any major
problem with the scons version 2.3.0.
Since I have installed the version 2.3.2, all Dynamic Linked libraries
didn't compiled anymore.
I investigated the problem and the issue is located inside the new dmd
implementation.
Scons seems to get confused with .def files extensions. Instead than
calling the 'LINK' program to create the DLL, it try to call the 'DLINK'
program.
However, I do not have installed any D language compiler on my system.
[...]
we have added a fix for this issue to our repository. The first tests show
that this makes the ".def" errors go away. If possible, please try to
install the latest dev version from our repo at
"http://bitbucket.org/scons/scons" <http://bitbucket.org/scons/scons>.
We'll try to let a patch release 2.3.3 follow soon, but this might take
about a week or so.
Thanks a lot for reporting this error, and we're sorry for the
inconveniences it might have caused you.
Best regards,
Dirk
_______________________________________________
Scons-users mailing list
Scons-users at scons.org
http://four.pairlist.net/mailman/listinfo/scons-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20140813/c69dd9b2/attachment.html>
More information about the Scons-users
mailing list