[Pythonmac-SIG] How to get pyFltk installed?
blafusel1 at mac.com
blafusel1 at mac.com
Sun Jul 23 05:15:33 CEST 2006
Good point Jim -
I just now realized this myself.
So I re-compiled/installed Python2.4 - and reverted back
to fltk version 1.1 (instead of 1.1.1), as suggested by
Andreas Held himself.
Now I'm getting these messages when trying to build pyfltk:
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
./python/fltk_wrap.cpp: In function `int pyFLTK_handlerCallback(int)':
./python/fltk_wrap.cpp:3595: warning: unused variable 'rec_code'
./python/fltk_wrap.cpp: In function `int fl_mt_ask(const char*)':
./python/fltk_wrap.cpp:3828: warning: 'fl_ask' is deprecated
(declared at /usr/local/include/FL/fl_ask.H:59)
./python/fltk_wrap.cpp:3828: warning: 'fl_ask' is deprecated
(declared at /usr/local/include/FL/fl_ask.H:59)
./python/fltk_wrap.cpp: In function `PyObject* _wrap_fl_ask__varargs__
(PyObject*, PyObject*, PyObject*)':
./python/fltk_wrap.cpp:40324: warning: 'fl_ask' is deprecated
(declared at /usr/local/include/FL/fl_ask.H:59)
./python/fltk_wrap.cpp:40324: warning: 'fl_ask' is deprecated
(declared at /usr/local/include/FL/fl_ask.H:59)
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for C/ObjC but not for C++
/usr/bin/ld: warning -L: directory name (lib) does not exist
and this then trying to load fltk in python (a different error than
before, looks
like in 1.1 the OpenGL Frameworks are working now):
Python 2.4.3 (#1, Jul 22 2006, 11:26:13)
[GCC 4.0.0 20041026 (Apple Computer, Inc. build 4061)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import fltk
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/local/lib/python2.4/site-packages/fltk.py", line 11, in ?
import _fltk
ImportError: Failure linking new module: /usr/local/lib/python2.4/
site-packages/_fltk.so: Symbol not found: __ZN2Fl6unlockEv
Referenced from: /usr/local/lib/python2.4/site-packages/_fltk.so
Expected in: dynamic lookup
On Jul 22, 2006, at 7:07 PM, Jim Tittsler wrote:
> On Jul 23, 2006, at 3:35 , mariocape wrote:
>
>
>> Of course I'd like to continue playing with it at home, running MacOS
>> X 10.4.7
>> on a PowerBook (GCC 3.3, Python 2.4)
>>
>
> Here you mention Python 2.4...
>
>
>>>>> import fltk
>>>>>
>> Traceback (most recent call last):
>> File "<stdin>", line 1, in ?
>> File "/System/Library/Frameworks/Python.framework/Versions/2.3/
>> lib/
>> python2.3/site-packages/fltk.py", line 11, in ?
>>
>
> but you appear to be using Python 2.3. Is there some confusion in
> the path to the preferred version?
>
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>
More information about the Pythonmac-SIG
mailing list