Newsgroup: it.comp.os.linux.iniziare
Titolo: Non riesco a capire questi errori di SuperKaramba

Come li risolvo?
[root@192 superkaramba-0.34]# make
make  all-recursive
make[1]: Entering directory `/home/saverio/Desktop/superkaramba-0.34'
Making all in doc
make[2]: Entering directory `/home/saverio/Desktop/superkaramba-0.34/doc'
Making all in .
make[3]: Entering directory `/home/saverio/Desktop/superkaramba-0.34/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/saverio/Desktop/superkaramba-0.34/doc'
Making all in en
make[3]: Entering directory `/home/saverio/Desktop/superkaramba-0.34/doc/en'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/saverio/Desktop/superkaramba-0.34/doc/en'
make[2]: Leaving directory `/home/saverio/Desktop/superkaramba-0.34/doc'
Making all in po
make[2]: Entering directory `/home/saverio/Desktop/superkaramba-0.34/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/saverio/Desktop/superkaramba-0.34/po'
Making all in src
make[2]: Entering directory `/home/saverio/Desktop/superkaramba-0.34/src'
make[3]: Entering directory `/home/saverio/Desktop/superkaramba-0.34/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3//include
-I/usr/X11R6/include
  -I/usr/local/include -I/usr/local/include/xmms -I/usr/include/gtk-1.2
-I/usr/i
nclude/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  
-DQT_THREAD_SUPPO
RT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -pedantic -W
-Wpoint
er-arith -Wmissing-prototypes -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-ali
gn -Wconversion -O2 -fno-exceptions -fno-check-new  -MT main.o -MD -MP -MF
".dep
s/main.Tpo" \
  -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
fi
main.cpp:6:20: Python.h: No such file or directory
In file included from main.cpp:24:
karamba.h:5:20: Python.h: No such file or directory
In file included from /usr/include/python2.3/Python.h:8,
                 from imagelabel.h:12,
                 from karamba.h:57,
                 from main.cpp:24:
/usr/include/python2.3/pyconfig.h:850:1: warning: "_POSIX_C_SOURCE"
redefined
In file included from /usr/include/string.h:26,
                 from /usr/lib/qt3/include/qcstring.h:46,
                 from /usr/lib/qt3/include/qstring.h:42,
                 from /usr/lib/qt3/include/qwindowdefs.h:44,
                 from /usr/lib/qt3/include/qwidget.h:42,
                 from /usr/lib/qt3/include/qdesktopwidget.h:40,
                 from /usr/lib/qt3/include/qapplication.h:42,
                 from /usr/include/kapplication.h:40,
                 from main.cpp:8:
/usr/include/features.h:131:1: warning: this is the location of the previous
def        inition
In file included from /usr/include/python2.3/Python.h:69,
                 from imagelabel.h:12,
                 from karamba.h:57,
                 from main.cpp:24:
/usr/include/python2.3/object.h:343: error: syntax error before `;' token
In file included from imagelabel.h:24,
                 from karamba.h:57,
                 from main.cpp:24:
karamba.h:5:20: Python.h: No such file or directory
make[3]: *** [main.o] Error 1
make[3]: Leaving directory `/home/saverio/Desktop/superkaramba-0.34/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/saverio/Desktop/superkaramba-0.34/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/saverio/Desktop/superkaramba-0.34'
make: *** [all] Error 2

 karamba.h:5:20: Python.h: No such file or directory
Non trova l'header Python.h, tutto il resto e' conseguenza:
1) non lo hai installato
2)no e' presente nei percorsi ( -I/dove/sta/Python.h)
Luca
-- 
<<>><<>><<>><<>><<>><<>><<<>><<>><<>><<
Luca Paredi
Computing technical supporter              
Universita' degli Studi dell'Insubria  
<<>><<>><<>><<>><<>><<>><<<>><<>><<>><<

 
--------------
Come non è presente...allora ho installato i seguenti
pacchetti:libpython2.3-2.3.3-2mdk.i586.rpm
python-2.3.3-2mdk.i586.rpm
O Sbaglio??

galax wrote:

Allora aggiungi nel Makefile il path degli include di python.
Ciao


 python-2.3.3-2mdk.i586.rpm
[zed@SwordFishII zed]$ urpmf Python.h
libpython2.3-devel:/usr/include/python2.3/Python.h
             ^^^^^
-- 
Andrea Pavan - Engineering Analyst

Problema risolto grazie :-)
...