Compilation of Python 2.2.2-1 stops at the following (OSX 10.2):
building 'readline' extension
gcc -DNDEBUG -O3 -Wall -Wstrict-prototypes -fno-common -I. -I/Volumes/Darwin/sw-old/src/python22-2.2.2-1/Python-2.2.2/./Include -I/Volumes/Darwin/sw-old/src/python22-2.2.2-1/Python-2.2.2/./Mac/Include -I/sw/include -I/usr/local/include -I/Volumes/Darwin/sw-old/src/python22-2.2.2-1/Python-2.2.2/Include -I/Volumes/Darwin/sw-old/src/python22-2.2.2-1/Python-2.2.2 -c /Volumes/Darwin/sw-old/src/python22-2.2.2-1/Python-2.2.2/Modules/readline.c -o build/temp.darwin-6.2-PowerMacintosh-2.2/readline.o
/usr/local/include/wchar.h:12: warning: #warning The standard BSD headers do not have an equivalent wchar.h header to #include
gcc -L/sw/lib -bundle -bundle_loader python.exe build/temp.darwin-6.2-PowerMacintosh-2.2/readline.o -L/sw/lib -L/usr/local/lib -lreadline -lncurses -o build/lib.darwin-6.2-PowerMacintosh-2.2/readline.so
dyld: ./python.exe multiple definitions of symbol _BC
/sw/lib/libreadline.4.dylib(terminal.so) definition of _BC
/sw/lib/libncurses.5.dylib(lib_termcap.lo) definition of _BC
make: *** [sharedmods] Error 133
### execution of (export failed, exit code 2
Failed: compiling python22-2.2.2-1 failed
Any suggestions to get it to build successfully?
Thank you,
B.Venkat
- Re: [Fink-users] Error compiling Python 2.2.2-1 BhVenkat
- Re: [Fink-users] Error compiling Python 2.2.2-1 Martin Costabel
