install problem on OSX 10.8

Note: please use “Reply-All” to make sure the mailing list continues to get this thread.

Could you do a “uname -a” at the command-line and give us that output? I was not aware that Apple shipped any 32-bit machines anymore.

Ben Root

···

---------- Forwarded message ----------
From: Ranjit Chacko <ranjit@…4211…>

Date: Fri, Sep 21, 2012 at 2:55 PM
Subject: Re: [Matplotlib-users] install problem on OSX 10.8
To: Benjamin Root <ben.root@…1304…>

I’m just cloned the repo from master yesterday, and I tried running the following script:
NAME=matplotlib
VERSION=v1.1.x
PREFIX=$HOME
cd matplotlib
export LDFLAGS="-Os -arch i386 -L/usr/X11/lib"

export CFLAGS="-Os -arch i386 -I/usr/X11/include -I/usr/X11/include/freetype2 -I/usr/X11/include/libpng12"
export PKG_CONFIG_PATH="/usr/X11/lib/pkgconfig"
export ARCHFLAGS="-arch i386"

python setup.py build

use --prefix if you don’t want it installed in the default location:

python setup.py install #–prefix=$PREFIX
cd …

Thanks,

-Ranjit

I’m not sure 10.8 supports 32-bit machines at all. Apple even dropped support for some 64-bit machines in the 10.8 release.

···

On Friday, September 21, 2012, Benjamin Root wrote:

Note: please use “Reply-All” to make sure the mailing list continues to get this thread.

Could you do a “uname -a” at the command-line and give us that output? I was not aware that Apple shipped any 32-bit machines anymore.

Ben Root

---------- Forwarded message ----------
From: Ranjit Chacko <ranjit@…4211…>

Date: Fri, Sep 21, 2012 at 2:55 PM
Subject: Re: [Matplotlib-users] install problem on OSX 10.8
To: Benjamin Root <ben.root@…1304…>

I’m just cloned the repo from master yesterday, and I tried running the following script:
NAME=matplotlib
VERSION=v1.1.x
PREFIX=$HOME
cd matplotlib
export LDFLAGS="-Os -arch i386 -L/usr/X11/lib"

export CFLAGS="-Os -arch i386 -I/usr/X11/include -I/usr/X11/include/freetype2 -I/usr/X11/include/libpng12"
export PKG_CONFIG_PATH="/usr/X11/lib/pkgconfig"
export ARCHFLAGS="-arch i386"

python setup.py build

use --prefix if you don’t want it installed in the default location:

python setup.py install #–prefix=$PREFIX
cd …

Thanks,

-Ranjit


Damon McDougall
http://www.damon-is-a-geek.com

B2.39
Mathematics Institute
University of Warwick
Coventry
West Midlands
CV4 7AL
United Kingdom