Newt not working in Slackware 14 64 bit, works on 32 bit
I want to use Newt as UI for one of my projects. So I used sbopkg to install it and it works fine on my 32 bit system. now I wanted to continue development on my 64 bit system, the installation of newt worked without any errors, but when I try to start the example programs peanuts.py or popcorn.py I get an ImportError:
Code:
tobi ~ ☺ $ python peanuts.py Sadly, I have no idea how to debug this, so any ideas are welcome. |
seeing the error message, seems you are missing snack.
|
Yeah that problem is different but don't use 0.52.13 in any case. It really is broken (that bug report was filed by Alexey Feldgendler, who was an Opera employee at the time). I never got a response from the SlackBuild maintainer and I see now that SlackBuilds is still offering the broken version. :(
As a side note: Newt 0.52.13 was a problem for Opera because we use it (if available) in the install script we provide with our cross-distro packages. Opera worked around the issue now by checking the newt version and blacklisting 0.52.13. |
Quote:
So I installed snack and to be sure rebuilt the newt package, but that doesn't solve the problem. |
and you got the same error?
|
Exactly the same:
Code:
Traceback (most recent call last): |
ok, I understood what's happening: reading the build log, seems newt builds itself a python snackmodule, but doing so it ignores the CFLAGS; on x86_64 it's a problem because at least -fPIC seems to be mandatory in this case
I updated the build script for 0.52.14 and added a sed that should fix it, if you want to test it and report back, I'll include the fix in my branch on slackbuilds.org http://ponce.cc/slackware/testing/newt/ (and so maybe the snack package shouldn't be needed at all) |
Tested and working.
Once again I have to thank you for your effort to help me with my issues. By the way, as I just found out the snack SlackBuild you referred to is for a sound library for Tcl. |
ops :D
thanks to you for reporting the problem (so other users can benefit from the fixed package ;) ). |
All times are GMT -5. The time now is 12:15 PM. |