Re: Cross-platform detection of multiarch

2011-07-09 Thread Matthias Klose
On 06/17/2011 10:57 AM, Jonathan Nieder wrote: Jan Medlock wrote: Thanks for sending me down the right path. It looks like I should just patch my local versions until Sage upgrades to Python 2.7. (And even then, it'll require dpkg-dev to compile.) And multiarch was not really involved...

Re: Cross-platform detection of multiarch

2011-06-17 Thread Jonathan Nieder
Jan Medlock wrote: Thanks for sending me down the right path. It looks like I should just patch my local versions until Sage upgrades to Python 2.7. (And even then, it'll require dpkg-dev to compile.) And multiarch was not really involved... On the contrary, it has everything to do with

Cross-platform detection of multiarch

2011-06-16 Thread Jan Medlock
What is the recommended way to detect the presence of multiarch in a cross-platform build? I'm trying to fix up the Sage http://www.sagemath.org/ build, which seems to need to set a search path on multiarch systems: http://trac.sagemath.org/sage_trac/ticket/11243 Currently, there's an explicit

Re: Cross-platform detection of multiarch

2011-06-16 Thread Brian May
On 17 June 2011 09:28, Jan Medlock medlock-deb...@turboshower.net wrote: I though about using dpkg-architecture.  Another way would be preferred since dpkg-dev, the package containing dpkg-architecture, might not be installed. Is that likely? dpkg-dev is required by build-essential and

Re: Cross-platform detection of multiarch

2011-06-16 Thread Jonathan Nieder
Hi Jan, Jan Medlock wrote: What is the recommended way to detect the presence of multiarch in a cross-platform build? [...] Currently, there's an explicit check for Ubuntu 11.04 Thanks for raising this. Of course, multiarch in Debian is young so there is still a chance to make changes to

Re: Cross-platform detection of multiarch

2011-06-16 Thread Jonathan Nieder
Jonathan Nieder wrote: After reading the bug log you linked to, it's still unclear to me where multiarch fits in (as not ld's change in defaults to --no-copy-dt-needed, say). Ah, stupid me: here's a link so others can start where I left off.

Re: Cross-platform detection of multiarch

2011-06-16 Thread Jan Medlock
On 17 June 2011 10:002, Brian May br...@microcomaustralia.com.au wrote: On 17 June 2011 09:28, Jan Medlock medlock-deb...@turboshower.net wrote: I though about using dpkg-architecture. Another way would be preferred since dpkg-dev, the package containing dpkg-architecture, might not be

Re: Cross-platform detection of multiarch

2011-06-16 Thread Jan Medlock
Jonathan Nieder wrote: Jonathan Nieder wrote: After reading the bug log you linked to, it's still unclear to me where multiarch fits in (as not ld's change in defaults to --no-copy-dt-needed, say). Ah, stupid me: here's a link so others can start where I left off.