I have no idea what the second line does either -- and I've always done
just fine without it ;)
The error message is puzzling, since matplotlib does even use swig
currently.
Mike
Tony S Yu wrote:
> Hi,
>
> I run mpl from the svn trunk, but I ran into a problem today after
> pulling the newest version (my last update was probably a week ago).
> The full build output is copied below.
>
> I build from trunk using the following commands:
>
> $ python setup.py build_ext --inplace
> $ python setupegg.py develop
>
> and my build failed on setupegg.py. To be honest, I'm not sure what
> the second line even does, but in the past, I've run into problems
> without it.
>
> Any help would be greatly appreciated.
> -Tony
>
> =
> =
> =
> =
> ========================================================================
> BUILDING MATPLOTLIB
> matplotlib: 0.98.6svn
> python: 2.5.1 (r251:54863, Feb 6 2009, 19:02:12) [GCC
> 4.0.1 (Apple Inc. build 5465)]
> platform: darwin
>
> REQUIRED DEPENDENCIES
> numpy: 1.3.0
> freetype2: 9.16.3
>
> OPTIONAL BACKEND DEPENDENCIES
> libpng: 1.2.29
> Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4
> wxPython: 2.8.4.0
> * 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.4.0, PyQt4: 4.4.2
> Cairo: 1.4.12
>
> OPTIONAL DATE/TIMEZONE DEPENDENCIES
> datetime: present, version unknown
> dateutil: matplotlib will provide
> pytz: 2008c
>
> OPTIONAL USETEX DEPENDENCIES
> dvipng: 1.9
> ghostscript: 8.57
> latex: 3.141592
>
> [Edit setup.cfg to suppress the above messages]
> =
> =
> =
> =
> ========================================================================
> pymods ['pylab']
> packages ['matplotlib', 'matplotlib.backends',
> 'matplotlib.projections', 'mpl_toolkits', 'mpl_toolkits.mplot3d',
> 'mpl_toolkits.axes_grid', 'matplotlib.sphinxext',
> 'matplotlib.numerix', 'matplotlib.numerix.mlab',
> 'matplotlib.numerix.ma', 'matplotlib.numerix.linear_algebra',
> 'matplotlib.numerix.random_array', 'matplotlib.numerix.fft',
> 'matplotlib.delaunay', 'dateutil', 'dateutil/zoneinfo']
> running develop
> running egg_info
> writing lib/matplotlib.egg-info/PKG-INFO
> writing namespace_packages to lib/matplotlib.egg-info/
> namespace_packages.txt
> writing top-level names to lib/matplotlib.egg-info/top_level.txt
> writing dependency_links to lib/matplotlib.egg-info/dependency_links.txt
> reading manifest template 'MANIFEST.in'
> warning: no files found matching 'MANIFEST'
> warning: no files found matching 'lib/mpl_toolkits'
> writing manifest file 'lib/matplotlib.egg-info/SOURCES.txt'
> running build_ext
> building 'matplotlib.ft2font' extension
> Traceback (most recent call last):
> File "setupegg.py", line 8, in <module>
> {'namespace_packages' : ['mpl_toolkits']}})
> File "setup.py", line 267, in <module>
> **additional_params
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/distutils/core.py", line 151, in setup
> dist.run_commands()
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/distutils/dist.py", line 974, in run_commands
> self.run_command(cmd)
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/distutils/dist.py", line 994, in run_command
> cmd_obj.run()
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/
> Extras/lib/python/setuptools/command/develop.py", line 27, in run
> self.install_for_development()
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/
> Extras/lib/python/setuptools/command/develop.py", line 88, in
> install_for_development
> self.run_command('build_ext')
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/distutils/cmd.py", line 333, in run_command
> self.distribution.run_command(command)
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/distutils/dist.py", line 994, in run_command
> cmd_obj.run()
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/
> Extras/lib/python/setuptools/command/build_ext.py", line 46, in run
> _build_ext.run(self)
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/distutils/command/build_ext.py", line 290, in run
> self.build_extensions()
> File "/Library/Python/2.5/site-packages/Pyrex-0.9.8.5-py2.5.egg/
> Pyrex/Distutils/build_ext.py", line 82, in build_extensions
> self.build_extension(ext)
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/
> Extras/lib/python/setuptools/command/build_ext.py", line 175, in
> build_extension
> _build_ext.build_extension(self,ext)
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/distutils/command/build_ext.py", line 453, in build_extension
> sources = self.swig_sources(sources, ext)
> File "/System/Library/Frameworks/Python.framework/Versions/2.5/
> Extras/lib/python/setuptools/command/build_ext.py", line 77, in
> swig_sources
> sources = _build_ext.swig_sources(self, sources) or sources
> TypeError: swig_sources() takes exactly 3 arguments (2 given)
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited royalty-free distribution of the report engine
> for externally facing server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Matplotlib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users