How did you get python installed under gcc 3?

I tried to install python:

"The following package will be installed or updated:
 python
The following 16 additional packages will be installed:
 db3 db3-shlibs expat expat-shlibs gdbm gdbm-shlibs gmp gmp-shlibs libpoll
 libpoll-shlibs manconf readline readline-shlibs tcltk tcltk-dev
tcltk-shlibs"


but it dies at making readline:

"rm -f libreadline.4.2.dylib
/usr/bin/libtool -dynamic -arch_only `/usr/bin/arch` -install_name
/sw/lib/libreadline.4.2.dylib -current_version 4.2 -compatibility_version
4.2 -v -o libreadline.4.2.dylib readline.so vi_mode.so funmap.so keymaps.so
parens.so search.so rltty.so complete.so bind.so isearch.so display.so
signals.so util.so kill.so undo.so macro.so input.so callback.so terminal.so
nls.so xmalloc.so history.so histexpand.so histfile.so histsearch.so
shell.so tilde.so compat.so -lSystem
+ ld -arch ppc -dylib -dynamic -all_load -force_cpusubtype_ALL
-no_arch_warnings -dylib_compatibility_version 4.2 -dylib_current_version
4.2 -dylib_install_name /sw/lib/libreadline.4.2.dylib -ldylib1.o readline.so
vi_mode.so funmap.so keymaps.so parens.so search.so rltty.so complete.so
bind.so isearch.so display.so signals.so util.so kill.so undo.so macro.so
input.so callback.so terminal.so nls.so xmalloc.so history.so histexpand.so
histfile.so histsearch.so shell.so tilde.so compat.so -lSystem -o
libreadline.4.2.dylib 
ld: warning multiple definitions of symbol _UP
terminal.so definition of _UP in section (__DATA,__common)
/usr/lib/libSystem.dylib(curses.o) definition of _UP
ld: warning multiple definitions of symbol _PC
terminal.so definition of _PC in section (__DATA,__common)
/usr/lib/libSystem.dylib(curses.o) definition of _PC
ld: warning multiple definitions of symbol _BC
terminal.so definition of _BC in section (__DATA,__common)
/usr/lib/libSystem.dylib(curses.o) definition of _BC
ld: Undefined symbols:
restFP
saveFP
/usr/bin/libtool: internal link edit command failed
make[1]: *** [libreadline.4.2.dylib] Error 1
make: [install] Error 2 (ignored)
install -d -m 755 /sw/src/root-readline-4.2a-5/sw/share/doc/readline
install -c -p -m 644 README COPYING CHANGES USAGE
/sw/src/root-readline-4.2a-5/sw/share/doc/readline/
rm -f /sw/src/root-readline-4.2a-5/sw/info/dir
/sw/src/root-readline-4.2a-5/sw/info/dir.old
/sw/src/root-readline-4.2a-5/sw/share/info/dir
/sw/src/root-readline-4.2a-5/sw/share/info/dir.old
rm -rf /sw/src/root-readline-shlibs-4.2a-5
mkdir -p /sw/src/root-readline-shlibs-4.2a-5/sw
mkdir -p /sw/src/root-readline-shlibs-4.2a-5/DEBIAN
install -d -m 755 /sw/src/root-readline-shlibs-4.2a-5/sw/lib
mv /sw/src/root-readline-4.2a-5/sw/lib/libhistory.4.2.dylib
/sw/src/root-readline-shlibs-4.2a-5/sw/lib
mv: rename /sw/src/root-readline-4.2a-5/sw/lib/libhistory.4.2.dylib to
/sw/src/root-readline-shlibs-4.2a-5/sw/lib/libhistory.4.2.dylib: No such
file or directory
### mv failed, exit code 1
Failed: installing readline-shlibs-4.2a-5 failed
[localhost:~] hester% "

Thanks.

   Jeff

> ----------
> From:         mathias meyer
> Sent:         Friday, May 24, 2002 7:21 AM
> To:   David R. Morrison
> Cc:   [EMAIL PROTECTED]
> Subject:      [Fink-devel] Re: [Fink-users] fink install glib (failed)
> 
> well, here wo go with some more
> 
> > I'm moving this thread to fink-devel, where there are a lot of folks who
> > would like to hear about success and failure with gcc.  Please post your
> > list!
> 
> COMPILED WITH GCC 3 (Apple Computer, Inc. GCC version 1041, based on gcc 
> version
> 3.1 20020105 (experimental))
> gnome-libs-1.4.1.6-1
> sdl-1.2.4-2
> mplayer-0.90pre4-1
> windowmaker-0.80.0-7
> pkgconfig-0.12.0-1
> oaf-0.6.8-2
> guile-1.4-4
> openssl_0.9.6c-3
> control-center_1.4.0.5-1
> gal19_0.19.1-3
> gtkhtml_1.0.1-3
> galeon-1.2.1-1
> aalib-1.4rc5-1
> libglade-0.17-3
> db3-3.3.11-7
> python-2.2.1-5
> glib2-2.0.1-3
> pcre-3.9-2
> libxslt-1.0.17-2
> automake-1.6.1-1
> lesstif-0.93.18-4
> 
> 
> FAILED WITH GCC3
> gv-3.5.8-4
> bonobo-1.0.20-1(breaks with install_name error)
> gconf-1.0.9-1(breaks with install_name error)
> gnome-core-1.4.0.8-1 (breaks with install_name error)
> galeon-1.2.1-1
> gaim-0.57-1 (breaks with install_name error)
> libxml2-2.4.21-3 (breaks with install_name error)
> qt3-3.0.4-5
> 
> 
> EXAMPLE OF INSTALL_NAME ERROR
> gcc -bundle -flat_namespace -undefined suppress -o .libs/libxml2mod.so  
> libxml.l
> o types.lo libxml2-py.lo  -L/Volumes/sw/lib 
> -L/Volumes/sw/src/libxml2-2.4.21-3/l
> ibxml2-2.4.21/.libs -L../.libs -lxml2 -lc -install_name  
> /Volumes/sw/lib/python2
> .2/site-packages/libxml2mod.so
> ld: -i argument: nstall_name must have a ':' between it's symbol names
> make[3]: *** [libxml2mod.la] Fehler 1
> make[2]: *** [all-recursive] Fehler 1
> ### make failed, exit code 2
> Failed: compiling libxml2-2.4.21-3 failed
> 
> 
> _______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> 
> _______________________________________________
> Fink-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/fink-devel
> 
> 

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to