[Pythonmac-SIG] Bus error failure while building readline

Stephane Serra steph-info@wanadoo.fr
Sat, 3 Aug 2002 19:29:58 +0200


      Hello,

    Trying to compile MachoPython 2.3 updated
today via cvs, I got the following error:

"""/sw/src/Python CVS/python/dist/src/Modules/readline.c:533: warning:=20=

return makes pointer from integer without a cast
gcc -Wl,-F. -bundle -framework Python build/temp.darwin-5.5-Power=20
Macintosh-2.3/readline.o -L/usr/lib/termcap=20
-L/Library/Frameworks/Python.framework/Versions/2.3/lib -L/usr/local/lib=20=

-lreadline -lncurses -o build/lib.darwin-5.5-Power=20
Macintosh-2.3/readline.so
/usr/bin/ld: warning unused multiple definitions of symbol _tgoto
/usr/local/lib/libncurses.dylib(lib_tgoto.o) definition of _tgoto
/usr/lib/libSystem.dylib(tgoto.o) unused definition of _tgoto
/usr/bin/ld: warning unused multiple definitions of symbol _tputs
/usr/local/lib/libncurses.dylib(lib_tputs.o) definition of _tputs
/usr/lib/libSystem.dylib(tputs.o) unused definition of _tputs
/usr/bin/ld: warning unused multiple definitions of symbol _BC
/usr/local/lib/libncurses.dylib(lib_termcap.o) definition of _BC
/usr/lib/libSystem.dylib(curses.o) unused definition of _BC
/usr/bin/ld: warning unused multiple definitions of symbol _PC
/usr/local/lib/libncurses.dylib(lib_tputs.o) definition of _PC
/usr/lib/libSystem.dylib(curses.o) unused definition of _PC
/usr/bin/ld: warning unused multiple definitions of symbol _UP
/usr/local/lib/libncurses.dylib(lib_termcap.o) definition of _UP
/usr/lib/libSystem.dylib(curses.o) unused definition of _UP
/usr/bin/ld: warning unused multiple definitions of symbol _tgetent
/usr/local/lib/libncurses.dylib(lib_termcap.o) definition of _tgetent
/usr/lib/libSystem.dylib(termcap.o) unused definition of _tgetent
/usr/bin/ld: warning unused multiple definitions of symbol _tgetflag
/usr/local/lib/libncurses.dylib(lib_termcap.o) definition of _tgetflag
/usr/lib/libSystem.dylib(termcap.o) unused definition of _tgetflag
/usr/bin/ld: warning unused multiple definitions of symbol _tgetnum
/usr/local/lib/libncurses.dylib(lib_termcap.o) definition of _tgetnum
/usr/lib/libSystem.dylib(termcap.o) unused definition of _tgetnum
/usr/bin/ld: warning unused multiple definitions of symbol _tgetstr
/usr/local/lib/libncurses.dylib(lib_termcap.o) definition of _tgetstr
/usr/lib/libSystem.dylib(termcap.o) unused definition of _tgetstr
/usr/bin/ld: warning unused multiple definitions of symbol _ospeed
/usr/local/lib/libncurses.dylib(lib_tputs.o) definition of _ospeed
/usr/lib/libSystem.dylib(tputs.o) unused definition of _ospeed
/usr/bin/ld: warning unused multiple definitions of symbol _stdscr
/usr/local/lib/libncurses.dylib(lib_data.o) definition of _stdscr
/usr/lib/libSystem.dylib(curses.o) unused definition of _stdscr
/usr/bin/ld: warning unused multiple definitions of symbol _curscr
/usr/local/lib/libncurses.dylib(lib_data.o) definition of _curscr
/usr/lib/libSystem.dylib(curses.o) unused definition of _curscr
/usr/bin/ld: warning unused multiple definitions of symbol _LINES
/usr/local/lib/libncurses.dylib(lib_setup.o) definition of _LINES
/usr/lib/libSystem.dylib(curses.o) unused definition of _LINES
/usr/bin/ld: warning unused multiple definitions of symbol _COLS
/usr/local/lib/libncurses.dylib(lib_setup.o) definition of _COLS
/usr/lib/libSystem.dylib(curses.o) unused definition of _COLS
/usr/bin/ld: warning unused multiple definitions of symbol _ttytype
/usr/local/lib/libncurses.dylib(lib_setup.o) definition of _ttytype
/usr/lib/libSystem.dylib(setterm.o) unused definition of _ttytype
make: *** [sharedmods] Bus error"""

	I previously got an error about /usr/lib/termcap directory=20
unavailability
then after a quick search I found it in /usr/share/misc/termcap and made
a symlink in /usr/lib.... I wonder if this is correct...
	I'm running OSX 10.1.5 and never had this kind of problem
compiling python.
	Could anyone suggest a workaround ?

        Thanks very much.


St=E9phane Serra.


			=09
=09