LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 07-10-2006, 10:24 AM   #1
sylvious
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Rep: Reputation: 0
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?
 
Old 07-10-2006, 10:27 AM   #2
sylvious
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Original Poster
Rep: Reputation: 0
sorry, actually running fltk 1.1.7
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Building gcc bootsrap compiler failure newcomer4 Linux From Scratch 10 02-24-2006 07:54 PM
gcc compiler installation failure newcomer4 Linux - General 2 02-08-2006 12:25 AM
Failure of gcc -m32 on an x86_64 RockM66 Linux - Software 0 01-19-2005 04:07 PM
gcc install failure ............. eye Linux - Software 3 08-28-2003 11:35 PM
Chapter 5, GCC pass 1: compile failure Electrode Linux From Scratch 0 08-16-2003 07:31 PM


All times are GMT -5. The time now is 12:32 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration