[Pythonmac-SIG] Help: fink python broken after 10.2 upgrade

Russell E Owen owen@astro.washington.edu
Fri, 13 Sep 2002 09:23:31 -0700


I may have missed the discussion already on this (was on vacation 
recently) but I did check the archives and if it's there, I missed it.

I upgraded to 10.2 yesterday (including the developer tools) and now 
my Python (the current fink binary, version 2.2) is broken. When I 
start it I see:
/sw/bin/python
Python 2.2 (#1, Apr 17 2002, 16:11:12)
[GCC 2.95.2 19991024 (release)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
dyld: /sw/bin/python Undefined symbols:
/sw/lib/libreadline.4.2.dylib undefined reference to _tgetent 
expected to be defined in /usr/lib/libSystem.B.dylib
Trace/BPT trap

I realize python is also part of 10.2, so I tried that version. It 
runs, of course, but doesn't have readlines support and it can't find 
Tkinter or Numeric.

Any suggestions for an easy way back to a working system (necessarily 
with Tkinter and Numeric and very preferably with readlines)?

-- Russell

In case it helps, here's my environment:
=00H=00O=00M=00E=00=3D=00/=00U=00s=00e=00r=00s=00/=00r=00o=00w=00e=00n=00
=00S=00H=00E=00L=00L=00=3D=00/=00b=00i=00n=00/=00t=00c=00s=00h=00
=00U=00S=00E=00R=00=3D=00r=00o=00w=00e=00n=00
=00P=00A=00T=00H=00=3D=00/=00s=00w=00/=00b=00i=00n=00:=00/=00s=00w=00/=00s=
=00b=00i=00n=00:=00/=00b=00i=00n=00:=00/=00s=00b=00i=00n=00:=00/=00u=00s=00r=
=00/=00b=00i=00n=00:=00/=00u=00s=00r=00/=00s=00b=00i=00n=00:=00/=00u=00s=00r=
=00/=00X=001=001=00R=006=00/=00b=00i=00n=00
=00P=00Y=00T=00H=00O=00N=00D=00O=00C=00S=00=3D=00/=00L=00i=00b=00r=00a=00r=
=00y=00/=00A=00p=00p=00l=00i=00c=00a=00t=00i=00o=00n=00\=00 
=00S=00u=00p=00p=00o=00r=00t=00/=00P=00y=00t=00h=00o=00n=00\=00 =002=00.=002=
=00\=00 =00D=00o=00c=00s=00/=00
=00P=00Y=00T=00H=00O=00N=00P=00A=00T=00H=00=3D=00/=00U=00s=00e=00r=00s=00/=
=00r=00o=00w=00e=00n=00/=00P=00y=00t=00h=00o=00n=00R=00O=00:=00/=00U=00s=00e=
=00r=00s=00/=00r=00o=00w=00e=00n=00/=00P=00y=00t=00h=00o=00n=00R=00O=00/=00U=
=00t=00i=00l=00:=00/=00U=00s=00e=00r=00s=00/=00r=00o=00w=00e=00n=00/=00P=00y=
=00t=00h=00o=00n=00R=00O=00/=00T=00U=00I=00:=00
=00S=00S=00H=00_=00A=00U=00T=00H=00_=00S=00O=00C=00K=00=3D=00/=00t=00m=00p=
=00/=005=000=001=00/=00n=00l=00.=00u=00u=00.=00p=00h=00i=00l=00.=00S=00S=00H=
=00A=00g=00e=00n=00t=00.=00s=00o=00c=00k=00e=00t=00
=00D=00I=00S=00P=00L=00A=00Y=00=3D=00:=000=00.=000=00
=00_=00_=00C=00F=00_=00U=00S=00E=00R=00_=00T=00E=00X=00T=00_=00E=00N=00C=00O=
=00D=00I=00N=00G=00=3D=000=00x=001=00F=005=00:=000=00:=000=00
=00T=00E=00R=00M=00=3D=00v=00t=001=000=000=00
=00T=00E=00R=00M=00C=00A=00P=00=3D=9D=9B=9D=9B=9D=9B=00 =00
=00T=00E=00R=00M=00_=00P=00R=00O=00G=00R=00A=00M=00=3D=00A=00p=00p=00l=00e=
=00_=00T=00e=00r=00m=00i=00n=00a=00l=00
=00T=00E=00R=00M=00_=00P=00R=00O=00G=00R=00A=00M=00_=00V=00E=00R=00S=00I=00O=
=00N=00=3D=008=001=00
=00L=00O=00G=00N=00A=00M=00E=00=3D=00r=00o=00w=00e=00n=00
=00H=00O=00S=00T=00T=00Y=00P=00E=00=3D=00m=00a=00c=00i=00n=00t=00o=00s=00h=
=00
=00V=00E=00N=00D=00O=00R=00=3D=00a=00p=00p=00l=00e=00
=00O=00S=00T=00Y=00P=00E=00=3D=00d=00a=00r=00w=00i=00n=00
=00M=00A=00C=00H=00T=00Y=00P=00E=00=3D=00p=00o=00w=00e=00r=00p=00c=00
=00S=00H=00L=00V=00L=00=3D=001=00
=00P=00W=00D=00=3D=00/=00s=00w=00/=00b=00i=00n=00
=00G=00R=00O=00U=00P=00=3D=00s=00t=00a=00f=00f=00
=00H=00O=00S=00T=00=3D=00r=00o=00w=00e=00n=00.=00a=00s=00t=00r=00o=00.=00w=
=00a=00s=00h=00i=00n=00g=00t=00o=00n=00.=00e=00d=00u=00
=00M=00A=00N=00P=00A=00T=00H=00=3D=00/=00s=00w=00/=00s=00h=00a=00r=00e=00/=
=00m=00a=00n=00:=00/=00s=00w=00/=00m=00a=00n=00:=00/=00u=00s=00r=00/=00l=00o=
=00c=00a=00l=00/=00s=00h=00a=00r=00e=00/=00m=00a=00n=00:=00/=00u=00s=00r=00/=
=00l=00o=00c=00a=00l=00/=00m=00a=00n=00:=00/=00u=00s=00r=00/=00s=00h=00a=00r=
=00e=00/=00m=00a=00n=00:=00/=00u=00s=00r=00/=00X=001=001=00R=006=00/=00m=00a=
=00n=00
=00I=00N=00F=00O=00P=00A=00T=00H=00=3D=00/=00s=00w=00/=00s=00h=00a=00r=00e=
=00/=00i=00n=00f=00o=00:=00/=00s=00w=00/=00i=00n=00f=00o=00:=00/=00u=00s=00r=
=00/=00l=00o=00c=00a=00l=00/=00s=00h=00a=00r=00e=00/=00i=00n=00f=00o=00:=00/=
=00u=00s=00r=00/=00l=00o=00c=00a=00l=00/=00l=00i=00b=00/=00i=00n=00f=00o=00:=
=00/=00u=00s=00r=00/=00l=00o=00c=00a=00l=00/=00i=00n=00f=00o=00:=00/=00u=00s=
=00r=00/=00s=00h=00a=00r=00e=00/=00i=00n=00f=00o=00
=00P=00E=00R=00L=005=00L=00I=00B=00=3D=00/=00s=00w=00/=00l=00i=00b=00/=00p=
=00e=00r=00l=005=00
=00P=00E=00P=00P=00E=00R=00=3D=00/=00A=00p=00p=00l=00i=00c=00a=00t=00i=00o=
=00n=00s=00/=00P=00e=00p=00p=00e=00r=00/=00P=00e=00p=00p=00e=00r=00
=00E=00D=00I=00T=00O=00R=00=3D=00/=00u=00s=00r=00/=00b=00i=00n=00/=00m=00l=
=00p=00e=00
=00C=00V=00S=00_=00R=00S=00H=00=3D=00s=00s=00h=00

and my .cshrc:
source /sw/bin/init.csh
setenv PYTHONPATH "/Users/rowen/PythonRO:"
setenv PYTHONDOCS "/Library/Application\ Support/Python\ 2.2\ Docs/"
if( ! $?DISPLAY ) setenv DISPLAY :0.0
setenv PEPPER /Applications/Pepper/Pepper
setenv EDITOR /usr/bin/mlpe
# setenv EDITOR "bbedit -w"
alias fnalcvs setenv CVSROOT cvsuser@sdss.fnal.gov:/cvs/sdss
alias apocvs setenv CVSROOT :ext:cvs@galileo.apo.nmsu.edu:/home/cvs
alias oldapocvs setenv CVSROOT 
:pserver:rowen-cvs@galileo.apo.nmsu.edu:/home/cvs
setenv CVS_RSH ssh