matplotlib *EGG* installation works on Fedora but not Debian Etch..

Yes we all know the normal install of Matplotlib is rock solid and reliable.

I'm having trouble doing an "egg" (setuptools) install of matplotlib.

(I'm hoping eggs will be a nice way to have uniform install instructions across
all OSes.)

I got numpy egg installed but got this when I tried matplotlib egg install....

gcc: installation problem, cannot exec `cc1plus': No such file or directory
gcc: installation problem, cannot exec `cc1plus': No such file or directory
error: Setup script exited with error: Command "gcc -pthread
-fno-strict-aliasin g -DNDEBUG -g
-O3 -Wall -Wstrict-prototypes -fPIC -Iagg23/include -Isrc -Iswig -
I/usr/include/python2.4 -c agg23/src/agg_trans_affine.cpp -o
build/temp.linux-i6
86-2.4/agg23/src/agg_trans_affine.o" failed with exit status 1
Exception exceptions.OSError: (2, 'No such file or directory',
'src/_ns_cntr.c') in <bound
method CleanUpFile.__del__ of <setupext.CleanUpFile instance at 0xb78
d59ac>> ignored
Exception exceptions.OSError: (2, 'No such file or directory',
'src/_ns_backend_ agg.cpp') in
<bound method CleanUpFile.__del__ of <setupext.CleanUpFile instance
at 0xb78d53cc>> ignored
Exception exceptions.OSError: (2, 'No such file or directory',
'src/_ns_nxutils. c') in <bound
method CleanUpFile.__del__ of <setupext.CleanUpFile instance at 0x
b78d5b8c>> ignored
Exception exceptions.OSError: (2, 'No such file or directory',
'src/_ns_image.cp p') in <bound
method CleanUpFile.__del__ of <setupext.CleanUpFile instance at 0x
b78d57ac>> ignored
Exception exceptions.OSError: (2, 'No such file or directory',
'src/_ns_transfor ms.cpp') in
<bound method CleanUpFile.__del__ of <setupext.CleanUpFile instance
at 0xb796c12c>> ignored

Any help greatly appreciated.

Chris

I don't think this has anything to do with eggs. It looks like you
don't have a C++ compiler installed or configured correctly. On
ubuntu/debian you should make sure "build-essentials" is installed.

···

On 12/13/06, chris@...1388... <chris@...1388...> wrote:

Yes we all know the normal install of Matplotlib is rock solid and reliable.

I'm having trouble doing an "egg" (setuptools) install of matplotlib.

(I'm hoping eggs will be a nice way to have uniform install instructions across
all OSes.)

I got numpy egg installed but got this when I tried matplotlib egg install....

gcc: installation problem, cannot exec `cc1plus': No such file or directory
error: Setup script exited with error: Command "gcc -pthread
-fno-strict-aliasin g -DNDEBUG -g
-O3 -Wall -Wstrict-prototypes -fPIC -Iagg23/include -Isrc -Iswig -
I/usr/include/python2.4 -c agg23/src/agg_trans_affine.cpp -o
build/temp.linux-i6
86-2.4/agg23/src/agg_trans_affine.o" failed with exit status 1
Exception exceptions.OSError: (2, 'No such file or directory',
'src/_ns_cntr.c') in <bound
method CleanUpFile.__del__ of <setupext.CleanUpFile instance at 0xb78
d59ac>> ignored
Exception exceptions.OSError: (2, 'No such file or directory',
'src/_ns_backend_ agg.cpp') in
<bound method CleanUpFile.__del__ of <setupext.CleanUpFile instance
at 0xb78d53cc>> ignored
Exception exceptions.OSError: (2, 'No such file or directory',
'src/_ns_nxutils. c') in <bound
method CleanUpFile.__del__ of <setupext.CleanUpFile instance at 0x
b78d5b8c>> ignored
Exception exceptions.OSError: (2, 'No such file or directory',
'src/_ns_image.cp p') in <bound
method CleanUpFile.__del__ of <setupext.CleanUpFile instance at 0x
b78d57ac>> ignored
Exception exceptions.OSError: (2, 'No such file or directory',
'src/_ns_transfor ms.cpp') in
<bound method CleanUpFile.__del__ of <setupext.CleanUpFile instance
at 0xb796c12c>> ignored

Any help greatly appreciated.

Chris

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Thanks for help. Now it freezes always here...

GTK requires pygtk
GTKAgg requires pygtk
TKAgg requires TkInter
warning: no files found matching 'MANIFEST'
warning: no files found matching 'lib/matplotlib/toolkits'
no previously-included directories found matching 'examples/_tmp_*'
In file included from /usr/include/python2.4/Python.h:8,
                 from CXX/Objects.hxx:9,
                 from CXX/Extensions.hxx:19,
                 from src/_transforms.h:12,
                 from src/_ns_transforms.cpp:5:
/usr/include/python2.4/pyconfig.h:832:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/c++/3.3/i486-linux/bits/os_defines.h:39,
                 from /usr/include/c++/3.3/i486-linux/bits/c++config.h:35,
                 from /usr/include/c++/3.3/functional:53,
                 from src/_ns_transforms.cpp:1:
/usr/include/features.h:131:1: warning: this is the location of the previous
definition

Chris

chris@...1388... wrote:

Thanks for help. Now it freezes always here...

GTK requires pygtk
GTKAgg requires pygtk
TKAgg requires TkInter

I never used eggs, but I guess you need to install these libs by yourself.

apt-cache search for this stuff and make sure you install the *-dev versions of the packages.

Seems that you need (list may not exhaustive) python-gtk2-dev (pygtk) and tk8.4-dev, python-tk, ... (TkInter, this is a little tricky to search for, check the dependencies)

···

--
cheers,
steve

Random number generation is the art of producing pure gibberish as quickly as possible.