|
From: Ethan A M. <merritt@u.washington.edu> - 2007-10-29 00:18:14
|
On Sunday 28 October 2007 16:44, Daniel Farrell wrote: > Hello, > > I thought that gnuplot would default to --with-readline=builtin if you > didn't specify anything? Not quite. It auto-configures by looking for available libraries. The Apple symlinks fake out the autoconfigure by making it think that libreadline is present, when it really isn't. If you remove the symlinks, the autoconfigure process will then fall back to "builtin". > Does removing the symlinks not break anything else on MacOS? Not if you replace them with a "real" libreadline. > Why did they put them in there in the first place? I suppose there are programs that make minimal use of libreadline, calling only a small number of routines for which libedit does have equivalents. For those programs, it is sufficient to provide a link to libedit. But I would guess that those programs would be equally happy to have a full-blown libreadline. Ethan > Where are the symlinks that > you removed? For my future reference. > > DJF > > ___ > > Results from making gnu readline 5.2 on MacOS 10.5 > > Using built-in specs. > Target: powerpc-apple-darwin9 > Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable- > checking -enable-werror --prefix=/usr --mandir=/share/man --enable- > languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/ > $/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/ > lib --build=i686-apple-darwin9 --program-prefix= --host=powerpc-apple- > darwin9 --target=powerpc-apple-darwin9 > Thread model: posix > gcc version 4.0.1 (Apple Inc. build 5465) > powerpc-apple-darwin9-gcc-4.0.1: -compatibility_version only allowed > with -dynamiclib > make[1]: *** [libreadline.5.2.dylib] Error 1 > make: [shared] Error 2 (ignored) > > > > On 28 Oct 2007, at 23:21, Dmitri A. Sergatskov wrote: > > > On 10/28/07, Daniel Farrell <boy...@gm...> wrote: > >> Hello, > >> > >> gnuplot successfully installed on MacOS 10.5 using: > >> ./configure --without-readline > > > > I think it will work also with > > ./configure --with-readline=buitin > > > >> make > >> sudo make install > >> > >> Does this explain why I could never get the readline to work in 10.4? > >> However, in this case gnuplot still built fine. > > > > Yes, this problem is not specific to MacOS 10.5; it has been > > there for ever... > > > >> > >> Cheers, > >> > >> Dan. > >> > >> ___ > >> > >> PS > >> > >> I did try to install gnureadline 5.2 but that wouldn't make either! > >> It > >> crashed out with the error: > > > > Who crashed? > > > >> > >> Thread model: posix > >> gcc version 4.0.1 (Apple Inc. build 5465) > >> powerpc-apple-darwin9-gcc-4.0.1: -compatibility_version only allowed > >> with -dynamiclib > >> > > > > I was able to compile (on Mac OS X 10.4) readline and install > > it to /usr/local . Still I was not able to get the build process > > to ignore the fake readlines, so had to remove the symlinks. > > > > Sincerely, > > > > Dmitri. > > -- > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > gnuplot-beta mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-beta > -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle 98195-7742 |