On 7 Sep, 00:46, mabshoff <[EMAIL PROTECTED]> wrote:
> On Sep 6, 4:30 pm, "Dr. David Kirkby" <[EMAIL PROTECTED]> wrote:
>
> Hi Dave,
Hi Micheal
>
> > I noticed there were some Solaris fixes, so I thought I'd try and
> > report. Basically 'matplotlib' fails to build, as one of its
> > dependencies (numpy) is not present. Is that what was expected? This
> > is was on my Sun Blade 2000, with Solaris 10 update 4.
>
> > Dave
>
> Yes, it is an issue with a broken lapack.so and ATLAS that remains
> unfixed in 3.1.2.rc0. It boils down to deleting liblapack.so,
> rebuilding numpy and then restarting the build.
Thank you for that, although it did not get me much further. I removed
the library, rebuilt numpy, started the build of Sage again, but the
compiler complains about the legality of matplotlib's C++ code - see
below.Are you aware of this issue, or is it unique to me?
Dave
x matplotlib-0.98.3.p0/src/src/_image.h, 4633 bytes, 10 tape blocks
x matplotlib-0.98.3.p0/src/src/_backend_gdk.c, 2296 bytes, 5 tape
blocks
x matplotlib-0.98.3.p0/src/src/numerix.h, 219 bytes, 1 tape blocks
x matplotlib-0.98.3.p0/src/src/backend_gdk.c, 2296 bytes, 5 tape
blocks
x matplotlib-0.98.3.p0/src/src/agg_py_transforms.h, 2632 bytes, 6 tape
blocks
x matplotlib-0.98.3.p0/src/src/_gtkagg.cpp, 3469 bytes, 7 tape blocks
x matplotlib-0.98.3.p0/src/src/_backend_agg.cpp, 50184 bytes, 99 tape
blocks
x matplotlib-0.98.3.p0/src/src/nxutils.c, 6698 bytes, 14 tape blocks
x matplotlib-0.98.3.p0/src/src/ft2font.cpp, 57312 bytes, 112 tape
blocks
x matplotlib-0.98.3.p0/src/src/_png.cpp, 9244 bytes, 19 tape blocks
x matplotlib-0.98.3.p0/src/src/MPL_isnan.h, 1872 bytes, 4 tape blocks
x matplotlib-0.98.3.p0/src/src/_image.cpp, 44487 bytes, 87 tape blocks
x matplotlib-0.98.3.p0/src/src/_windowing.cpp, 866 bytes, 2 tape
blocks
x matplotlib-0.98.3.p0/src/src/agg_py_path_iterator.h, 16146 bytes, 32
tape blocks
x matplotlib-0.98.3.p0/src/src/_wxagg.cpp, 7481 bytes, 15 tape blocks
x matplotlib-0.98.3.p0/src/src/backend_agg.cpp, 50184 bytes, 99 tape
blocks
x matplotlib-0.98.3.p0/src/src/_backend_agg.h, 8203 bytes, 17 tape
blocks
x matplotlib-0.98.3.p0/src/src/_path.cpp, 36436 bytes, 72 tape blocks
x matplotlib-0.98.3.p0/src/src/_tkagg.cpp, 6070 bytes, 12 tape blocks
x matplotlib-0.98.3.p0/src/src/ft2font.h, 5673 bytes, 12 tape blocks
x matplotlib-0.98.3.p0/src/src/cntr.c, 57717 bytes, 113 tape blocks
x matplotlib-0.98.3.p0/src/src/_subprocess.c, 14182 bytes, 28 tape
blocks
x matplotlib-0.98.3.p0/src/src/swig_runtime.h, 71325 bytes, 140 tape
blocks
Finished extraction
****************************************************
Host system
uname -a:
SunOS kestrel 5.10 Generic_137111-03 sun4u sparc SUNW,Sun-Blade-1000
****************************************************
****************************************************
GCC Version
gcc -v
Using built-in specs.
Target: sparc-sun-solaris2.10
Configured with: ../gcc-4.3.1/configure --prefix=/usr/local/gcc-4.3.1
--with-gnu-as --with-as=/usr/local/bin/as --with-gnu-ld --with-ld=/usr/
local/bin/ld --enable-languages=c,c++,fortran --with-gmp=/usr/local --
with-mpfr=/usr/local --with-libiconv-prefix=/usr/local
Thread model: posix
gcc version 4.3.1 (GCC)
****************************************************
============================================================================
BUILDING MATPLOTLIB
matplotlib: 0.98.3
python: 2.5.2 (r252:60911, Sep 6 2008, 19:47:48)
[GCC
4.3.1]
platform: sunos5
REQUIRED DEPENDENCIES
numpy: 1.1.0
freetype2: 9.8.3
OPTIONAL BACKEND DEPENDENCIES
libpng: 1.2.18
Tkinter: Tkinter: 50704, Tk: 8.4, Tcl: 8.4
* 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
Qt: no
Qt4: no
Cairo: no
OPTIONAL DATE/TIMEZONE DEPENDENCIES
datetime: present, version unknown
dateutil: matplotlib will provide
pytz: matplotlib will provide
OPTIONAL USETEX DEPENDENCIES
dvipng: no
ghostscript: 8.62
latex: no
EXPERIMENTAL CONFIG PACKAGE DEPENDENCIES
configobj: matplotlib will provide
enthought.traits: no
[Edit setup.cfg to suppress the above messages]
============================================================================
running build
running build_py
creating build
creating build/lib.solaris-2.10-sun4u-2.5
copying lib/pylab.py -> build/lib.solaris-2.10-sun4u-2.5
copying lib/configobj.py -> build/lib.solaris-2.10-sun4u-2.5
creating build/lib.solaris-2.10-sun4u-2.5/matplotlib
copying lib/matplotlib/backend_bases.py -> build/lib.solaris-2.10-
sun4u-2.5/matplotlib
copying lib/matplotlib/afm.py -> build/lib.solaris-2.10-sun4u-2.5/
matplotlib
copying lib/matplotlib/collections.py -> build/lib.solaris-2.10-
sun4u-2.5/matplotlib
<SNIP>
copying lib/pytz/zoneinfo/Atlantic/Bermuda -> build/lib.solaris-2.10-
sun4u-2.5/pytz/zoneinfo/Atlantic
copying lib/pytz/zoneinfo/Atlantic/Reykjavik -> build/lib.solaris-2.10-
sun4u-2.5/pytz/zoneinfo/Atlantic
copying lib/pytz/zoneinfo/Atlantic/St_Helena -> build/lib.solaris-2.10-
sun4u-2.5/pytz/zoneinfo/Atlantic
copying lib/pytz/zoneinfo/Atlantic/Madeira -> build/lib.solaris-2.10-
sun4u-2.5/pytz/zoneinfo/Atlantic
copying lib/dateutil/zoneinfo/zoneinfo-2007f.tar.gz -> build/
lib.solaris-2.10-sun4u-2.5/dateutil/zoneinfo
running build_ext
building 'matplotlib.ft2font' extension
creating build/temp.solaris-2.10-sun4u-2.5
creating build/temp.solaris-2.10-sun4u-2.5/src
creating build/temp.solaris-2.10-sun4u-2.5/CXX
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
prototypes -fPIC -I/export/home/drkirkby/sage-3.1.2.alpha4/local/lib/
python2.5/site-packages/numpy/core/include -I/usr/sfw/include -I/usr/
sfw/include/freetype2 -I/usr/local/include -I. -I/export/home/drkirkby/
sage-3.1.2.alpha4/local/include/ -I/export/home/drkirkby/
sage-3.1.2.alpha4/local/include/python2.5 -c src/ft2font.cpp -o build/
temp.solaris-2.10-sun4u-2.5/src/ft2font.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for Ada/C/ObjC but not for C++
In file included from /usr/sfw/include/freetype2/freetype/freetype.h:
51,
from src/ft2font.h:14,
from src/ft2font.cpp:1:
/usr/sfw/include/freetype2/freetype/config/ftconfig.h:65:1: warning:
"SIZEOF_LONG" redefined
In file included from /export/home/drkirkby/sage-3.1.2.alpha4/local/
include/python2.5/Python.h:8,
from ./CXX/WrapPython.h:42,
from ./CXX/Extensions.hxx:48,
from src/ft2font.h:4,
from src/ft2font.cpp:1:
/export/home/drkirkby/sage-3.1.2.alpha4/local/include/python2.5/
pyconfig.h:814:1: warning: this is the location of the previous
definition
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
prototypes -fPIC -I/export/home/drkirkby/sage-3.1.2.alpha4/local/lib/
python2.5/site-packages/numpy/core/include -I/usr/sfw/include -I/usr/
sfw/include/freetype2 -I/usr/local/include -I. -I/export/home/drkirkby/
sage-3.1.2.alpha4/local/include/ -I/export/home/drkirkby/
sage-3.1.2.alpha4/local/include/python2.5 -c src/mplutils.cpp -o build/
temp.solaris-2.10-sun4u-2.5/src/mplutils.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for Ada/C/ObjC but not for C++
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
prototypes -fPIC -I/export/home/drkirkby/sage-3.1.2.alpha4/local/lib/
python2.5/site-packages/numpy/core/include -I/usr/sfw/include -I/usr/
sfw/include/freetype2 -I/usr/local/include -I. -I/export/home/drkirkby/
sage-3.1.2.alpha4/local/include/ -I/export/home/drkirkby/
sage-3.1.2.alpha4/local/include/python2.5 -c CXX/
IndirectPythonInterface.cxx -o build/temp.solaris-2.10-sun4u-2.5/CXX/
IndirectPythonInterface.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for Ada/C/ObjC but not for C++
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
prototypes -fPIC -I/export/home/drkirkby/sage-3.1.2.alpha4/local/lib/
python2.5/site-packages/numpy/core/include -I/usr/sfw/include -I/usr/
sfw/include/freetype2 -I/usr/local/include -I. -I/export/home/drkirkby/
sage-3.1.2.alpha4/local/include/ -I/export/home/drkirkby/
sage-3.1.2.alpha4/local/include/python2.5 -c CXX/cxx_extensions.cxx -o
build/temp.solaris-2.10-sun4u-2.5/CXX/cxx_extensions.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for Ada/C/ObjC but not for C++
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
prototypes -fPIC -I/export/home/drkirkby/sage-3.1.2.alpha4/local/lib/
python2.5/site-packages/numpy/core/include -I/usr/sfw/include -I/usr/
sfw/include/freetype2 -I/usr/local/include -I. -I/export/home/drkirkby/
sage-3.1.2.alpha4/local/include/ -I/export/home/drkirkby/
sage-3.1.2.alpha4/local/include/python2.5 -c CXX/cxxsupport.cxx -o
build/temp.solaris-2.10-sun4u-2.5/CXX/cxxsupport.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for Ada/C/ObjC but not for C++
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
prototypes -fPIC -I/export/home/drkirkby/sage-3.1.2.alpha4/local/lib/
python2.5/site-packages/numpy/core/include -I/usr/sfw/include -I/usr/
sfw/include/freetype2 -I/usr/local/include -I. -I/export/home/drkirkby/
sage-3.1.2.alpha4/local/include/ -I/export/home/drkirkby/
sage-3.1.2.alpha4/local/include/python2.5 -c CXX/cxxextensions.c -o
build/temp.solaris-2.10-sun4u-2.5/CXX/cxxextensions.o
g++ -shared build/temp.solaris-2.10-sun4u-2.5/src/ft2font.o build/
temp.solaris-2.10-sun4u-2.5/src/mplutils.o build/temp.solaris-2.10-
sun4u-2.5/CXX/IndirectPythonInterface.o build/temp.solaris-2.10-
sun4u-2.5/CXX/cxx_extensions.o build/temp.solaris-2.10-sun4u-2.5/CXX/
cxxsupport.o build/temp.solaris-2.10-sun4u-2.5/CXX/cxxextensions.o -L/
usr/sfw/lib -L/usr/local/lib -L/export/home/drkirkby/sage-3.1.2.alpha4/
local/lib/ -lfreetype -lz -lstdc++ -lm -o build/lib.solaris-2.10-
sun4u-2.5/matplotlib/ft2font.so -R/usr/sfw/lib
building 'matplotlib.ttconv' extension
creating build/temp.solaris-2.10-sun4u-2.5/ttconv
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
prototypes -fPIC -I/usr/local/include -I. -I/export/home/drkirkby/
sage-3.1.2.alpha4/local/include/ -I/export/home/drkirkby/
sage-3.1.2.alpha4/local/include/python2.5 -c src/_ttconv.cpp -o build/
temp.solaris-2.10-sun4u-2.5/src/_ttconv.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for Ada/C/ObjC but not for C++
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
prototypes -fPIC -I/usr/local/include -I. -I/export/home/drkirkby/
sage-3.1.2.alpha4/local/include/ -I/export/home/drkirkby/
sage-3.1.2.alpha4/local/include/python2.5 -c ttconv/pprdrv_tt.cpp -o
build/temp.solaris-2.10-sun4u-2.5/ttconv/pprdrv_tt.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for Ada/C/ObjC but not for C++
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
prototypes -fPIC -I/usr/local/include -I. -I/export/home/drkirkby/
sage-3.1.2.alpha4/local/include/ -I/export/home/drkirkby/
sage-3.1.2.alpha4/local/include/python2.5 -c ttconv/pprdrv_tt2.cpp -o
build/temp.solaris-2.10-sun4u-2.5/ttconv/pprdrv_tt2.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for Ada/C/ObjC but not for C++
ttconv/pprdrv_tt2.cpp: In member function 'void
GlyphToType3::stack(TTStreamWriter&, int)':
ttconv/pprdrv_tt2.cpp:107: error: expected unqualified-id before '('
token
error: command 'gcc' failed with exit status 1
Error building matplotlib package.
real 0m53.640s
user 0m48.194s
sys 0m3.402s
sage: An error occurred while installing matplotlib-0.98.3.p0
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /export/home/drkirkby/sage-3.1.2.alpha4/install.log. Describe your
computer, operating system, etc.
If you want to try to fix the problem, yourself *don't* just cd to
/export/home/drkirkby/sage-3.1.2.alpha4/spkg/build/
matplotlib-0.98.3.p0 and type 'make'.
Instead type "/export/home/drkirkby/sage-3.1.2.alpha4/sage -sh"
in order to set all environment variables correctly, then cd to
/export/home/drkirkby/sage-3.1.2.alpha4/spkg/build/
matplotlib-0.98.3.p0
(When you are done debugging, you can type "exit" to leave the
subshell.)
make[1]: *** [installed/matplotlib-0.98.3.p0] Error 1
make[1]: Leaving directory `/export/home/drkirkby/sage-3.1.2.alpha4/
spkg'
real 4:41.5
user 4:15.4
sys 14.7
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---