[Pythonmac-SIG] 2.2 compile problem

Steven Majewski sdm7g@Virginia.EDU
Tue, 11 Dec 2001 15:48:07 -0500 (EST)


On Tue, 11 Dec 2001, Nathan Heagy wrote:

> I'm getting the following error when trying to compile the latest beta of
> Python 2.2 on OS X 10.0:
>
> dyld: ./python.exe multiple definitions of symbol _COLS
> /Users/nathan/Documents/Downloads/Python-2.2b2/build/lib.darwin-1.3.3-Power
> Macintosh-2.2/readline.so definition of _COLS
> /Users/nathan/Documents/Downloads/Python-2.2b2/build/lib.darwin-1.3.3-Power
> Macintosh-2.2/_curses.so definition of _COLS
>
> An acceptable solution for me is to not build curses support at all - I
> don't need it in python. However it isn't enabled in Module.Setup so I
> think one of the Makefiles has snuck behind my back to build it without my
> consent.
>
> Any ideas?
>

I didn't get any error and my version didn't build with _curses:

Python 2.2b2 (#1, Dec  2 2001, 12:13:01)
[GCC 2.95.2 19991024 (release)] on darwin5
Type "help", "copyright", "credits" or "license" for more information.
>>> import curses
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python2.2/curses/__init__.py", line 15, in ?
    from _curses import *
ImportError: No module named _curses


But I also don't have readline enabled -- I haven't reinstalled
some libraries since I installed 10.1 .  I'll put it back and see
what happens.


-- Steve Majewski