Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#18865 closed defect (invalid)

Python-2.6.1 +universal fails to build readline, curses, and tkinter core modules

Reported by: griff.rees@… Owned by: blb@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: universal Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: python26

Description

I'm running Leopard and need Python-2.6 with x86-64 support. Building python26 works fine, with universal library dependencies, but readline and curses don't import. Examining the /software/python2.6/ directory reveals the following unusually named files:

2.6.1_0+universal/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_curses_failed.so
2.6.1_0+universal/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_curses_panel_failed.so
2.6.1_0+universal/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/_tkinter_failed.so

Change History (7)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Cc: mcalhoun@… added
Owner: changed from macports-tickets@… to blb@…
Port: +universal removed

comment:2 Changed 15 years ago by blb@…

Just to make sure, what's the output from running

port installed readline ncurses ncursesw tk

comment:3 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

I have some some files xxx_failed.so files in

2.6.1_0+universal/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload

but only for ports which were not built as universal.

comment:4 Changed 15 years ago by griff.rees@…

Hi, here's the output. I'm going to recompile tk +universal to see what that does. Will report back.

sudo port installed readline ncurses ncursesw tk
The following ports are currently installed:
  ncurses @5.7_0
  ncurses @5.7_0+universal (active)
  ncursesw @5.7_0+universal (active)
  readline @5.2.012_1
  readline @6.0.000_0
  readline @6.0.000_0+universal
  readline @6.0.000_1+universal (active)
  tk @8.5.6_1 (active)

comment:5 Changed 15 years ago by griff.rees@…

Weird! Recompiling tk (and things tk depended on) +universal fixed the problems with readline and curses. Thanks very much, might be worth checking on though...

comment:6 Changed 15 years ago by blb@…

Resolution: invalid
Status: newclosed

Technically a port built with +universal should depend on +universal for all its dependencies, but MacPorts can't currently do that; that is ticket #126...

comment:7 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.