2009/12/8 Harald Hanche-Olsen <han...@math.ntnu.no>: > Trying to build sage 4.2.1 on Mac OS X 10.5.8 ended in this error message:
<SNIP> > I might have tred to debug this myself, but I don't find "files that > should have been built weren't" terribly informative. And the > reference to running ldconfig seems bogus, since there is no ldconfig > on this machine as far as I can tell. > > - Harald I do not have a Mac myself, and do not have very easy access to one just now. But the readline library needs by different names on different platforms. There is this piece of code: if [ $UNAME = "Darwin" ]; then DYLIB_NAME=$SAGE_LOCAL/lib/libreadline.dylib elif [ $UNAME = "CYGWIN" ]; then # It is of course very lame that readline names the file .dll.a, but that's what it does. DYLIB_NAME=$SAGE_LOCAL/lib/libreadline.dll.a elif [ "$UNAME" = "OpenBSD" ]; then DYLIB_NAME=$SAGE_LOCAL/lib/libreadline.so.6.0 elif [ "$UNAME" = "FreeBSD" ]; then DYLIB_NAME=$SAGE_LOCAL/lib/libreadline.so.6 else DYLIB_NAME=$SAGE_LOCAL/lib/libreadline.so fi I in fact recently added some code to cover the case of HP-UX, where yet another library name is used. elif [ "$UNAME" = "HP-UX" ]; then DYLIB_NAME=$SAGE_LOCAL/lib/libreadline.sl.6 It looks to me that there may be some mixup between the name libreadline.6.0.dylib and libreadline.dylib (without a version number), with Sage expecting one name, but the library is created with a different name. Sage then checks the library exists, but will generate the error "Readline's build claims to have finished, but files that should have been built weren't." But Sage should work with OS X, so unless this version of OS X is different from most others, this seems unlikely. Sorry I can't be more helpful. It would be useful if you look to see if you have the following two files anywhere under the root directory of Sage. libreadline.dylib and libreadline.6.0.dylib Dave -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org