Broken mpl deb files partial solution

Well, Xandros ship a python with no distutils.
Hmmmmmmmmmm, usefull.

Anyway, I have a clean reinstall now; but both mpl
deb's are broken (see below).

I am (reasonably) confident distutils will fine for
installing mpl, but I think there are 2 final hurdles:

1) agg
2) mpl build requires pygtk
  
1) Marcus Gruendler kindly supplied a line for
compiling agg from that list:

  gcc -c -O2 src/*.cpp -Iinclude && ar rc
libantigrain2.a *.o
  
  ... after which i assume 'make', 'make install' will
work.

2) ./configure works for pygtk (see below).

I have stopped here for a rest. phew.

I am hoping 'make', 'make install' will ensure pygtk
is picked up when I build matplotlib - any pitfalls?

... and I only want matplotlib to draw pretty pictures
:slight_smile:

regards

michael

============================= deb files on xandros and
elsewhere are broken ?

···

====================================================

ONE:
altered /etc/apt/sources.list by adding

  deb http://anakonda.altervista.org/debian packages/
  deb-src http://anakonda.altervista.org/debian
sources/
  
apt-get update
apt-get install python-matplotlib
python-matplotlib-doc

apt-get install python-matplotlib
python-matplotlib-doc
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean
that you have
requested an impossible situation or if you are using
the unstable
distribution that some required packages have not yet
been created
or been moved out of Incoming.
The following information may help to resolve the
situation:

The following packages have unmet dependencies:
  python-matplotlib: Depends: python2.3-matplotlib (=
0.82-1) but it is not going to be installed
E: Broken packages

TWO:
looked for python2.3-matplotlib on xandros networks:

  found python2.3-matplotlib on xandros: package size
is 2.21 MB
  
  After selecting 'install', the xandos dialog box is
visibly broken, and no installation happens. This
happens consistently for all mpl related debs.
  
  There is a python2.4-matplotlib (albeit with the same
broken dependancy) but no way of upgrading to python
2.4! I *paid* good English pounds
exchanged-at-an-artificially-favourable-rate for
xandros, so I will email them.
   

=========================== output of ./configure for
pygtk is ok

maia:/home/mik/src/pygtk-2.4.1# ./configure
checking for a BSD-compatible install...
/usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name...
a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler...
yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none
needed
checking dependency style of gcc... gcc3
checking for bind_textdomain_codeset... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for some Win32 platform... no
checking for native Win32... no
checking for a sed that does not truncate output...
/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object
files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries...
pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler...
yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77
compiler... no
checking whether accepts -g... no
checking the maximum length of command line
arguments... 32768
checking command to parse /usr/bin/nm -B output from
gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions...
no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports
shared libraries... yes
checking whether -lc should be explicitly linked in...
no
checking dynamic linker characteristics... GNU/Linux
ld.so
checking how to hardcode library paths into
programs... immediate
checking whether stripping libraries is possible...
yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports
shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports
shared libraries... yes
checking dynamic linker characteristics... GNU/Linux
ld.so
checking how to hardcode library paths into
programs... immediate
checking whether stripping libraries is possible...
yes
appending configuration tag "F77" to libtool
checking for a Python interpreter with version >=
2.3... python
checking for python... /usr/bin/python
checking for python version... 2.3
checking for python platform... linux2
checking for python script directory...
${prefix}/lib/python2.3/site-packages
checking for python extension module directory...
${exec_prefix}/lib/python2.3/site-packages
checking for headers required to compile python
extensions... found
checking for python module thread... yes
checking whether to enable threading in pygtk... yes
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.4.0... yes (version
2.6.3)
checking for atk >= 1.0.0... yes
checking ATK_CFLAGS... -I/usr/include/atk-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking ATK_LIBS... -Wl,--export-dynamic -latk-1.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for pango >= 1.4.0... yes
checking PANGO_CFLAGS... -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking PANGO_LIBS... -lpango-1.0 -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0
checking for pkg-config... (cached)
/usr/bin/pkg-config
checking for GTK+ - version >= 2.4.0... yes (version
2.6.2)
checking for GTK+ 2.4... found (version 2.6.2)
checking for libglade-2.0 >= 2.3.6... Package
libglade-2.0 was not found in the pkg-config search
path.
Perhaps you should add the directory containing
`libglade-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libglade-2.0' found
checking for Numeric/arrayobject.h... no
checking whether gcc understands -Wall... yes
checking whether gcc understands -std=c9x... yes
checking whether gcc understands
-fno-strict-aliasing... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pygtk-2.0.pc
config.status: creating codegen/Makefile
config.status: creating gobject/Makefile
config.status: creating gtk/Makefile
config.status: creating docs/Makefile
config.status: creating examples/Makefile
config.status: creating tests/Makefile
config.status: creating codegen/pygtk-codegen-2.0
config.status: creating pygtk.spec
config.status: creating PKG-INFO
config.status: creating config.h
config.status: executing depfiles commands
maia:/home/mik/src/pygtk-2.4.1#

____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs