What is /usr/lib/python2.4/pycc?  Some sort of wrapper around the 
compiler?  I don't have it on my Sun machine.  I would start by looking 
at that to see what it's doing.  It may not be passing the source file 
along to the compiler.

Mike

David Trethewey wrote:
> I am trying to compile matplotlib on Solaris, I have run into problems 
> as below compiling the ft2fonts extension. Anyone know why?
>
> David
>
>
> python setup.py build
> ============================================================================
> BUILDING MATPLOTLIB
>             matplotlib: 0.99.1.1
>                 python: 2.4.4 (#1, Jan 10 2007, 01:25:01) [C]
>               platform: sunos5
>
> REQUIRED DEPENDENCIES
>                  numpy: 1.1.0
>              freetype2: 9.8.3
>
> OPTIONAL BACKEND DEPENDENCIES
>                 libpng: 1.2.35
>                Tkinter: Tkinter: 39220, Tk: 8.3, Tcl: 8.3
>                         * Guessing the library and include directories for
>                         * Tcl and Tk because the tclConfig.sh and
>                         * tkConfig.sh could not be found and/or parsed.
>               wxPython: no
>                         * wxPython not found
>                   Gtk+: no
>                         * Building for Gtk+ requires pygtk; you must be able
>                         * to "import gtk" in your build/install environment
>        Mac OS X native: no
>                     Qt: no
>                    Qt4: no
>                  Cairo: no
>
> OPTIONAL DATE/TIMEZONE DEPENDENCIES
>               datetime: present, version unknown
>               dateutil: matplotlib will provide
>                   pytz: matplotlib will provide
> adding pytz
>
> OPTIONAL USETEX DEPENDENCIES
>                 dvipng: no
>            ghostscript: 8.15.4
>                  latex: 3.14159
>
> [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', 'pytz', 'dateutil', 'dateutil/zoneinfo']
> running build
> running build_py
> copying lib/matplotlib/mpl-data/matplotlibrc -> 
> build/lib.solaris-2.10-sun4u-2.4/matplotlib/mpl-data
> copying lib/matplotlib/mpl-data/matplotlib.conf -> 
> build/lib.solaris-2.10-sun4u-2.4/matplotlib/mpl-data
> running build_ext
> building 'matplotlib.ft2font' extension
> /usr/lib/python2.4/pycc -DNDEBUG -DPY_ARRAYAUNIQUE_SYMBOL=MPL_ARRAY_API 
> -I/home/dlrt2/usr/lib/python/numpy/core/include -I/usr/sfw/include 
> -I/usr/sfw/include/freetype2 -I/usr/local/include -I. 
> -I/usr/include/python2.4 -c src/ft2font.cpp -o 
> build/temp.solaris-2.10-sun4u-2.4/src/ft2font.o
> cc: No input file specified, no output generated
> error: command '/usr/lib/python2.4/pycc' failed with exit status 1
>
>   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


------------------------------------------------------------------------------
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-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to