bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-readline] Problems installing readline on OS X


From: Peter Michaux
Subject: [Bug-readline] Problems installing readline on OS X
Date: Mon, 12 Feb 2007 21:32:46 -0800

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. 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]