pyFltk gcc failure
Trying to install pyFltk1.1.1RC1, heres what I get when i run the setup.py install:
[root@d121110 pyFltk-1.1.1-RC1]# python setup.py install
Building for Linux
['./src', './contrib', '/usr/local/include']
Checking FLTK configuration ...
Using FLTK: ['1.1.7\n']
fltk-config includes: ['/usr/include/freetype2']
fltk-config link paths: []
fltk-config link libraries: ['Xft', 'Xrender', 'fontconfig', 'freetype', 'z', 'X11', 'fltk_images', 'png', 'z', 'jpeg', 'fltk_gl', 'GLU', 'GL', 'fltk_forms', 'fltk', 'Xft', 'pthread', 'm', 'Xext', 'X11']
FLTK was configured with multi-threading support!
FLTK was configured with OpenGL support!
FLTK was configured with Forms support!
done
running install
my_init_posix: changing gcc to g++
running build
running build_py
running build_ext
building '_fltk' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC -DUNIX=1 -I./src -I./contrib -I/usr/local/include -I/usr/include/freetype2 -I/usr/include/python2.4 -c ./python/fltk_wrap.cpp -o build/temp.linux-i686-2.4/./python/fltk_wrap.o
./python/fltk_wrap.cpp: In function ‘int pyFLTK_handlerCallback(int)’:
./python/fltk_wrap.cpp:3731: warning: unused variable ‘rec_code’
./python/fltk_wrap.cpp: In function ‘int fl_mt_ask(const char*)’:
./python/fltk_wrap.cpp:3971: warning: ‘fl_ask’ is deprecated (declared at /usr/include/FL/fl_ask.H:59)
./python/fltk_wrap.cpp:3971: warning: ‘fl_ask’ is deprecated (declared at /usr/include/FL/fl_ask.H:59)
./python/fltk_wrap.cpp: In function ‘PyObject* _wrap_fl_ask__varargs__(PyObject*, PyObject*, PyObject*)’:
./python/fltk_wrap.cpp:37415: warning: ‘fl_ask’ is deprecated (declared at /usr/include/FL/fl_ask.H:59)
./python/fltk_wrap.cpp:37415: warning: ‘fl_ask’ is deprecated (declared at /usr/include/FL/fl_ask.H:59)
./python/fltk_wrap.cpp: In function ‘PyObject* _wrap_upCB(PyObject*, PyObject*)’:
./python/fltk_wrap.cpp:83834: error: ‘upCB’ was not declared in this scope
./python/fltk_wrap.cpp: In function ‘PyObject* _wrap_downCB(PyObject*, PyObject*)’:
./python/fltk_wrap.cpp:83861: error: ‘downCB’ was not declared in this scope
./python/fltk_wrap.cpp: In function ‘PyObject* _wrap_toggleCB(PyObject*, PyObject*)’:
./python/fltk_wrap.cpp:83888: error: ‘toggleCB’ was not declared in this scope
error: command 'gcc' failed with exit status 1
I am running python 2.4.3, gcc 4.1.1, fltk 1.1.6.
Any ideas?
|