Readline extension doesn't compile with ruby-1.8.4 on RedHat 7.3

Discussion in 'Ruby' started by Sascha Ebach, Feb 2, 2006.

  1. Sascha Ebach

    Sascha Ebach Guest

    Hi,

    I am basically following this guide:

    http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger

    and do

    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
    make install

    fine. Then

    curl -O ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.4.tar.gz
    tar xzvf ruby-1.8.4.tar.gz
    cd ruby-1.8.4
    /configure --prefix=/usr/local --with-readline-dir=/usr/local
    make
    make install

    fine too. I don't get any errors. But

    $ ls -w 20 /usr/local/lib/ruby/1.8/i686-linux/*.so
    bigdecimal.so*
    dbm.so*
    digest.so*
    dl.so*
    enumerator.so*
    eruby.so*
    etc.so*
    fcntl.so*
    iconv.so*
    nkf.so*
    openssl.so*
    pty.so*
    sdbm.so*
    socket.so*
    stringio.so*
    strscan.so*
    syck.so*
    syslog.so*
    tcltklib.so*
    tkutil.so*
    zlib.so*

    No readline.so in there. What am I doing wrong?

    Here is the part of the output where it says it compiles, but it actually
    doesn't:

    compiling racc/cparse
    make[1]: Entering directory `/usr/src/install/ruby-1.8.4/ext/racc/cparse'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/src/install/ruby-1.8.4/ext/racc/cparse'
    compiling readline
    compiling sdbm
    make[1]: Entering directory `/usr/src/install/ruby-1.8.4/ext/sdbm'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/src/install/ruby-1.8.4/ext/sdbm'
    compiling socket

    $ find /install/ruby-1.8.4 -name *.so
    /.ext/i686-linux/bigdecimal.so
    /.ext/i686-linux/dbm.so
    /.ext/i686-linux/digest.so
    /.ext/i686-linux/digest/md5.so
    /.ext/i686-linux/digest/rmd160.so
    /.ext/i686-linux/digest/sha1.so
    /.ext/i686-linux/digest/sha2.so
    /.ext/i686-linux/dl.so
    /.ext/i686-linux/enumerator.so
    /.ext/i686-linux/etc.so
    /.ext/i686-linux/fcntl.so
    /.ext/i686-linux/iconv.so
    /.ext/i686-linux/io/wait.so
    /.ext/i686-linux/nkf.so
    /.ext/i686-linux/openssl.so
    /.ext/i686-linux/pty.so
    /.ext/i686-linux/racc/cparse.so
    /.ext/i686-linux/sdbm.so
    /.ext/i686-linux/socket.so
    /.ext/i686-linux/stringio.so
    /.ext/i686-linux/strscan.so
    /.ext/i686-linux/syck.so
    /.ext/i686-linux/syslog.so
    /.ext/i686-linux/tcltklib.so
    /.ext/i686-linux/tkutil.so
    /.ext/i686-linux/zlib.so

    -Sascha Ebach
     
    Sascha Ebach, Feb 2, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. U. George
    Replies:
    4
    Views:
    881
    U. George
    Aug 11, 2005
  2. gavino
    Replies:
    4
    Views:
    565
    gavino
    Sep 20, 2010
  3. Jean-Michel
    Replies:
    0
    Views:
    388
    Jean-Michel
    Dec 22, 2007
  4. Andrew DeFaria
    Replies:
    1
    Views:
    236
    Ben Morrow
    Jan 30, 2008
  5. Ramchandra Apte
    Replies:
    0
    Views:
    240
    Ramchandra Apte
    Dec 21, 2012
Loading...

Share This Page