Re: [Matplotlib-users] py4science OSX installation problems
Alternatively, if you're only building this for your own use and not for packaging a Universal Binary you want PowerPC users to be able to use, you could simply eliminate the ppc arch flags in the Makefile inside /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config/ On Mon, Apr 21, 2008 at 5:24 PM, jules hummon [EMAIL PROTECTED] wrote: Hello OSX SVN MPL users I am following the instructions on http://ipython.scipy.org/moin/Py4Science/InstallationOSX and ran into some trouble. The computer is a 13 intel macbook, OSX 10.5.2 installed fresh in December 2007 Everything went reasonably well until I got to matplotlib. I ran into an architecture incompatibility: ** ld: warning [snip] missing required architecture ppc in file My notes, along with various comments and links to error output etc, are contained in this link: http://currents.soest.hawaii.edu/misc/mins_notes/py4science_anotes.html Any comments and/or help would be appreciated. Jules - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] py4science OSX installation problems
On 23/04/2008, Joshua Lippai [EMAIL PROTECTED] wrote: Alternatively, if you're only building this for your own use and not for packaging a Universal Binary you want PowerPC users to be able to use, you could simply eliminate the ppc arch flags in the Makefile inside /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config/ Apologies for perhaps raising an old chestnut here but these issues would not arise if we had separate intel and ppc MacPython binaries. George Nurser. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] py4science OSX installation problems
The internal compiler error is something we are all running into right now. The only known fix is to run the build with the gcc flag -Os instead of -O3. You should be able to do this by setting the environment during your build: CFLAGS=-Os python setup.py build On Mon, Apr 21, 2008 at 8:24 PM, jules hummon [EMAIL PROTECTED] wrote: Hello OSX SVN MPL users I am following the instructions on http://ipython.scipy.org/moin/Py4Science/InstallationOSX and ran into some trouble. The computer is a 13 intel macbook, OSX 10.5.2 installed fresh in December 2007 Everything went reasonably well until I got to matplotlib. I ran into an architecture incompatibility: ** ld: warning [snip] missing required architecture ppc in file My notes, along with various comments and links to error output etc, are contained in this link: http://currents.soest.hawaii.edu/misc/mins_notes/py4science_anotes.html Any comments and/or help would be appreciated. Jules - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] py4science OSX installation problems
On Tue, Apr 22, 2008 at 5:28 PM, Charlie Moad [EMAIL PROTECTED] wrote: The internal compiler error is something we are all running into right now. The only known fix is to run the build with the gcc flag -Os instead of -O3. You should be able to do this by setting the environment during your build: CFLAGS=-Os python setup.py build I don't think he is getting the compiler error, but an architecture error (ppc vs i386). Some combination of setting CFLAGS and LDFLAGS as Charlie points out in his build notes at http://ipython.scipy.org/moin/MatplotlibOSXBuildNotes may help (but adding the -Os is probably needed to) The following is working for me (using the macpython python and the xcode freetype and libpng): 500 export CFLAGS='-Os -arch i386 -arch ppc' 501 export LDFLAGS='-arch i386 -arch ppc' 506 export PKG_CONFIG_PATH=/usr/X11/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig 510 export PATH=/usr/local/bin:/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH} 511 rm -rf build 512 python setup.py build 513 sudo python setup.py install 514 python -c 'import matplotlib; print matplotlib.__file__' You may need to make sure that you freetype and libpng are universal as well -- if you are using the X11 ones as provided by apple you should be fine, but if you are building them yourself make sure you set the arch flags when building them, as Charlie describes in his build notes. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] py4science OSX installation problems
Hello OSX SVN MPL users I am following the instructions on http://ipython.scipy.org/moin/Py4Science/InstallationOSX and ran into some trouble. The computer is a 13 intel macbook, OSX 10.5.2 installed fresh in December 2007 Everything went reasonably well until I got to matplotlib. I ran into an architecture incompatibility: ** ld: warning [snip] missing required architecture ppc in file My notes, along with various comments and links to error output etc, are contained in this link: http://currents.soest.hawaii.edu/misc/mins_notes/py4science_anotes.html Any comments and/or help would be appreciated. Jules - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users