Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #96954

Re: problem building python 3.5 extensions for windows

Path csiph.com!news.swapon.de!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'warnings': 0.03; 'error:': 0.05; 'installed.': 0.05; 'url:bitbucket': 0.05; 'exit': 0.07; 'linker': 0.07; 'skip:/ 10': 0.07; 'skip:l 60': 0.07; 'assumed': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'skip:b 70': 0.09; 'skip:t 60': 0.09; 'output': 0.13; 'subject:python': 0.14; 'skip:1 30': 0.15; '/nologo': 0.16; 'amd64': 0.16; 'compilers': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'skip:/ 50': 0.16; 'skip:b 80': 0.16; 'stderr:': 0.16; 'subject:windows': 0.16; 'library': 0.20; 'cc:2**0': 0.20; 'extension': 0.20; 'subject:problem': 0.22; 'errors': 0.23; 'skip:l 40': 0.23; 'specified': 0.23; 'cc:addr:gmail.com': 0.24; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; "doesn't": 0.26; 'command': 0.26; 'header:X-Complaints-To:1': 0.26; 'skip:" 20': 0.26; 'least': 0.27; "skip:' 10": 0.28; 'fine': 0.28; '(perhaps': 0.29; 'built.': 0.29; 'skip:/ 40': 0.29; 'skip:k 30': 0.29; "i'm": 0.30; 'work.': 0.30; 'creating': 0.30; 'code': 0.30; 'probably': 0.31; 'compiled': 0.32; 'maybe': 0.33; 'source': 0.33; 'builds': 0.33; 'skip:/ 20': 0.33; 'skip:b 60': 0.33; 'open': 0.33; 'c++': 0.35; 'skip:b 50': 0.35; 'something': 0.35; 'but': 0.36; 'there': 0.36; 'url:org': 0.36; 'visual': 0.36; "wasn't": 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'stuff': 0.38; 'files': 0.38; "didn't": 0.39; 'skip:x 10': 0.40; 'build': 0.40; 'to:addr:python.org': 0.40; 'some': 0.40; 'hang': 0.60; 'your': 0.60; 'default': 0.61; 'export': 0.63; 'skip:a 40': 0.64; 'afraid': 0.67; 'special': 0.73; 'received:109': 0.75; 'sounds': 0.76; '..........': 0.84; 'becker': 0.84; 'extensions.': 0.84; 'skip:/ 30': 0.84; 'poorly': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Robin Becker <robin@reportlab.com>
Subject Re: problem building python 3.5 extensions for windows
Date Mon, 21 Sep 2015 17:54:15 +0100
References <55FFFE50.8090703@chamonix.reportlab.co.uk> <CAKJDb-NK=5NFAJp1jyRs=Hwhvo0xhbp4K7m7jarTwT7YP6JESg@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 109.174.168.73
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
In-Reply-To <CAKJDb-NK=5NFAJp1jyRs=Hwhvo0xhbp4K7m7jarTwT7YP6JESg@mail.gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.44.1442854462.28679.python-list@python.org> (permalink)
Lines 80
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1442854462 news.xs4all.nl 23780 [2001:888:2000:d::a6]:55325
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:96954

Show key headers only | View raw


.........
>
> This also sounds like the C++ stuff just wasn't installed.  I'm afraid
> reinstallation is probably your best bet.
>
I used the default installation, but it failed first time around (perhaps a 
network thing) and I stupidly assumed 'repair' would work.

After a full reinstallation at least vcvarsall is present and  I can at least 
get the amd64/x86 compilers to work with bdist_wheel (I didn't get any errors 
from using my already compiled relocatable libs) and I can no build the open 
source reportlab extensions.

One simple extension

https://bitbucket.org/rptlab/pyrxp

doesn't get built. For some reason I get a hang in the linker for both amd64 & 
x86. This builds fine for 27, 33 & 34.


However, I see this in the output

          | creating C:\ux\XB33\repos\pyRXP\build\lib.win-amd64-3.5
          | C:\Program Files (x86)\Microsoft Visual Studio 
14.0\VC\BIN\amd64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL
/MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\ux\XB33\py35_amd64\libs 
/LIBPATH:C:\python35\libs /LIBPATH:C:\python35
/LIBPATH:C:\ux\XB33\py35_amd64\PCbuild\amd64 "/LIBPATH:C:\Program Files 
(x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64"
  "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 
14.0\VC\ATLMFC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Win
dows Kits\10\lib\10.0.10150.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows 
Kits\NETFXSDK\4.6\lib\um\x64" "/LIBPATH
:C:\Program Files (x86)\Windows Kits\8.1\lib\winv6.3\um\x64" wsock32.lib 
/EXPORT:PyInit_pyRXPU build\temp.win-amd64-3.5\
Release\ux\XB33\repos\pyRXP\src\pyRXP.obj 
build\temp.win-amd64-3.5\Release\ux\XB33\repos\pyRXP\src\rxp\xmlparser.obj bui
ld\temp.win-amd64-3.5\Release\ux\XB33\repos\pyRXP\src\rxp\url.obj 
build\temp.win-amd64-3.5\Release\ux\XB33\repos\pyRXP\s
rc\rxp\charset.obj 
build\temp.win-amd64-3.5\Release\ux\XB33\repos\pyRXP\src\rxp\string16.obj 
build\temp.win-amd64-3.5\Re
lease\ux\XB33\repos\pyRXP\src\rxp\ctype16.obj 
build\temp.win-amd64-3.5\Release\ux\XB33\repos\pyRXP\src\rxp\dtd.obj build
\temp.win-amd64-3.5\Release\ux\XB33\repos\pyRXP\src\rxp\input.obj 
build\temp.win-amd64-3.5\Release\ux\XB33\repos\pyRXP\s
rc\rxp\stdio16.obj 
build\temp.win-amd64-3.5\Release\ux\XB33\repos\pyRXP\src\rxp\system.obj 
build\temp.win-amd64-3.5\Rele
ase\ux\XB33\repos\pyRXP\src\rxp\hash.obj 
build\temp.win-amd64-3.5\Release\ux\XB33\repos\pyRXP\src\rxp\version.obj build\
temp.win-amd64-3.5\Release\ux\XB33\repos\pyRXP\src\rxp\namespaces.obj 
build\temp.win-amd64-3.5\Release\ux\XB33\repos\pyR
XP\src\rxp\http.obj 
build\temp.win-amd64-3.5\Release\ux\XB33\repos\pyRXP\src\rxp\nf16check.obj 
build\temp.win-amd64-3.5\
Release\ux\XB33\repos\pyRXP\src\rxp\nf16data.obj 
/OUT:build\lib.win-amd64-3.5\pyRXPU.cp35-win_amd64.pyd /IMPLIB:build\te
mp.win-amd64-3.5\Release\ux\XB33\repos\pyRXP\src\pyRXPU.cp35-win_amd64.lib

          | pyRXP.obj : warning LNK4197: export 'PyInit_pyRXPU' specified 
multiple times; using first specification
          |    Creating library 
build\temp.win-amd64-3.5\Release\ux\XB33\repos\pyRXP\src\pyRXPU.cp35-win_amd64.lib 
and ob
ject 
build\temp.win-amd64-3.5\Release\ux\XB33\repos\pyRXP\src\pyRXPU.cp35-win_amd64.exp


          | Generating code
Stderr:  | error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 
14.0\\VC\\BIN\\amd64\\link.exe' failed with
exit status 1

so there are some warnings which I don't understand. Maybe I need to do 
something special for pyRXP (possibly I have some ifdefs poorly configured).
-- 
Robin Becker

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: problem building python 3.5 extensions for windows Robin Becker <robin@reportlab.com> - 2015-09-21 17:54 +0100
  Re: problem building python 3.5 extensions for windows cjgohlke@gmail.com - 2015-09-21 17:36 -0700
    Re: problem building python 3.5 extensions for windows Robin Becker <robin@reportlab.com> - 2015-09-22 11:14 +0100
    Re: problem building python 3.5 extensions for windows Robin Becker <robin@reportlab.com> - 2015-09-22 14:35 +0100
    Re: problem building python 3.5 extensions for windows Terry Reedy <tjreedy@udel.edu> - 2015-09-22 16:48 -0400
      Re: problem building python 3.5 extensions for windows cjgohlke@gmail.com - 2015-09-22 14:37 -0700
        Re: problem building python 3.5 extensions for windows Robin Becker <robin@reportlab.com> - 2015-09-23 11:20 +0100

csiph-web