eu estava fazendo a instalação da matplot lib quando ao o setup executar o comando: 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/local/include -I/usr/local/include -I/usr/local/include -I/usr/include -I. -Isrc -Iswig -Iagg23/include -I. -I/usr/local/include -I/usr/include -I. -I/usr/local/include/freetype2 -I/usr/local/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/python2.4 -c src/_tkagg.cpp -o build/temp.linux-i686-2.4/src/ _tkagg.o
acoteceram os seguintes erros:
src/_tkagg.cpp:28:18: 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:42: 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' undeclared (first use this function) src/_tkagg.cpp:174: error: (Each undeclared identifier is reported only once for each function it appears in.) src/_tkagg.cpp:174: error: `interp' undeclared (first use this function) 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' undeclared (first use this function) src/_tkagg.cpp:194: error: expected primary-expression before ')' token src/_tkagg.cpp:195: error: `ClientData' undeclared (first use this function) src/_tkagg.cpp:195: error: `Tcl_CmdDeleteProc' undeclared (first use this function) src/_tkagg.cpp:195: error: expected primary-expression before ')' token src/_tkagg.cpp:195: error: `Tcl_CreateCommand' undeclared (first use this function)
algeum ja teve algo aprecido?
cahei o problema é pq nao emcontra os arquivos tk.h e tcl.h no include alguem sabe onde eles estao ou como tornalos dispoiniveis?
2006/8/3, Esdras Caleb acheicaleb@gmail.com:
eu estava fazendo a instalação da matplot lib quando ao o setup executar o comando: 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/local/include -I/usr/local/include -I/usr/local/include -I/usr/include -I. -Isrc -Iswig -Iagg23/include -I. -I/usr/local/include -I/usr/include -I. -I/usr/local/include/freetype2 -I/usr/local/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/python2.4 -c src/_tkagg.cpp -o build/temp.linux-i686-2.4 /src/_tkagg.o
acoteceram os seguintes erros:
src/_tkagg.cpp:28:18: 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:42: 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' undeclared (first use this function) src/_tkagg.cpp:174: error: (Each undeclared identifier is reported only once for each function it appears in.) src/_tkagg.cpp:174: error: `interp' undeclared (first use this function) 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' undeclared (first use this function) src/_tkagg.cpp:194: error: expected primary-expression before ')' token src/_tkagg.cpp:195: error: `ClientData' undeclared (first use this function) src/_tkagg.cpp:195: error: `Tcl_CmdDeleteProc' undeclared (first use this function) src/_tkagg.cpp:195: error: expected primary-expression before ')' token src/_tkagg.cpp:195: error: `Tcl_CreateCommand' undeclared (first use this function)
algeum ja teve algo aprecido?
Olá,
Provavelmente está no pacote tk-devel.
# yum install tk-devel
[]'s
Gustavo Picoloto
2006/8/3, Esdras Caleb acheicaleb@gmail.com:
cahei o problema é pq nao emcontra os arquivos tk.h e tcl.h no include alguem sabe onde eles estao ou como tornalos dispoiniveis?
2006/8/3, Esdras Caleb acheicaleb@gmail.com:
eu estava fazendo a instalação da matplot lib quando ao o setup executar o
comando:
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/local/include -I/usr/local/include -I/usr/local/include -I/usr/include -I. -Isrc -Iswig -Iagg23/include -I. -I/usr/local/include -I/usr/include -I. -I/usr/local/include/freetype2 -I/usr/local/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/python2.4 -c src/_tkagg.cpp -o build/temp.linux-i686-2.4/src/_tkagg.o
acoteceram os seguintes erros:
src/_tkagg.cpp:28:18: 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:42: 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' undeclared (first use this
function)
src/_tkagg.cpp:174: error: (Each undeclared identifier is reported only
once for each function it appears in.)
src/_tkagg.cpp:174: error: `interp' undeclared (first use this function) 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' undeclared (first use this
function)
src/_tkagg.cpp:194: error: expected primary-expression before ')' token src/_tkagg.cpp:195: error: `ClientData' undeclared (first use this
function)
src/_tkagg.cpp:195: error: `Tcl_CmdDeleteProc' undeclared (first use this
function)
src/_tkagg.cpp:195: error: expected primary-expression before ')' token src/_tkagg.cpp:195: error: `Tcl_CreateCommand' undeclared (first use this
function)
algeum ja teve algo aprecido?
-- Fedora-users-br mailing list Fedora-users-br@redhat.com https://www.redhat.com/mailman/listinfo/fedora-users-br
br-users@lists.fedoraproject.org