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


Groups > comp.lang.python > #77037

Re: error building lxml.etree

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.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.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:error': 0.03; 'memory.': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'spec': 0.09; 'testing,': 0.09; '2.7': 0.14; 'exported': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'extensions': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'stefan': 0.19; 'memory': 0.22; 'header:User-Agent:1': 0.23; 'environment': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'host': 0.29; "i'm": 0.30; 'bunch': 0.31; 'though.': 0.31; 'anyone': 0.31; 'compatible': 0.32; 'another': 0.32; 'quite': 0.32; 'linux': 0.33; 'entirely': 0.33; 'something': 0.35; 'building': 0.35; 'there': 0.35; 'ram': 0.36; 'skip:> 10': 0.36; 'possible': 0.36; 'virtual': 0.37; 'system,': 0.38; 'to:addr :python-list': 0.38; 'issue': 0.38; 'to:addr:python.org': 0.39; 'enough': 0.39; 'received:org': 0.40; 'most': 0.60; 'more': 0.64; 'production': 0.68; 'received:109': 0.72; 'increasing': 0.74; 'wheel': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Robin Becker <robin@reportlab.com>
Subject Re: error building lxml.etree
Date Tue, 26 Aug 2014 12:03:51 +0100
References <53F766C3.1040103@chamonix.reportlab.co.uk> <lt803a$jon$1@ger.gmane.org>
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:24.0) Gecko/20100101 Thunderbird/24.6.0
In-Reply-To <lt803a$jon$1@ger.gmane.org>
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.13450.1409051044.18130.python-list@python.org> (permalink)
Lines 28
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1409051044 news.xs4all.nl 2892 [2001:888:2000:d::a6]:45945
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:77037

Show key headers only | View raw


On 22/08/2014 18:53, Stefan Behnel wrote:
> Robin Becker schrieb am 22.08.2014 um 17:50:
>> I'm trying to build a bunch of extensions in a 2.7 virtual environment on a
>.............
>>
>> Has anyone else seen this error? It's entirely possible that it might be I
>> don't have enough memory or something
>
> Yes, that's most likely it. Having 500MB+ of free(!) RAM is a good idea for
> the build.
>
>
>> lxml builds almost always take a long time.
>
> For testing, you can speed things up quite substantially by using "-O0" as
> your CFLAGS. Not a good idea for a production system, though.
>
> You might also get away with building a (static?) wheel on another
> compatible Linux system that has more RAM.
>
> Stefan
>
>
I exported the VM to a higher spec host box and there I was able to build lxml 
without issue after increasing the VM base memory.
-- 
Robin Becker

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


Thread

Re: error building lxml.etree Robin Becker <robin@reportlab.com> - 2014-08-26 12:03 +0100

csiph-web