Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Python and Debian multi-arch
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jeroen Demeyer  
View profile  
 More options Apr 23 2012, 4:25 am
From: Jeroen Demeyer <jdeme...@cage.ugent.be>
Date: Mon, 23 Apr 2012 10:25:50 +0200
Local: Mon, Apr 23 2012 4:25 am
Subject: Python and Debian multi-arch
I don't know whether this has ben mentioned already on this list, but
also Python has problems with Debian multi-arch.  Python doesn't know
that it has to look in /usr/lib/i386-linux-gnu for libraries, so
building the crypt module fails and building some of the hash functions
for hashlib fails.

Setting LD_LIBRARY_PATH and LIBRARY_PATH doesn't help.

Symlinking libcrypt.so and libssl.so into $SAGE_LOCAL/lib does help.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Julien Puydt  
View profile  
 More options Apr 23 2012, 6:44 am
From: Julien Puydt <julien.pu...@laposte.net>
Date: Mon, 23 Apr 2012 12:44:23 +0200
Local: Mon, Apr 23 2012 6:44 am
Subject: Re: [sage-devel] Python and Debian multi-arch
Le lundi 23 avril, Jeroen Demeyer a écrit:

> I don't know whether this has ben mentioned already on this list, but
> also Python has problems with Debian multi-arch.  Python doesn't know
> that it has to look in /usr/lib/i386-linux-gnu for libraries, so
> building the crypt module fails and building some of the hash
> functions for hashlib fails.

> Setting LD_LIBRARY_PATH and LIBRARY_PATH doesn't help.

> Symlinking libcrypt.so and libssl.so into $SAGE_LOCAL/lib does help.

I already proposed :
http://trac.sagemath.org/sage_trac/ticket/12623
http://trac.sagemath.org/sage_trac/ticket/12624

Solving not-yet-existing problems isn't that pointless...

Snark on #sagemath


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeroen Demeyer  
View profile  
 More options Apr 23 2012, 7:28 am
From: Jeroen Demeyer <jdeme...@cage.ugent.be>
Date: Mon, 23 Apr 2012 13:28:14 +0200
Local: Mon, Apr 23 2012 7:28 am
Subject: Re: [sage-devel] Python and Debian multi-arch
We really have to patch every single Python package?  That's awful.

If only distutils/setuptools wouldn't be so broken... why do they
hard-code the directories to look for .so files?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Julien Puydt  
View profile  
 More options Apr 23 2012, 7:59 am
From: Julien Puydt <julien.pu...@laposte.net>
Date: Mon, 23 Apr 2012 13:59:11 +0200
Local: Mon, Apr 23 2012 7:59 am
Subject: Re: [sage-devel] Python and Debian multi-arch
Le lundi 23 avril, Jeroen Demeyer a écrit:

> We really have to patch every single Python package?  That's awful.

No, only python packages which insist on overriding lib paths, because
that means even a patched compiler/interpreter which knows where to
look, will still fail because of the override.

> If only distutils/setuptools wouldn't be so broken... why do they
> hard-code the directories to look for .so files?

[irony mode on] They know where things are supposed to be, so why not be
failsafe and only look there? [irony mode off]

Snark on #sagemath

PS: http://trac.sagemath.org/sage_trac/ticket/12627


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeroen Demeyer  
View profile  
 More options Apr 23 2012, 8:33 am
From: Jeroen Demeyer <jdeme...@cage.ugent.be>
Date: Mon, 23 Apr 2012 14:33:17 +0200
Local: Mon, Apr 23 2012 8:33 am
Subject: Re: [sage-devel] Python and Debian multi-arch
I hate Python's installer and distutils/setuptools.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeroen Demeyer  
View profile  
 More options Apr 23 2012, 8:38 am
From: Jeroen Demeyer <jdeme...@cage.ugent.be>
Date: Mon, 23 Apr 2012 14:38:40 +0200
Local: Mon, Apr 23 2012 8:38 am
Subject: Re: [sage-devel] Python and Debian multi-arch
On 2012-04-23 14:33, Jeroen Demeyer wrote:
> I hate Python's installer and distutils/setuptools.

... but I hate it less than I hate SCons, which is broken by design, for
example by ignoring environment variables on purpose!

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Julien Puydt  
View profile  
 More options Apr 23 2012, 8:47 am
From: Julien Puydt <julien.pu...@laposte.net>
Date: Mon, 23 Apr 2012 14:47:57 +0200
Local: Mon, Apr 23 2012 8:47 am
Subject: Re: [sage-devel] Python and Debian multi-arch
Le lundi 23 avril, Jeroen Demeyer a écrit:

> On 2012-04-23 14:33, Jeroen Demeyer wrote:
> > I hate Python's installer and distutils/setuptools.
> ... but I hate it less than I hate SCons, which is broken by design,
> for example by ignoring environment variables on purpose!

Uh, like : http://trac.sagemath.org/sage_trac/ticket/12639 ?

Snark on #sagemath


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Volker Braun  
View profile  
 More options Apr 23 2012, 2:06 pm
From: Volker Braun <vbraun.n...@gmail.com>
Date: Mon, 23 Apr 2012 11:06:53 -0700 (PDT)
Local: Mon, Apr 23 2012 2:06 pm
Subject: Re: [sage-devel] Python and Debian multi-arch

On Monday, April 23, 2012 7:59:11 AM UTC-4, Snark wrote:

> No, only python packages which insist on overriding lib paths, because
> that means even a patched compiler/interpreter which knows where to
> look, will still fail because of the override

Yes thats awful.

It is yet another thing that could be solved once-and-for-all with the
compilerwrapper ;-)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeroen Demeyer  
View profile  
 More options Apr 23 2012, 4:50 pm
From: Jeroen Demeyer <jdeme...@cage.ugent.be>
Date: Mon, 23 Apr 2012 22:50:18 +0200
Local: Mon, Apr 23 2012 4:50 pm
Subject: Re: [sage-devel] Python and Debian multi-arch
On 2012-04-23 20:06, Volker Braun wrote:
> It is yet another thing that could be solved once-and-for-all with the
> compilerwrapper ;-)

Here, this is not the case.  The problem is not with gcc here, the
problem is with Python "detecting" which libraries are installed.  No
compilerwrapper can solve this.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Volker Braun  
View profile  
 More options Apr 23 2012, 10:41 pm
From: Volker Braun <vbraun.n...@gmail.com>
Date: Mon, 23 Apr 2012 19:41:40 -0700 (PDT)
Local: Mon, Apr 23 2012 10:41 pm
Subject: Re: [sage-devel] Python and Debian multi-arch

You are right, they don't seem to do autotools-style library detection.
Thats messed up ;-)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »