[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-readline] Problems installing readline on OS X
From: |
Magnus Svensson |
Subject: |
Re: [Bug-readline] Problems installing readline on OS X |
Date: |
Tue, 13 Feb 2007 09:29:44 +0100 |
User-agent: |
Thunderbird 1.5.0.9 (X11/20061219) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Peter Michaux wrote:
> Hi,
>
> Hopefully this is the right place to ask. If not please redirect me.
>
> I have no problem installing readline 5.1 on my Intel/OS X 10.4
> machine. Unfortunately my boss has a big problem on his PowerPC/OS X
> 10.4 machine and so can't run Ruby or Rails.
I think you might forgot to tell what the actual problem is. ;) Looks
like the install works fine.
> He has gcc 4.0.1
> installed. Below are the commands I had him run with which that many
> Mac users have had success. The last line says something about
> "ldconfig" which isn't even on OS X 10.4 and if it was I'd probably
> want to know what it does before running it.
>
> Any ideas? Help is greatly appreciated as trying to install readline
> on his computer has taken up about at least 6 hours of our time so
> far.
>
> Thank you,
> Peter
>
>
> $ curl -O ftp://ftp.gnu.org/gnu/readline/readline-5.1.tar.gz
> $ tar xzvf readline-5.1.tar.gz
> $ cd readline-5.1
> $ ./configure --prefix=/usr/local
> $ make
> $ sudo make install
> /bin/sh ./support/mkinstalldirs /usr/local/include \
> /usr/local/include/readline /usr/local/lib \
> /usr/local/info /usr/local/man/man3
> for f in readline.h chardefs.h keymaps.h history.h tilde.h rlstdc.h
> rlconf.h rltypedefs.h; do \
> /usr/bin/install -c -m 644 ./$f /usr/local/include/readline ; \
> done
> ( if test -d doc ; then \
> cd doc && \
> make infodir=/usr/local/info DESTDIR= install; \
> fi )
> /bin/sh ../support/mkdirs /usr/local/info /usr/local/man/man3
> if test -n "" ; then \
> /bin/sh ../support/mkdirs ; \
> fi
> if test -f readline.info; then \
> /usr/bin/install -c -m 644 readline.info
> /usr/local/info/readline.info; \
> else \
> /usr/bin/install -c -m 644 ./readline.info
> /usr/local/info/readline.info; \
> fi
> if test -f rluserman.info; then \
> /usr/bin/install -c -m 644 rluserman.info
> /usr/local/info/rluserman.info; \
> else \
> /usr/bin/install -c -m 644 ./rluserman.info
> /usr/local/info/rluserman.info; \
> fi
> if test -f history.info; then \
> /usr/bin/install -c -m 644 history.info
> /usr/local/info/history.info; \
> else \
> /usr/bin/install -c -m 644 ./history.info
> /usr/local/info/history.info; \
> fi
> if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \
> install-info --dir-file=/usr/local/info/dir \
> /usr/local/info/readline.info ; \
> install-info --dir-file=/usr/local/info/dir \
> /usr/local/info/history.info ; \
> install-info --dir-file=/usr/local/info/dir \
> /usr/local/info/rluserman.info ; \
> else true; fi
> /usr/bin/install -c -m 644 ./readline.3 /usr/local/man/man3/readline.3
> /usr/bin/install -c -m 644 ./history.3 /usr/local/man/man3/history.3
> if test -n "" ; then \
> if test -f readline.html; then \
> /usr/bin/install -c -m 644 readline.html /readline.html; \
> else \
> /usr/bin/install -c -m 644 ./readline.html /readline.html; \
> fi ; \
> if test -f history.html; then \
> /usr/bin/install -c -m 644 history.html /history.html; \
> else \
> /usr/bin/install -c -m 644 ./history.html /history.html; \
> fi ; \
> if test -f rluserman.html; then \
> /usr/bin/install -c -m 644 rluserman.html /rluserman.html; \
> else \
> /usr/bin/install -c -m 644 ./rluserman.html
> /rluserman.html; \
> fi ; \
> fi
> mv /usr/local/lib/libreadline.a /usr/local/lib/libreadline.old
> /usr/bin/install -c -m 644 libreadline.a /usr/local/lib/libreadline.a
> test -n "ranlib" && ranlib /usr/local/lib/libreadline.a
> mv /usr/local/lib/libhistory.a /usr/local/lib/libhistory.old
> /usr/bin/install -c -m 644 libhistory.a /usr/local/lib/libhistory.a
> test -n "ranlib" && ranlib /usr/local/lib/libhistory.a
> test -d shlib || mkdir shlib
> ( cd shlib ; make all )
> make[1]: Nothing to be done for `all'.
> ( cd shlib ; make DESTDIR= install )
> /bin/sh ../support/mkdirs /usr/local/lib
> /bin/sh ../support/shlib-install -O darwin8.8.0 -d /usr/local/lib -b
> /usr/local/bin -i "/usr/bin/install -c -m 644" libhistory.5.1.dylib
> /bin/sh ../support/shlib-install -O darwin8.8.0 -d /usr/local/lib -b
> /usr/local/bin -i "/usr/bin/install -c -m 644" libreadline.5.1.dylib
> install: you may need to run ldconfig
>
>
> _______________________________________________
> Bug-readline mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-readline
- --
Magnus Svensson, Software Engineer
MySQL AB, www.mysql.com
Mobile: +46709164491
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFF0Xb4GHo4GpzN2BYRAtKOAKDJU+KroAd3xI01gFfH0EIPC3mOMACfd4/+
saCrjsJfI3bNS3BMM0KAIas=
=gF/H
-----END PGP SIGNATURE-----