On Nov 4, 2011, at 2:29 PM, Alexander Hansen wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 11/4/11 11:10 AM, Scott R. Santos wrote: >> >> Hi everyone, >> >> In my course, I have students with OS X (10.5-10.7) use Fink to >> install various packages, including Imagemagick. One of its (long >> list of) dependencies is python27. While those with 10.6 and 10.7 >> have not had issues with compiling python27, I have two (2) >> 10.5/i386 machines were the compiles have failed, specifically when >> it comes to the readline module for python27 (see below). >> >> This appears similar to the _tkinter module problem discussed >> here: >> >> http://osdir.com/ml/fink-users-osx-unix/2011-06/msg00054.html >> >> Any suggestions to get around this problem? >> >> Cheers and thanks in advance, >> >> Scott >> >> >> sw/src/fink.build/python27-2.7.2-4/Python-2.7.2/Modules/_ctypes/libffi_osx/x86/x86-ffi_darwin.c:186: >> warning: function declaration isn't a prototype >> >> Python build finished, but the necessary bits to build these >> modules were not found: bsddb185 linuxaudiodev >> ossaudiodev spwd sunaudiodev To find the necessary >> bits, look in setup.py in detect_modules() for the module's name. >> (Fink package build should have 5 missing) >> >> >> Failed to build these modules: readline >> >> >> make: *** [sharedmods] Error 1 ### execution of >> /var/tmp/tmp.1.VTUPMz failed, exit code 2 Removing runtime >> build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait >> -r fink-buildlock-python27-2.7.2-4 (Reading database ... 23687 >> files and directories currently installed.) Removing >> fink-buildlock-python27-2.7.2-4 ... Failed: phase compiling: >> python27-2.7.2-4 failed >> >> Before reporting any errors, please run "fink selfupdate" and try >> again. If you continue to have issues, please check to see if the >> FAQ on Fink's website solves the problem. If not, ask on one of >> these mailing lists: >> >> The Fink Users List <fink-users@lists.sourceforge.net> The Fink >> Beginners List <fink-beginn...@lists.sourceforge.net>, >> >> with a carbon copy to the maintainer: >> >> Daniel Johnson <dan...@daniel-johnson.org> >> >> Note that this is preferable to emailing just the maintainer >> directly, since most fink package maintainers do not have access to >> all possible hardware and software configurations. >> >> Please try to include the complete error message in your report. >> This generally consists of a compiler line starting with e.g. "gcc" >> or "g++" followed by the actual error output from the compiler. >> >> Also include the following system information: Package manager >> version: 0.31.4 Distribution version: selfupdate-rsync Fri Nov 4 >> 08:29:01 2011, 10.5, i386 Trees: local/main stable/main >> stable/crypto unstable/main unstable/crypto Xcode: 3.1.3 >> >> ********************************************************************** >> >> > Scott R. Santos >> Department of Biological Sciences, Cell and Molecular Biosciences >> Peak Program & Molette Biology Laboratory for Environmental and >> Climate Change Studies Auburn University 101 Life Science Building, >> Rm. 128 Auburn, AL 36849 Tele # (334) 844-7410 Fax # (334) >> 844-1645 Email: san...@auburn.edu http://www.auburn.edu/~santosr/ >> http://www.auburn.edu/academic/cosam/faculty/biology/santos/ >> http://www.auburn.edu/academic/cosam/departments/biology/molette_lab/ >> >> > ********************************************************************** >> >> Sent from my Mac Pro. >> >> >> > > (cc'ing the python27 maintainer, in case the fix needs to happen there) > > I can confirm this issue on 10.5/powerpc as well. It appears only to > occur when readline5-5.2-15 is installed. It didn't happen for me on > 10.6/x86_64 or 10.6/i386. (I haven't looked at 10.7 yet) > > On 10.5, you have the option to downgrade readline5 temporarily via > > sudo apt-get install readline5=5.0-1005 readline5-shlibs=5.0-1005 > > and then you can install python27.
I've had another report of python27 failing on 10.5 in the same way. There's clearly something wrong with readline5, but I have no access to a 10.5 system so I can't help diagnose what's wrong Daniel ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users