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


Groups > comp.lang.python > #56810

python33.lib missing for build_ext in venv environment

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!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; 'skip:e 50': 0.05; 'error:': 0.07; 'subject:missing': 0.07; 'exit': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'setup.py': 0.09; 'skip:/ 10': 0.09; 'skip:b 70': 0.09; 'python': 0.11; 'bug': 0.12; 'windows': 0.15; '/nologo': 0.16; 'build_ext': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'skip:/ 60': 0.16; 'skip:b 80': 0.16; 'extensions': 0.16; 'library': 0.18; 'trying': 0.19; 'command': 0.22; 'install': 0.23; 'creating': 0.23; 'header:User-Agent:1': 0.23; 'error': 0.23; 'environment': 0.24; 'extension': 0.26; 'downloaded': 0.26; 'skip:_ 20': 0.27; 'header:X-Complaints-To:1': 0.27; 'installed': 0.27; "doesn't": 0.30; "i'm": 0.30; "skip:' 10": 0.31; 'font': 0.31; 'file': 0.32; 'skip:c 30': 0.32; 'run': 0.32; 'open': 0.33; 'running': 0.33; 'skip:b 30': 0.33; 'building': 0.35; 'should': 0.36; 'virtual': 0.37; 'skip:- 20': 0.37; 'to:addr:python-list': 0.38; 'skip:. 10': 0.39; 'visual': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'skip:c 50': 0.60; 'happen': 0.63; 'skip:1 20': 0.65; 'skip:r 40': 0.68; 'received:109': 0.72; 'trial': 0.83; 'skip:/ 30': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Robin Becker <robin@reportlab.com>
Subject python33.lib missing for build_ext in venv environment
Date Mon, 14 Oct 2013 16:17:26 +0100
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 109.174.168.73
User-Agent Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
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.1071.1381763861.18130.python-list@python.org> (permalink)
Lines 57
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1381763861 news.xs4all.nl 15966 [2001:888:2000:d::a6]:56932
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:56810

Show key headers only | View raw


I'm trying to port reportlab extensions to Python 3.3. On windows I get a 
missing library error when trying to build/install the trial reportlab in a 
virtual environment eg

> C:\code\hg-repos\reportlab>\python33\python -m venv tpy33
> C:\code\hg-repos\reportlab>tpy33\Scripts\activate
> (tpy33) C:\code\hg-repos\reportlab>rm -r build
>
> (tpy33) C:\code\hg-repos\reportlab>python setup.py build_ext
> ################################################
> #Attempting install of _rl_accel, sgmlop & pyHnj
..........
> creating build\temp.win32-3.3\Release\code\hg-repos\reportlab\src\rl_addons\rl_accel
> C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\python33\include -
> IC:\python33\include /TcC:\code\hg-repos\reportlab\src\rl_addons\rl_accel\_rl_accel.c /Fobuild\temp.win32-3.3\Release\co
> de\hg-repos\reportlab\src\rl_addons\rl_accel\_rl_accel.obj
> _rl_accel.c
> creating build\lib.win32-3.3
> creating build\lib.win32-3.3\reportlab
> creating build\lib.win32-3.3\reportlab\lib
> C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:C:\code\hg-repos\rep
> ortlab\tpy33\libs /LIBPATH:C:\python33 /LIBPATH:C:\code\hg-repos\reportlab\tpy33\PCbuild /EXPORT:PyInit__rl_accel build\
> temp.win32-3.3\Release\code\hg-repos\reportlab\src\rl_addons\rl_accel\_rl_accel.obj /OUT:build\lib.win32-3.3\reportlab\l
> ib\_rl_accel.pyd /IMPLIB:build\temp.win32-3.3\Release\code\hg-repos\reportlab\src\rl_addons\rl_accel\_rl_accel.lib /MANI
> FESTFILE:build\temp.win32-3.3\Release\code\hg-repos\reportlab\src\rl_addons\rl_accel\_rl_accel.pyd.manifest
> LINK : fatal error LNK1104: cannot open file 'python33.lib'
> error: command '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\link.exe"' failed with exit status 1104
>
> (tpy33) C:\code\hg-repos\reportlab>



this doesn't happen if I run the installed Python-3.3 directly eg

> (tpy33) C:\code\hg-repos\reportlab>tpy33\Scripts\deactivate.bat
> C:\code\hg-repos\reportlab>c:\python33\python setup.py build_ext
> ################################################
............
> Standard T1 font curves already downloaded
> running build_ext
> building 'reportlab.lib._rl_accel' extension
> C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Ic:\python33\include -
> Ic:\python33\include /TcC:\code\hg-repos\reportlab\src\rl_addons\rl_accel\_rl_accel.c /Fobuild\temp.win32-3.3\Release\co
> de\hg-repos\reportlab\src\rl_addons\rl_accel\_rl_accel.obj
> _rl_accel.c
> C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:c:\python33\libs /LI
> BPATH:c:\python33\PCbuild /EXPORT:PyInit__rl_accel build\temp.win32-3.3\Release\code\hg-repos\reportlab\src\rl_addons\rl
> _accel\_rl_accel.obj /OUT:build\lib.win32-3.3\reportlab\lib\_rl_accel.pyd /IMPLIB:build\temp.win32-3.3\Release\code\hg-r
> epos\reportlab\src\rl_addons\rl_accel\_rl_accel.lib /MANIFESTFILE:build\temp.win32-3.3\Release\code\hg-repos\reportlab\s
> rc\rl_addons\rl_accel\_rl_accel.pyd.manifest
>    Creating library build\temp.win32-3.3\Release\code\hg-repos\reportlab\src\rl_addons\rl_accel\_rl_accel.lib and object
>  build\temp.win32-3.3\Release\code\hg-repos\reportlab\src\rl_addons\rl_accel\_rl_accel.exp

is this a bug or some misconfiguration; should I be using virtualenv?
-- 
Robin Becker

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


Thread

python33.lib missing for build_ext in venv environment Robin Becker <robin@reportlab.com> - 2013-10-14 16:17 +0100
  Re: python33.lib missing for build_ext in venv environment Marco Buttu <marco.buttu@gmail.com> - 2013-10-14 18:01 +0200
    Re: python33.lib missing for build_ext in venv environment Robin Becker <robin@reportlab.com> - 2013-10-14 17:35 +0100

csiph-web