Hi Friedrich,
Thanks for your help. Just thought I would follow up to say that it appears to 
be working now. I am not sure what was different this time and last - my libxml 
file still points to the one with the architecture shown below, but I had come 
across this post about changing the targeted architecture called for gcc 
manually:
http://passingcuriosity.com/2009/installing-pil-on-mac-os-x-leopard/
So I had in mind to try this with the matplotlib installation, but for some 
reason the make command did not fail in error this time... as before, I had 
typed in my bash shell:
export PREFIX=~/devmake -f make.osx fetch deps mpl_install
and I am not sure why but those previous error messages never came up. So in 
the end I just included the new matplotlib directory in my python path (in 
.bash_profile):export PYTHONPATH:~/dev/lib/python2.6/site-packages:$PYTHONPATH 
and it appears to be working ok.
So sorry for all the trouble, but thanks for your time!
All the best,Stephen

From: obsessiv...@hotmail.com
To: friedrichromst...@gmail.com
CC: matplotlib-users@lists.sourceforge.net
Subject: RE: [Matplotlib-users] installation of matplotlib on OS X 10.5 with 
python.org Python 2.6
Date: Fri, 6 Aug 2010 13:06:20 -0700








Hi Friedrich,Thanks again for your response. I've been away traveling (with no 
internet connection) and just returned... hope you can help me troubleshoot 
this last bit (hopefully last bit)!> This is important. I recently had a 
similar issue (sort of). I think> the macports library is 32-bit only, and I 
know that at least for> building Python the build performs 64-bit only by 
default (this was my> issue) on a 64bit system. Of course, in case you want to 
make a 64bit> build against a 32bit library the error would be sensible.> > To 
check this, try to run:> $ file /opt/local/lib/libxml2.2.dylib> > When I run it 
on the Apple supplied file it gives:> > /usr/lib/libxml2.dylib: Mach-O 
universal binary with 3 architectures> /usr/lib/libxml2.dylib (for architecture 
x86_64):        Mach-O 64-bit> dynamically linked shared library x86_64> 
/usr/lib/libxml2.dylib (for architecture i386):        Mach-O dynamically> 
linked shared library i386> /usr/lib/libxml2.dylib (for architecture ppc7400):  
    Mach-O dynamically> linked shared library ppcmine gives 
only:/opt/local/lib/libxml2.2.dylib: Mach-O dynamically linked shared library 
i386Is this the problem?Thanks so much!Stephen
                                          
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to