Hi -

I would like to do that, but now, after I grabbed the most recent svn from
main source and tried to build it (so that I can replicate the broken-ness
of the code) I get this:


ASR:matplotlib arokem$ python setup.py install
============================================================================
BUILDING MATPLOTLIB
            matplotlib: 1.0.svn
                python: 2.5.2 |EPD 4.0.30001| (r252:60911, Sep 19 2008,
                        12:00:24)  [GCC 4.0.1 (Apple Computer, Inc. build
                        5370)]
              platform: darwin

REQUIRED DEPENDENCIES
                 numpy: 1.3.0.dev5972
             freetype2: 9.17.3

OPTIONAL BACKEND DEPENDENCIES
                libpng: 1.2.37
               Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4
              wxPython: 2.8.7.1
                        * WxAgg extension not required for wxPython >= 2.8
                  Gtk+: no
                        * Building for Gtk+ requires pygtk; you must be able
                        * to "import gtk" in your build/install environment
       Mac OS X native: yes
                    Qt: no
                   Qt4: Qt: 4.5.2, PyQt4: 4.5.2
                 Cairo: no

OPTIONAL DATE/TIMEZONE DEPENDENCIES
              datetime: present, version unknown
              dateutil: 1.4
                  pytz: 2008c

OPTIONAL USETEX DEPENDENCIES
                dvipng: 1.9
           ghostscript: 8.57
                 latex: 3.141592

[Edit setup.cfg to suppress the above messages]
============================================================================


... lots more output to the shell - everything looks OK...

g++ -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g
-bundle -undefined dynamic_lookup
build/temp.macosx-10.3-i386-2.5/src/ft2font.o
build/temp.macosx-10.3-i386-2.5/src/mplutils.o
build/temp.macosx-10.3-i386-2.5/CXX/cxx_extensions.o
build/temp.macosx-10.3-i386-2.5/CXX/cxxsupport.o
build/temp.macosx-10.3-i386-2.5/CXX/IndirectPythonInterface.o
build/temp.macosx-10.3-i386-2.5/CXX/cxxextensions.o -L/opt/local/lib
-L/usr/local/lib -L/usr/lib -L/sw/lib -lfreetype -lz -lz -lstdc++ -lm -o
build/lib.macosx-10.3-i386-2.5/matplotlib/ft2font.so
-Wl,-framework,CoreServices -Wl,-framework,ApplicationServices
ld warning: in /opt/local/lib/libfreetype.dylib, file is not of required
architecture
ld warning: in /opt/local/lib/libz.dylib, file is not of required
architecture
ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libxml2.2.dylib, file
is not of required architecture for architecture ppc
collect2: ld returned 1 exit status
ld warning: duplicate dylib /opt/local/lib/libz.1.dylib
lipo: can't open input file:
/var/folders/Qb/QbU9SmFNHoWnC7v-nTJYrE+++TI/-Tmp-//ccuiy1nA.out (No such
file or directory)
error: command 'g++' failed with exit status 1

Am I doing something wrong? I promise to follow your instructions, if I can
make it work :-)

Thanks,

Ariel


On Tue, Aug 11, 2009 at 5:14 PM, John Hunter <jdh2...@gmail.com> wrote:

> On Tue, Aug 11, 2009 at 5:02 PM, Ariel Rokem<aro...@berkeley.edu> wrote:
>
> > here is a suggested patch for mlab's cohere_pairs function. The old
> version
> > was broken, due to some outdated code.
>
> Thanks Ariel for the patch.  Could you explain your patch in words --
> what was broken before and how you fixed it.  Also, while your patch
> is particularly simple, since it is just a single function
> replacement, we encourage people to submit svn diffs against HEAD or
> the branch they are patching.  It just makes life simpler for us,
> since we (fortunately) get a lot of contributions.  I strongly
> encourage people to include a complete, free-standing example that I
> can run unmodified  which shows the undesired behavior pre-patch and
> the desired behavior post-patch, with a clear verbal of what to look
> for.  I wrote this function 5 years ago, and while I remember it
> pretty well, I will not be as familiar with it after such a long
> hiatus as you are now.
>
> http://matplotlib.sourceforge.net/faq/howto_faq.html#contributing-howto
>
> JDH
>



-- 
Ariel Rokem
Helen Wills Neuroscience Institute
University of California, Berkeley
http://argentum.ucbso.berkeley.edu/ariel
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to