|
From: <se...@ma...> - 2006-07-28 01:53:56
|
Hello, I am trying to install matplotlib-0.87.3 on a Fedora Core 4 box The system has python-2.4 installed All of the necessary addons- scipy, numarray, Numeric, gtk, etc have been added. I am including the output of running $ python setup.py install Any help is appreciated. -Thanks, -sen1 Output of above script: /usr/lib/python2.4/site-packages/numpy/lib/utils.py:92: DeprecationWarning: get_ numpy_include is deprecated, use get_include DeprecationWarning) running install running build running build_py running build_ext building 'matplotlib._ns_cntr' extension C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wp,-D_FORTI FY_SOURCE=3D2 -fexceptions -m32 -march=3Di386 -mtune=3Dpentium4 -fasynchronous-unwind- tables -D_GNU_SOURCE -fPIC -fPIC compile options: '-I/usr/lib/python2.4/site-packages/numpy/core/include -I/usr/l ocal/include -I/usr/include -I. -I/usr/include/python2.4 -c' extra options: '-DSCIPY=3D1' gcc: src/_ns_cntr.c src/_ns_cntr.c: In function =E2=80=98Cntr_init=E2=80=99: src/_ns_cntr.c:1582: error: =E2=80=98PyArray_SBYTE=E2=80=99 undeclared (f= irst use in this functi on) src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported only once src/_ns_cntr.c:1582: error: for each function it appears in.) src/_ns_cntr.c: In function =E2=80=98Cntr_init=E2=80=99: src/_ns_cntr.c:1582: error: =E2=80=98PyArray_SBYTE=E2=80=99 undeclared (f= irst use in this functi on) src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported only once src/_ns_cntr.c:1582: error: for each function it appears in.) error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wp,-D_F ORTIFY_SOURCE=3D2 -fexceptions -m32 -march=3Di386 -mtune=3Dpentium4 -fasynchronous-unw ind-tables -D_GNU_SOURCE -fPIC -fPIC -I/usr/lib/python2.4/site-packages/numpy/co re/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.4 -c s rc/_ns_cntr.c -o build/temp.linux-i686-2.4/src/_ns_cntr.o -DSCIPY=3D1" failed with exit status 1 |
|
From: Stam G. <sta...@gm...> - 2014-04-29 06:10:45
|
hi all
downloaded and installed
matplotlib-1.3.1.win32-py3.2.exe
this is what i get
>>> import matplotlib
Traceback (most recent call last):
File "<pyshell#6>", line 1, in <module>
import matplotlib
File "E:\programs\python 3.2.3\lib\site-packages\matplotlib\__init__.py",
line 112, in <module>
raise ImportError("matplotlib requires dateutil")
ImportError: matplotlib requires dateutil
now what?
|
|
From: Paul H. <pmh...@gm...> - 2014-04-29 13:32:24
|
As the error says, you need the dateutil package. It available here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#python-dateutil On Mon, Apr 28, 2014 at 11:10 PM, Stam Golesh <sta...@gm...> wrote: > hi all > > downloaded and installed > matplotlib-1.3.1.win32-py3.2.exe > > this is what i get > >>> import matplotlib > Traceback (most recent call last): > File "<pyshell#6>", line 1, in <module> > import matplotlib > File "E:\programs\python > 3.2.3\lib\site-packages\matplotlib\__init__.py", line 112, in <module> > raise ImportError("matplotlib requires dateutil") > ImportError: matplotlib requires dateutil > > now what? > > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. Get > unparalleled scalability from the best Selenium testing platform available. > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |
|
From: jw <gw...@ou...> - 2014-07-03 01:35:54
|
I installed using version 1.3.1 windows binary
"matplotlib-1.3.1.win32-py2.7.exe" from mathplotlib download. Installation
went fine, but when using the package, it says "dateutil" and "pyparsing"
are missing, which are supposed to be bundled according to the installation
instruction. Is this a bug or expected behavior from now on? I did not have
this issue for earlier versions of matplotlib.
My base python is 2.7.8.
If anyone is having the issue, either download the binaries from pythonlibs
mentioned above, or
install from the sources, which I did as follows:
(1) Install setuptools if you don't have it.
Download source from https://pypi.python.org/pypi/setuptools;
Unpack and run 'ez_setup.py install'; or 'python ez_setup.py install'
This will install setuptools.
(2) Install any other package by downloading the source, unpacking, and
running 'setup.py install'
e.g., "dateutil" has been installed this way.
https://pypi.python.org/pypi/python-dateutil, same for pyparsing
--
View this message in context: http://matplotlib.1069221.n5.nabble.com/installation-problem-tp43325p43606.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
|
|
From: Rachana K. <kat...@gm...> - 2014-07-04 06:30:44
|
Hey, even I had similar issue. Later I learnt python2.7 could support matplotlib version1.0.1 only. So if you want to upgrade your matplotlib, you first need to upgrade your python. On Thu, Jul 3, 2014 at 7:05 AM, jw <gw...@ou...> wrote: > I installed using version 1.3.1 windows binary > "matplotlib-1.3.1.win32-py2.7.exe" from mathplotlib download. Installation > went fine, but when using the package, it says "dateutil" and "pyparsing" > are missing, which are supposed to be bundled according to the installation > instruction. Is this a bug or expected behavior from now on? I did not have > this issue for earlier versions of matplotlib. > My base python is 2.7.8. > > If anyone is having the issue, either download the binaries from pythonlibs > mentioned above, or > install from the sources, which I did as follows: > (1) Install setuptools if you don't have it. > Download source from https://pypi.python.org/pypi/setuptools; > Unpack and run 'ez_setup.py install'; or 'python ez_setup.py install' > This will install setuptools. > > (2) Install any other package by downloading the source, unpacking, and > running 'setup.py install' > e.g., "dateutil" has been installed this way. > https://pypi.python.org/pypi/python-dateutil, same for pyparsing > > > > -- > View this message in context: > http://matplotlib.1069221.n5.nabble.com/installation-problem-tp43325p43606.html > Sent from the matplotlib - users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Goyo <goy...@gm...> - 2014-07-04 17:22:58
|
2014-07-04 8:30 GMT+02:00 Rachana Katkam <kat...@gm...>: > Hey, even I had similar issue. > Later I learnt python2.7 could support matplotlib version1.0.1 only. > > So if you want to upgrade your matplotlib, you first need to upgrade your > python. matplotlib 1.3.1 works quite well with python 2.7. Goyo |
|
From: Benjamin R. <ben...@ou...> - 2014-07-04 18:35:39
|
One possibility is that with v1.3, we changed how packaging was done. Unfortunately, this did cause some transitional issues. The best bet is to uninstall *all* versions of matplotlib, pylab, and mpl_toolkits first, then re-install v1.3.1. Note that waiting for the v1.4 release wouldn't necessarily solve anything as it is the transition *from* older versions of matplotlib that is the issue rather than transitioning *to* newer versions. Hopefully this helps, Ben Root On Wed, Jul 2, 2014 at 9:35 PM, jw <gw...@ou...> wrote: > I installed using version 1.3.1 windows binary > "matplotlib-1.3.1.win32-py2.7.exe" from mathplotlib download. Installation > went fine, but when using the package, it says "dateutil" and "pyparsing" > are missing, which are supposed to be bundled according to the installation > instruction. Is this a bug or expected behavior from now on? I did not have > this issue for earlier versions of matplotlib. > My base python is 2.7.8. > > If anyone is having the issue, either download the binaries from pythonlibs > mentioned above, or > install from the sources, which I did as follows: > (1) Install setuptools if you don't have it. > Download source from https://pypi.python.org/pypi/setuptools; > Unpack and run 'ez_setup.py install'; or 'python ez_setup.py install' > This will install setuptools. > > (2) Install any other package by downloading the source, unpacking, and > running 'setup.py install' > e.g., "dateutil" has been installed this way. > https://pypi.python.org/pypi/python-dateutil, same for pyparsing > > > > -- > View this message in context: > http://matplotlib.1069221.n5.nabble.com/installation-problem-tp43325p43606.html > Sent from the matplotlib - users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: jw <gw...@ou...> - 2014-07-05 01:48:18
|
Thanks for pointing it to a packaging issue, as matplotlib works very well after installing the missing packages. I don't know really the the issue, but I hope it gets sorted out. The earlier binaries had everything it needed on windows, so very convenient to users. I think problems like this could really discourage new users to try, particularly the inexperienced. In my case, the matplotlib install was a clean install on a new machine, though I had used it often on other computers. It was installed after Python 2.7.8, numpy, scipy, and Vpython, so the problem had to be packaging rather than transitional, it'd would seem. One possibility is that with v1.3, we changed how packaging was done. Unfortunately, this did cause some transitional issues. The best bet is to uninstall *all* versions of matplotlib, pylab, and mpl_toolkits first, then re-install v1.3.1. Note that waiting for the v1.4 release wouldn't necessarily solve anything as it is the transition *from* older versions of matplotlib that is the issue rather than transitioning *to* newer versions. Hopefully this helps, Ben Root -- View this message in context: http://matplotlib.1069221.n5.nabble.com/installation-problem-tp43325p43620.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Rachana K. <kat...@gm...> - 2014-07-04 18:48:40
|
I faced the problem of upgrading my matplotlib to 1.3.1 having my python2.7. Its on Fedora am talking about. Its the dmg file available here http://matplotlib.org/downloads.html When I checked for upgrading from Terminal, it said matplotlib1.0.1 is the latest version. On Fri, Jul 4, 2014 at 10:52 PM, Goyo <goy...@gm...> wrote: > 2014-07-04 8:30 GMT+02:00 Rachana Katkam <kat...@gm...>: > > Hey, even I had similar issue. > > Later I learnt python2.7 could support matplotlib version1.0.1 only. > > > > So if you want to upgrade your matplotlib, you first need to upgrade your > > python. > > matplotlib 1.3.1 works quite well with python 2.7. > > Goyo > |
|
From: Benjamin R. <ben...@ou...> - 2014-07-04 19:01:52
|
I presume you mean pypi said that the latest version was 1.0.1? PyPi recently (and rightly so) stopped automatically pull eggs from third-party locations (this is a *huge* security risk). Version 1.0.1 was the last version that was directly hosted on PyPi because the test suite made the package so much bigger after that version. There was talk about granting "top-tier" projects like matplotlib and basemap special permission to upload larger eggs to PyPi. I don't know if that has happened yet. Cheers! Ben Root On Fri, Jul 4, 2014 at 2:48 PM, Rachana Katkam <kat...@gm...> wrote: > I faced the problem of upgrading my matplotlib to 1.3.1 having my > python2.7. Its on Fedora am talking about. Its the dmg file available here > http://matplotlib.org/downloads.html > When I checked for upgrading from Terminal, it said matplotlib1.0.1 is the > latest version. > > > On Fri, Jul 4, 2014 at 10:52 PM, Goyo <goy...@gm...> wrote: > >> 2014-07-04 8:30 GMT+02:00 Rachana Katkam <kat...@gm...>: >> > Hey, even I had similar issue. >> > Later I learnt python2.7 could support matplotlib version1.0.1 only. >> > >> > So if you want to upgrade your matplotlib, you first need to upgrade >> your >> > python. >> >> matplotlib 1.3.1 works quite well with python 2.7. >> >> Goyo >> > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |
|
From: <se...@ma...> - 2006-07-28 18:25:11
|
I installed numpy-1.0b1 from a src RPM. I built the RPM from the src
RPM.
Given your question, I will try to reinstall using the tar.gz file.
Incidentally, I went back to matplotlib-0.83, and was able to install
that after disabling the TKAGG module.
I'll report back on the tar.gz thing.
Incidentally, it seems to me looking at the various modules available,
that it is wise to use the tar.gz files instead of rpms.
Is it easy to unstall one version of a module before installing
another one.
E.g. something like
python setup.py remove
I'm sorry, but I am very new to python and its resources.
In the gnu world, of course, one usually has "make uninstall"
Thanks for any information.
-sen1
On Fri, 28 Jul 2006, Charlie Moad wrote:
> What version of numpy are you using, and was it installed from source
> or package?
>
> On 7/27/06, se...@ma... <se...@ma...> wrote:
>> Hello,
>> I am trying to install matplotlib-0.87.3 on a Fedora Core 4 box
>>
>> The system has python-2.4 installed
>>
>> All of the necessary addons- scipy, numarray, Numeric, gtk, etc have
>> been added.
>>
>> I am including the output of running
>>
>> $ python setup.py install
>>
>> Any help is appreciated.
>>
>> -Thanks,
>> -sen1
>>
>> Output of above script:
>>
>> /usr/lib/python2.4/site-packages/numpy/lib/utils.py:92:
>> DeprecationWarning: get_
>> numpy_include is deprecated, use get_include
>> DeprecationWarning)
>> running install
>> running build
>> running build_py
>> running build_ext
>> building 'matplotlib._ns_cntr' extension
>> C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
>> -Wp,-D_FORTI
>> FY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
>> -fasynchronous-unwind-
>> tables -D_GNU_SOURCE -fPIC -fPIC
>>
>> compile options:
>> '-I/usr/lib/python2.4/site-packages/numpy/core/include -I/usr/l
>> ocal/include -I/usr/include -I. -I/usr/include/python2.4 -c'
>> extra options: '-DSCIPY=1'
>> gcc: src/_ns_cntr.c
>> src/_ns_cntr.c: In function 'Cntr_init':
>> src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in
>> this functi
>> on)
>> src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported
>> only once
>> src/_ns_cntr.c:1582: error: for each function it appears in.)
>> src/_ns_cntr.c: In function 'Cntr_init':
>> src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in
>> this functi
>> on)
>> src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported
>> only once
>> src/_ns_cntr.c:1582: error: for each function it appears in.)
>> error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g
>> -pipe -Wp,-D_F
>> ORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
>> -fasynchronous-unw
>> ind-tables -D_GNU_SOURCE -fPIC -fPIC
>> -I/usr/lib/python2.4/site-packages/numpy/co
>> re/include -I/usr/local/include -I/usr/include
>> -I. -I/usr/include/python2.4 -c s
>> rc/_ns_cntr.c -o build/temp.linux-i686-2.4/src/_ns_cntr.o -DSCIPY=1"
>> failed with
>> exit status 1
>>
>>
>> -------------------------------------------------------------------------
>> 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
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>>
>>
>
--
---------------------------------------------------------------------------
| Sheldon E. Newhouse | e-mail: se...@ma... |
| Mathematics Department | |
| Michigan State University | telephone: 517-355-9684 |
| E. Lansing, MI 48824-1027 USA | FAX: 517-432-1562 |
---------------------------------------------------------------------------
|
|
From: Charlie M. <cw...@gm...> - 2006-07-28 18:31:51
|
> Is it easy to unstall one version of a module before installing > another one. It will just overwrite the old files, so normally you don't run into problems. There is no defacto way to remove the modules though. It is usually pretty obvious what needs to be removed from the site-packages folder. Sometimes it is a little more difficult. Matplotlib installs matplotlib, pytz, dateutil, and pylab.py. - Charlie |
|
From: <se...@ma...> - 2006-07-28 18:30:00
|
OK, I removed the rpms, and used a direct install of numpy-1.0b1 from the tar.gz package. Then, I tried to install matplotlib-0.87 from the tar.gz package. Apparently, same problem: python setup.py build >& build.log [root@gumbie matplotlib-0.87.3]# tail build.log gcc: src/_ns_cntr.c src/_ns_cntr.c: In function =E2=80=98Cntr_init=E2=80=99: src/_ns_cntr.c:1582: error: =E2=80=98PyArray_SBYTE=E2=80=99 undeclared (f= irst use in this function) src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported only once src/_ns_cntr.c:1582: error: for each function it appears in.) src/_ns_cntr.c: In function =E2=80=98Cntr_init=E2=80=99: src/_ns_cntr.c:1582: error: =E2=80=98PyArray_SBYTE=E2=80=99 undeclared (f= irst use in this function) src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported only once src/_ns_cntr.c:1582: error: for each function it appears in.) error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -m32 -march=3Di386 -mtune=3Dpentium4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC -I/usr/lib/python2.4/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.4 -c src/_ns_cntr.c -o build/temp.linux-i686-2.4/src/_ns_cntr.o -DSCIPY=3D1" failed with exit status 1 On Fri, 28 Jul 2006, Charlie Moad wrote: > What version of numpy are you using, and was it installed from source > or package? > > On 7/27/06, se...@ma... <se...@ma...> wrote: >> Hello, >> I am trying to install matplotlib-0.87.3 on a Fedora Core 4 box >>=20 >> The system has python-2.4 installed >>=20 >> All of the necessary addons- scipy, numarray, Numeric, gtk, etc have >> been added. >>=20 >> I am including the output of running >>=20 >> $ python setup.py install >>=20 >> Any help is appreciated. >>=20 >> -Thanks, >> -sen1 >>=20 >> Output of above script: >>=20 >> /usr/lib/python2.4/site-packages/numpy/lib/utils.py:92: >> DeprecationWarning: get_ >> numpy_include is deprecated, use get_include >> DeprecationWarning) >> running install >> running build >> running build_py >> running build_ext >> building 'matplotlib._ns_cntr' extension >> C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe >> -Wp,-D_FORTI >> FY_SOURCE=3D2 -fexceptions -m32 -march=3Di386 -mtune=3Dpentium4 >> -fasynchronous-unwind- >> tables -D_GNU_SOURCE -fPIC -fPIC >>=20 >> compile options: >> '-I/usr/lib/python2.4/site-packages/numpy/core/include -I/usr/l >> ocal/include -I/usr/include -I. -I/usr/include/python2.4 -c' >> extra options: '-DSCIPY=3D1' >> gcc: src/_ns_cntr.c >> src/_ns_cntr.c: In function 'Cntr_init': >> src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in >> this functi >> on) >> src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported >> only once >> src/_ns_cntr.c:1582: error: for each function it appears in.) >> src/_ns_cntr.c: In function 'Cntr_init': >> src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in >> this functi >> on) >> src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported >> only once >> src/_ns_cntr.c:1582: error: for each function it appears in.) >> error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g >> -pipe -Wp,-D_F >> ORTIFY_SOURCE=3D2 -fexceptions -m32 -march=3Di386 -mtune=3Dpentium4 >> -fasynchronous-unw >> ind-tables -D_GNU_SOURCE -fPIC -fPIC >> -I/usr/lib/python2.4/site-packages/numpy/co >> re/include -I/usr/local/include -I/usr/include >> -I. -I/usr/include/python2.4 -c s >> rc/_ns_cntr.c -o build/temp.linux-i686-2.4/src/_ns_cntr.o -DSCIPY=3D1" >> failed with >> exit status 1 >>=20 >>=20 >> ----------------------------------------------------------------------= --- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to shar= e=20 >> your >> opinions on IT & business topics through brief surveys -- and earn cas= h >> http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID= =3DDEVDEV >>=20 >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>=20 >>=20 >>=20 > --=20 -----------------------------------------------------------------------= ---- | Sheldon E. Newhouse | e-mail: se...@ma... = | | Mathematics Department | | | Michigan State University | telephone: 517-355-9684 = | | E. Lansing, MI 48824-1027 USA | FAX: 517-432-1562 = | -----------------------------------------------------------------------= ---- |
|
From: Charlie M. <cw...@gm...> - 2006-07-28 18:41:14
|
It looks like Travis committed a numpy 1.0 compatibility fix on July 7th. It includes the header which addresses your error. You will have to use >=matplotlib-0.87.4 if you want to use the latest numpy. - Charlie On 7/28/06, se...@ma... <se...@ma...> wrote: > OK, > I removed the rpms, and used a direct install of numpy-1.0b1 from the > tar.gz package. > > Then, I tried to install matplotlib-0.87 from the tar.gz package. > > Apparently, same problem: > > python setup.py build >& build.log > [root@gumbie matplotlib-0.87.3]# tail build.log > gcc: src/_ns_cntr.c > src/_ns_cntr.c: In function 'Cntr_init': > src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in > this function) > src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported > only once > src/_ns_cntr.c:1582: error: for each function it appears in.) > src/_ns_cntr.c: In function 'Cntr_init': > src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in > this function) > src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported > only once > src/_ns_cntr.c:1582: error: for each function it appears in.) > error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g > -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 > -mtune=pentium4 -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC > -I/usr/lib/python2.4/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.4 -c > src/_ns_cntr.c -o build/temp.linux-i686-2.4/src/_ns_cntr.o -DSCIPY=1" > failed with exit status 1 > > > On Fri, 28 Jul 2006, Charlie Moad wrote: > > > What version of numpy are you using, and was it installed from source > > or package? > > > > On 7/27/06, se...@ma... <se...@ma...> wrote: > >> Hello, > >> I am trying to install matplotlib-0.87.3 on a Fedora Core 4 box > >> > >> The system has python-2.4 installed > >> > >> All of the necessary addons- scipy, numarray, Numeric, gtk, etc have > >> been added. > >> > >> I am including the output of running > >> > >> $ python setup.py install > >> > >> Any help is appreciated. > >> > >> -Thanks, > >> -sen1 > >> > >> Output of above script: > >> > >> /usr/lib/python2.4/site-packages/numpy/lib/utils.py:92: > >> DeprecationWarning: get_ > >> numpy_include is deprecated, use get_include > >> DeprecationWarning) > >> running install > >> running build > >> running build_py > >> running build_ext > >> building 'matplotlib._ns_cntr' extension > >> C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe > >> -Wp,-D_FORTI > >> FY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 > >> -fasynchronous-unwind- > >> tables -D_GNU_SOURCE -fPIC -fPIC > >> > >> compile options: > >> '-I/usr/lib/python2.4/site-packages/numpy/core/include -I/usr/l > >> ocal/include -I/usr/include -I. -I/usr/include/python2.4 -c' > >> extra options: '-DSCIPY=1' > >> gcc: src/_ns_cntr.c > >> src/_ns_cntr.c: In function 'Cntr_init': > >> src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in > >> this functi > >> on) > >> src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported > >> only once > >> src/_ns_cntr.c:1582: error: for each function it appears in.) > >> src/_ns_cntr.c: In function 'Cntr_init': > >> src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in > >> this functi > >> on) > >> src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported > >> only once > >> src/_ns_cntr.c:1582: error: for each function it appears in.) > >> error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g > >> -pipe -Wp,-D_F > >> ORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 > >> -fasynchronous-unw > >> ind-tables -D_GNU_SOURCE -fPIC -fPIC > >> -I/usr/lib/python2.4/site-packages/numpy/co > >> re/include -I/usr/local/include -I/usr/include > >> -I. -I/usr/include/python2.4 -c s > >> rc/_ns_cntr.c -o build/temp.linux-i686-2.4/src/_ns_cntr.o -DSCIPY=1" > >> failed with > >> exit status 1 > >> > >> > >> ------------------------------------------------------------------------- > >> 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 > >> Mat...@li... > >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > >> > >> > >> > > > > -- > --------------------------------------------------------------------------- > | Sheldon E. Newhouse | e-mail: se...@ma... | > | Mathematics Department | | > | Michigan State University | telephone: 517-355-9684 | > | E. Lansing, MI 48824-1027 USA | FAX: 517-432-1562 | > --------------------------------------------------------------------------- > |
|
From: Asheesh L. <as...@as...> - 2006-07-28 18:46:09
|
On Thu, 27 Jul 2006, se...@ma... wrote: > All of the necessary addons- scipy, numarray, Numeric, gtk, etc have > been added. Well, something in the build system thinks something is missing. So let us know *exactly* what RPMs you installed (with URLs preferably), or where you got the source packages for those things and how you installed them. -- Asheesh. -- You have been selected for a secret mission. |
|
From: <se...@ma...> - 2006-07-28 22:51:20
|
I got the numpy src.rpm from www.numpy.org On Fri, 28 Jul 2006, Asheesh Laroia wrote: > On Thu, 27 Jul 2006, se...@ma... wrote: > >> All of the necessary addons- scipy, numarray, Numeric, gtk, etc have been >> added. > > Well, something in the build system thinks something is missing. So let us > know *exactly* what RPMs you installed (with URLs preferably), or where you > got the source packages for those things and how you installed them. > > -- Asheesh. > > -- --------------------------------------------------------------------------- | Sheldon E. Newhouse | e-mail: se...@ma... | | Mathematics Department | | | Michigan State University | telephone: 517-355-9684 | | E. Lansing, MI 48824-1027 USA | FAX: 517-432-1562 | --------------------------------------------------------------------------- |
|
From: Charlie M. <cw...@gm...> - 2006-07-28 19:20:45
|
What version of numpy are you using, and was it installed from source or package? On 7/27/06, se...@ma... <se...@ma...> wrote: > Hello, > I am trying to install matplotlib-0.87.3 on a Fedora Core 4 box > > The system has python-2.4 installed > > All of the necessary addons- scipy, numarray, Numeric, gtk, etc have > been added. > > I am including the output of running > > $ python setup.py install > > Any help is appreciated. > > -Thanks, > -sen1 > > Output of above script: > > /usr/lib/python2.4/site-packages/numpy/lib/utils.py:92: > DeprecationWarning: get_ > numpy_include is deprecated, use get_include > DeprecationWarning) > running install > running build > running build_py > running build_ext > building 'matplotlib._ns_cntr' extension > C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe > -Wp,-D_FORTI > FY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 > -fasynchronous-unwind- > tables -D_GNU_SOURCE -fPIC -fPIC > > compile options: > '-I/usr/lib/python2.4/site-packages/numpy/core/include -I/usr/l > ocal/include -I/usr/include -I. -I/usr/include/python2.4 -c' > extra options: '-DSCIPY=1' > gcc: src/_ns_cntr.c > src/_ns_cntr.c: In function 'Cntr_init': > src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in > this functi > on) > src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported > only once > src/_ns_cntr.c:1582: error: for each function it appears in.) > src/_ns_cntr.c: In function 'Cntr_init': > src/_ns_cntr.c:1582: error: 'PyArray_SBYTE' undeclared (first use in > this functi > on) > src/_ns_cntr.c:1582: error: (Each undeclared identifier is reported > only once > src/_ns_cntr.c:1582: error: for each function it appears in.) > error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g > -pipe -Wp,-D_F > ORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 > -fasynchronous-unw > ind-tables -D_GNU_SOURCE -fPIC -fPIC > -I/usr/lib/python2.4/site-packages/numpy/co > re/include -I/usr/local/include -I/usr/include > -I. -I/usr/include/python2.4 -c s > rc/_ns_cntr.c -o build/temp.linux-i686-2.4/src/_ns_cntr.o -DSCIPY=1" > failed with > exit status 1 > > > ------------------------------------------------------------------------- > 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > |
|
From: <se...@ma...> - 2006-07-28 22:50:25
|
OK, I was able to install with 0.87.4 (still no tkagg, however). This is still with the tar.gz version of numpy-1.0b I will try to re-install numpy from the rpms to see if that makes a difference. -sen BTW You guys are great! I love the way you got to my questions so fast. Reminds me of the old redhat days (e.g. when Eric Troan, Donnie Barnes, Marc Ewing, etc. would answer questions on the mailing lists). I hope you can keep it up. On Fri, 28 Jul 2006, Charlie Moad wrote: > It looks like Travis committed a numpy 1.0 compatibility fix on July > 7th. It includes the header which addresses your error. You will > have to use >=matplotlib-0.87.4 if you want to use the latest numpy. > > - Charlie > |
|
From: Charlie M. <cw...@gm...> - 2006-07-28 22:55:26
|
On 7/28/06, se...@ma... <se...@ma...> wrote: > OK, I was able to install with 0.87.4 (still no tkagg, however). What's the error you are getting with tk? Do you have the dev packages installed? > This is still with the tar.gz version of numpy-1.0b > > I will try to re-install numpy from the rpms to see if that makes a > difference. > -sen > > BTW You guys are great! I love the way you got to my questions so > fast. Reminds me of the old redhat days (e.g. when Eric Troan, Donnie > Barnes, Marc Ewing, etc. would answer questions on the mailing lists). Thanks! |
|
From: <se...@ma...> - 2006-07-28 22:57:20
|
Here is the output of an attempt to install 0.87.4 with tkagg.
It installs fine without it.
Any ideas will be appreciated.
TIA,
-sen
compile options:
'-I/usr/lib/python2.4/site-packages/numpy/core/include
-I/usr/local/include -I/usr/include -I. -I/usr/local/include
-I/usr/include -I. -I/
usr/include/pygtk-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/inc
lude/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/i
nclude/python2.4 -c'
extra options: '-DSCIPY=3D1'
gcc: src/_ns_backend_gdk.c
gcc -pthread -shared build/temp.linux-i686-2.4/src/_ns_backend_gdk.o
-L/usr/local/lib -L/usr/lib -L/usr/local/lib -L/usr/lib -lgobject-2.0
-lglib-2.0 -lgtk
-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0
-lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
-o build/lib.linu
x-i686-2.4/matplotlib/backends/_ns_backend_gdk.so
building 'matplotlib.backends._tkagg' extension
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
-Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -m32 -march=3Di386 -mtune=3Dpentiu=
m4
-fasynchronous-un
wind-tables -D_GNU_SOURCE -fPIC -fPIC
compile options: '-I/usr/include -I/usr/include -I/usr/local/include
-I/usr/include -I. -Isrc -Iswig -Iagg23/include
-I. -I/usr/local/include -I/usr/includ
e -I. -I/usr/include/freetype2 -I/usr/include/freetype2
-I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2
-Isrc/freetype2 -Iswig/freety
pe2 -Iagg23/include/freetype2 -I./freetype2
-I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2
-I/usr/include/python2.4 -c'
gcc: src/_tkagg.cpp
src/_tkagg.cpp:28:18: error: tk.h: No such file or directory
src/_tkagg.cpp:36: error: ISO C++ forbids declaration of =E2=80=98Tcl_Int=
erp=E2=80=99
with no type
src/_tkagg.cpp:36: error: expected =E2=80=98;=E2=80=99 before =E2=80=98*=E2=
=80=99 token
src/_tkagg.cpp:40: error: =E2=80=98ClientData=E2=80=99 was not declared i=
n this scope
src/_tkagg.cpp:40: error: =E2=80=98Tcl_Interp=E2=80=99 was not declared i=
n this scope
src/_tkagg.cpp:40: error: =E2=80=98interp=E2=80=99 was not declared in th=
is scope
src/_tkagg.cpp:41: error: expected primary-expression before =E2=80=98int=
=E2=80=99
src/_tkagg.cpp:41: error: expected primary-expression before =E2=80=98cha=
r=E2=80=99
src/_tkagg.cpp:41: error: initializer expression list treated as
compound expression
src/_tkagg.cpp:42: error: expected =E2=80=98,=E2=80=99 or =E2=80=98;=E2=80=
=99 before =E2=80=98{=E2=80=99 token
src/_tkagg.cpp: In function =E2=80=98PyObject* _tkinit(PyObject*, PyObjec=
t*)=E2=80=99:
src/_tkagg.cpp:174: error: =E2=80=98Tcl_Interp=E2=80=99 was not declared =
in this scope
src/_tkagg.cpp:174: error: =E2=80=98interp=E2=80=99 was not declared in t=
his scope
src/_tkagg.cpp:183: error: expected primary-expression before =E2=80=98)=E2=
=80=99
token
src/_tkagg.cpp:183: error: expected `;' before =E2=80=98arg=E2=80=99
src/_tkagg.cpp:188: error: =E2=80=98struct TkappObject=E2=80=99 has no me=
mber named
=E2=80=98interp=E2=80=99
src/_tkagg.cpp:194: error: =E2=80=98Tcl_CmdProc=E2=80=99 was not declared=
in this
scope
src/_tkagg.cpp:194: error: expected primary-expression before =E2=80=98)=E2=
=80=99
token
src/_tkagg.cpp:195: error: =E2=80=98ClientData=E2=80=99 was not declared =
in this scope
src/_tkagg.cpp:195: error: =E2=80=98Tcl_CmdDeleteProc=E2=80=99 was not de=
clared in
this scope
src/_tkagg.cpp:195: error: expected primary-expression before =E2=80=98)=E2=
=80=99
token
src/_tkagg.cpp:195: error: =E2=80=98Tcl_CreateCommand=E2=80=99 was not de=
clared in
this scope
src/_tkagg.cpp:28:18: error: tk.h: No such file or directory
src/_tkagg.cpp:36: error: ISO C++ forbids declaration of =E2=80=98Tcl_Int=
erp=E2=80=99
with no type
src/_tkagg.cpp:36: error: expected =E2=80=98;=E2=80=99 before =E2=80=98*=E2=
=80=99 token
src/_tkagg.cpp:40: error: =E2=80=98ClientData=E2=80=99 was not declared i=
n this scope
src/_tkagg.cpp:40: error: =E2=80=98Tcl_Interp=E2=80=99 was not declared i=
n this scope
src/_tkagg.cpp:40: error: =E2=80=98interp=E2=80=99 was not declared in th=
is scope
src/_tkagg.cpp:41: error: expected primary-expression before =E2=80=98int=
=E2=80=99
src/_tkagg.cpp:41: error: expected primary-expression before =E2=80=98cha=
r=E2=80=99
src/_tkagg.cpp:41: error: initializer expression list treated as
compound expression
src/_tkagg.cpp:42: error: expected =E2=80=98,=E2=80=99 or =E2=80=98;=E2=80=
=99 before =E2=80=98{=E2=80=99 token
src/_tkagg.cpp: In function =E2=80=98PyObject* _tkinit(PyObject*, PyObjec=
t*)=E2=80=99:
src/_tkagg.cpp:174: error: =E2=80=98Tcl_Interp=E2=80=99 was not declared =
in this scope
src/_tkagg.cpp:174: error: =E2=80=98interp=E2=80=99 was not declared in t=
his scope
src/_tkagg.cpp:183: error: expected primary-expression before =E2=80=98)=E2=
=80=99
token
src/_tkagg.cpp:183: error: expected `;' before =E2=80=98arg=E2=80=99
src/_tkagg.cpp:194: error: =E2=80=98Tcl_CmdProc=E2=80=99 was not declared=
in this
scope
src/_tkagg.cpp:194: error: expected primary-expression before =E2=80=98)=E2=
=80=99
token
src/_tkagg.cpp:195: error: =E2=80=98ClientData=E2=80=99 was not declared =
in this scope
src/_tkagg.cpp:195: error: =E2=80=98Tcl_CmdDeleteProc=E2=80=99 was not de=
clared in
this scope
src/_tkagg.cpp:195: error: expected primary-expression before =E2=80=98)=E2=
=80=99
token
src/_tkagg.cpp:195: error: =E2=80=98Tcl_CreateCommand=E2=80=99 was not de=
clared in
this scope
error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g
-pipe -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -m32 -march=3Di386
-mtune=3Dpentium4 -fasynchronou
s-unwind-tables -D_GNU_SOURCE -fPIC -fPIC -I/usr/include
-I/usr/include -I/usr/local/include -I/usr/include -I. -Isrc -Iswig
-Iagg23/include -I. -I/usr/loc
al/include -I/usr/include -I. -I/usr/include/freetype2
-I/usr/include/freetype2 -I/usr/local/include/freetype2
-I/usr/include/freetype2 -I./freetype2 -Isrc
/freetype2 -Iswig/freetype2 -Iagg23/include/freetype2 -I./freetype2
-I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2
-I/usr/include/py
thon2.4 -c src/_tkagg.cpp -o build/temp.linux-i686-2.4/src/_tkagg.o"
failed with exit status 1
|
|
From: Charlie M. <cw...@gm...> - 2006-07-29 05:04:44
|
It can't find tk.h so it looks like you need to install the tk dev packages.
On 7/28/06, se...@ma... <se...@ma...> wrote:
> Here is the output of an attempt to install 0.87.4 with tkagg.
>
> It installs fine without it.
>
>
> Any ideas will be appreciated.
>
> TIA,
> -sen
>
> compile options:
> '-I/usr/lib/python2.4/site-packages/numpy/core/include
> -I/usr/local/include -I/usr/include -I. -I/usr/local/include
> -I/usr/include -I. -I/
> usr/include/pygtk-2.0 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0
> -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/inc
> lude/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
> -I/usr/include/freetype2/config -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/i
> nclude/python2.4 -c'
> extra options: '-DSCIPY=1'
> gcc: src/_ns_backend_gdk.c
> gcc -pthread -shared build/temp.linux-i686-2.4/src/_ns_backend_gdk.o
> -L/usr/local/lib -L/usr/lib -L/usr/local/lib -L/usr/lib -lgobject-2.0
> -lglib-2.0 -lgtk
> -x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0
> -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
> -o build/lib.linu
> x-i686-2.4/matplotlib/backends/_ns_backend_gdk.so
> building 'matplotlib.backends._tkagg' extension
> C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4
> -fasynchronous-un
> wind-tables -D_GNU_SOURCE -fPIC -fPIC
>
> compile options: '-I/usr/include -I/usr/include -I/usr/local/include
> -I/usr/include -I. -Isrc -Iswig -Iagg23/include
> -I. -I/usr/local/include -I/usr/includ
> e -I. -I/usr/include/freetype2 -I/usr/include/freetype2
> -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2
> -Isrc/freetype2 -Iswig/freety
> pe2 -Iagg23/include/freetype2 -I./freetype2
> -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2
> -I/usr/include/python2.4 -c'
> gcc: src/_tkagg.cpp
> src/_tkagg.cpp:28:18: error: tk.h: No such file or directory
> src/_tkagg.cpp:36: error: ISO C++ forbids declaration of 'Tcl_Interp'
> with no type
> src/_tkagg.cpp:36: error: expected ';' before '*' token
> src/_tkagg.cpp:40: error: 'ClientData' was not declared in this scope
> src/_tkagg.cpp:40: error: 'Tcl_Interp' was not declared in this scope
> src/_tkagg.cpp:40: error: 'interp' was not declared in this scope
> src/_tkagg.cpp:41: error: expected primary-expression before 'int'
> src/_tkagg.cpp:41: error: expected primary-expression before 'char'
> src/_tkagg.cpp:41: error: initializer expression list treated as
> compound expression
> src/_tkagg.cpp:42: error: expected ',' or ';' before '{' token
> src/_tkagg.cpp: In function 'PyObject* _tkinit(PyObject*, PyObject*)':
> src/_tkagg.cpp:174: error: 'Tcl_Interp' was not declared in this scope
> src/_tkagg.cpp:174: error: 'interp' was not declared in this scope
> src/_tkagg.cpp:183: error: expected primary-expression before ')'
> token
> src/_tkagg.cpp:183: error: expected `;' before 'arg'
> src/_tkagg.cpp:188: error: 'struct TkappObject' has no member named
> 'interp'
> src/_tkagg.cpp:194: error: 'Tcl_CmdProc' was not declared in this
> scope
> src/_tkagg.cpp:194: error: expected primary-expression before ')'
> token
> src/_tkagg.cpp:195: error: 'ClientData' was not declared in this scope
> src/_tkagg.cpp:195: error: 'Tcl_CmdDeleteProc' was not declared in
> this scope
> src/_tkagg.cpp:195: error: expected primary-expression before ')'
> token
> src/_tkagg.cpp:195: error: 'Tcl_CreateCommand' was not declared in
> this scope
> src/_tkagg.cpp:28:18: error: tk.h: No such file or directory
> src/_tkagg.cpp:36: error: ISO C++ forbids declaration of 'Tcl_Interp'
> with no type
> src/_tkagg.cpp:36: error: expected ';' before '*' token
> src/_tkagg.cpp:40: error: 'ClientData' was not declared in this scope
> src/_tkagg.cpp:40: error: 'Tcl_Interp' was not declared in this scope
> src/_tkagg.cpp:40: error: 'interp' was not declared in this scope
> src/_tkagg.cpp:41: error: expected primary-expression before 'int'
> src/_tkagg.cpp:41: error: expected primary-expression before 'char'
> src/_tkagg.cpp:41: error: initializer expression list treated as
> compound expression
> src/_tkagg.cpp:42: error: expected ',' or ';' before '{' token
> src/_tkagg.cpp: In function 'PyObject* _tkinit(PyObject*, PyObject*)':
> src/_tkagg.cpp:174: error: 'Tcl_Interp' was not declared in this scope
> src/_tkagg.cpp:174: error: 'interp' was not declared in this scope
> src/_tkagg.cpp:183: error: expected primary-expression before ')'
> token
> src/_tkagg.cpp:183: error: expected `;' before 'arg'
> src/_tkagg.cpp:194: error: 'Tcl_CmdProc' was not declared in this
> scope
> src/_tkagg.cpp:194: error: expected primary-expression before ')'
> token
> src/_tkagg.cpp:195: error: 'ClientData' was not declared in this scope
> src/_tkagg.cpp:195: error: 'Tcl_CmdDeleteProc' was not declared in
> this scope
> src/_tkagg.cpp:195: error: expected primary-expression before ')'
> token
> src/_tkagg.cpp:195: error: 'Tcl_CreateCommand' was not declared in
> this scope
> error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g
> -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386
> -mtune=pentium4 -fasynchronou
> s-unwind-tables -D_GNU_SOURCE -fPIC -fPIC -I/usr/include
> -I/usr/include -I/usr/local/include -I/usr/include -I. -Isrc -Iswig
> -Iagg23/include -I. -I/usr/loc
> al/include -I/usr/include -I. -I/usr/include/freetype2
> -I/usr/include/freetype2 -I/usr/local/include/freetype2
> -I/usr/include/freetype2 -I./freetype2 -Isrc
> /freetype2 -Iswig/freetype2 -Iagg23/include/freetype2 -I./freetype2
> -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2
> -I/usr/include/py
> thon2.4 -c src/_tkagg.cpp -o build/temp.linux-i686-2.4/src/_tkagg.o"
> failed with exit status 1
>
>
>
|