Opened 7 years ago

Last modified 3 years ago

#44044 new defect

libnewt: add support for Python

Reported by: mojca (Mojca Miklavec) Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: leventyalcin@…, cooljeanius (Eric Gallager), kurthindenburg (Kurt Hindenburg), l2dy (Zero King)
Port: libnewt

Description

As mentioned by Levent on the mailing list and in ticket #30238, libnewt needs to be compiled --with-python to satisfy the requirements for byobu.

But configure and makefiles need a bit of fixing to make this work properly with python from MacPorts.

Change History (4)

comment:1 Changed 7 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:2 Changed 6 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:3 Changed 6 years ago by kurthindenburg (Kurt Hindenburg)

I can get it to compile w/ python but any of the test python scripts can't find snack

otool -L /opt/local/lib/python2.7/site-packages/_snack.so                                            
/opt/local/lib/python2.7/site-packages/_snack.so:
        python2.7/_snack.so (compatibility version 0.0.0, current version 0.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
        /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 855.17.0)
        /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python (compatibility version 2.7.0, current version 2.7.0)
        /opt/local/lib/libnewt.so.0.52.17 (compatibility version 0.52.0, current version 0.52.17)
        /opt/local/lib/libslang.2.dylib (compatibility version 2.0.0, current version 2.2.0)
        /opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.2.0)

https://launchpadlibrarian.net/18514837/test.py

ImportError: No module named snack

comment:4 Changed 3 years ago by l2dy (Zero King)

Cc: l2dy added
Note: See TracTickets for help on using tickets.