Install failure on Mac OS X v10.4.2

Discussion in 'Ruby' started by Dan Hinz, Sep 6, 2005.

  1. Dan Hinz

    Dan Hinz Guest

    --=-hOJ2DonfCUHkif5BL7Xe
    Content-Type: multipart/alternative; boundary="=-yRdHNXk0DcPR1DkG96+Z"


    --=-yRdHNXk0DcPR1DkG96+Z
    Content-Type: text/plain
    Content-Transfer-Encoding: 7bit

    Upgraded to Mac OS X v10.4.2 and Xtools v2.0 over the weekend.

    Downloaded Ruby 1.8.2
    Ran configure
    Ran make
    Make reports lots of warnings about differences in pointer
    signedness.
    Make fails in ext/readline/readline.c (build output snippet
    attached, rtf).
    Tried running again using gcc-3.3 (Xtools 2.0 defaults to gcc-4.0) with
    same result.

    1. Any ideas?
    2. I'm new to the ruby mailing lists and picked this one. Is this the
    correct mail list for this
    question?

    Thanks,
    -dwh-
    --
    I not only live each endless day in grief, but live each day
    thinking about living each day in grief.
    -- C.S. Lewis

    Daniel W. Hinz Xerox Corp: XOG/SEBU/MCD/EIDC/ISM&D
    MS: 111-03J e-mail:
    800 Phillips Road TEL: 585.422.8078
    Webster, NY 14580

    --=-yRdHNXk0DcPR1DkG96+Z
    Content-Type: text/html; charset=utf-8
    Content-Transfer-Encoding: 7bit

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
    <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
    </HEAD>
    <BODY>
    Upgraded to Mac OS X v10.4.2 and Xtools v2.0 over the weekend.<BR>
    <BR>
    Downloaded Ruby 1.8.2<BR>
    Ran configure<BR>
    Ran make<BR>
    &nbsp;&nbsp;&nbsp; Make reports lots of warnings about differences in pointer signedness.<BR>
    &nbsp;&nbsp;&nbsp; Make fails in ext/readline/readline.c (build output snippet attached, rtf).<BR>
    Tried running again using gcc-3.3 (Xtools 2.0 defaults to gcc-4.0) with same result.<BR>
    <BR>
    1. Any ideas?<BR>
    2. I'm new to the ruby mailing lists and picked this one. Is this the correct mail list for this<BR>
    &nbsp;&nbsp; question?<BR>
    <BR>
    Thanks,<BR>
    -dwh-<BR>
    <TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
    <TR>
    <TD>
    <PRE>--
    I not only live each endless day in grief, but live each day
    thinking about living each day in grief.
    -- C.S. Lewis

    Daniel W. Hinz Xerox Corp: XOG/SEBU/MCD/EIDC/ISM&amp;D
    MS: 111-03J e-mail:
    800 Phillips Road TEL: 585.422.8078
    Webster, NY 14580 </PRE>
    </TD>
    </TR>
    </TABLE>

    </BODY>
    </HTML>

    --=-yRdHNXk0DcPR1DkG96+Z--

    --=-hOJ2DonfCUHkif5BL7Xe
    Content-Disposition: attachment; filename=bld-error.rtf
    Content-Type: application/rtf; name=bld-error.rtf
    Content-Transfer-Encoding: 7bit

    {\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf100
    {\fonttbl\f0\fnil\fcharset77 Baskerville;}
    {\colortbl;\red255\green255\blue255;}
    \margl1440\margr1440\vieww10500\viewh9600\viewkind0
    \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural

    \f0\fs28 \cf0 gcc -fno-common -g -O2 -pipe -fno-common -DREADLINE_21_OR_LATER -I. -I../.. -I../../. -I../.././ext/readline -DHAVE_READLINE_READLINE_H -DHAVE_READLINE_HISTORY_H -c readline.c\
    readline.c: In function 'readline_attempted_completion_function':\
    readline.c:132: error: 'rl_attempted_completion_over' undeclared (first use in this function)\
    readline.c:132: error: (Each undeclared identifier is reported only once\
    readline.c:132: error: for each function it appears in.)\
    readline.c: In function 'readline_s_set_basic_quote_characters':\
    readline.c:346: error: 'rl_basic_quote_characters' undeclared (first use in this function)\
    readline.c: In function 'readline_s_get_basic_quote_characters':\
    readline.c:360: error: 'rl_basic_quote_characters' undeclared (first use in this function)\
    readline.c: In function 'readline_s_set_filename_quote_characters':\
    readline.c:428: error: 'rl_filename_quote_characters' undeclared (first use in this function)\
    readline.c: In function 'readline_s_get_filename_quote_characters':\
    readline.c:442: error: 'rl_filename_quote_characters' undeclared (first use in this function)\
    readline.c: In function 'rb_remove_history':\
    readline.c:458: warning: assignment makes pointer from integer without a cast\
    readline.c:461: warning: passing argument 1 of 'free' discards qualifiers from pointer target type\
    readline.c: In function 'hist_get':\
    readline.c:480: error: 'HISTORY_STATE' undeclared (first use in this function)\
    readline.c:480: error: 'state' undeclared (first use in this function)\
    readline.c: In function 'hist_set':\
    readline.c:501: error: 'HISTORY_STATE' undeclared (first use in this function)\
    readline.c:501: error: 'state' undeclared (first use in this function)\
    readline.c: In function 'hist_pop':\
    readline.c:551: error: 'HISTORY_STATE' undeclared (first use in this function)\
    readline.c:551: error: 'state' undeclared (first use in this function)\
    readline.c: In function 'hist_shift':\
    readline.c:566: error: 'HISTORY_STATE' undeclared (first use in this function)\
    readline.c:566: error: 'state' undeclared (first use in this function)\
    readline.c: In function 'hist_each':\
    readline.c:581: error: 'HISTORY_STATE' undeclared (first use in this function)\
    readline.c:581: error: 'state' undeclared (first use in this function)\
    readline.c: In function 'hist_length':\
    readline.c:596: error: 'HISTORY_STATE' undeclared (first use in this function)\
    readline.c:596: error: 'state' undeclared (first use in this function)\
    readline.c: In function 'hist_empty_p':\
    readline.c:607: error: 'HISTORY_STATE' undeclared (first use in this function)\
    readline.c:607: error: 'state' undeclared (first use in this function)\
    readline.c: In function 'hist_delete_at':\
    readline.c:622: error: 'HISTORY_STATE' undeclared (first use in this function)\
    readline.c:622: error: 'state' undeclared (first use in this function)\
    readline.c: In function 'Init_readline':\
    readline.c:780: error: 'rl_event_hook' undeclared (first use in this function)\
    make[1]: *** [readline.o] Error 1\
    make: *** [all] Error 1\
    dhcp0111pubj1-51:~/Documents/dev/ruby-1.8.2 dhinz$ which gcc\
    /usr/bin/gcc\
    dhcp0111pubj1-51:~/Documents/dev/ruby-1.8.2 dhinz$ gcc --version\
    powerpc-apple-darwin8-gcc-4.0.0 (GCC) 4.0.0 20041026 (Apple Computer, Inc. build 4061)\
    Copyright (C) 2004 Free Software Foundation, Inc.\
    This is free software; see the source for copying conditions. There is NO\
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\
    }
    --=-hOJ2DonfCUHkif5BL7Xe--
     
    Dan Hinz, Sep 6, 2005
    #1
    1. Advertising

  2. On 9/6/05, Dan Hinz <> wrote:
    > Upgraded to Mac OS X v10.4.2 and Xtools v2.0 over the weekend.
    > =20
    > Downloaded Ruby 1.8.2
    > Ran configure
    > Ran make
    > Make reports lots of warnings about differences in pointer signednes=

    s.
    > Make fails in ext/readline/readline.c (build output snippet attached=

    , rtf).
    > Tried running again using gcc-3.3 (Xtools 2.0 defaults to gcc-4.0) with =

    same result.
    > =20
    > 1. Any ideas?
    > 2. I'm new to the ruby mailing lists and picked this one. Is this the co=

    rrect mail list for this
    > question?
    > =20


    1a/ Install GNU Readline
    1b/ Link LibEdit (/usr/lib/libedit.dylib) to libreadline. LibEdit is
    a readline-like library that should work in place of gnu readline.

    I've done 1.a. I've not tried 1.b, but heard that it should work.


    2/ Yes.


    Jason
     
    Jason Foreman, Sep 6, 2005
    #2
    1. Advertising

  3. On 9/6/05, Jason Foreman <> wrote:
    > On 9/6/05, Dan Hinz <> wrote:
    > 1b/ Link LibEdit (/usr/lib/libedit.dylib) to libreadline. LibEdit is
    > a readline-like library that should work in place of gnu readline.



    Sorry, meant to provide detail on this. Basically make a symlink from
    libedit.dylib to libreadline.dylib.

    This command

    cd /usr/lib; sudo ln -s libedit.dylib libreadline.dylib

    ought to get it done. I don't think that Tiger ships with this link
    by default, though I don't know if I checked before I just installed
    GNU Readline...


    Jason
     
    Jason Foreman, Sep 6, 2005
    #3
  4. Dan Hinz

    Dan Hinz Guest

    --=-LukKWkl7Kr5/UeQ06J/a
    Content-Type: text/plain
    Content-Transfer-Encoding: 7bit

    Looks like the virgin /usr/lib is the other way around.

    libreadline.dylib -> libedit.dylib -> libedit.2.dylib

    I'll get the GNU readlib tonight.

    -dwh-

    On Tue, 2005-09-06 at 14:33, Jason Foreman wrote:

    > On 9/6/05, Jason Foreman <> wrote:
    > > On 9/6/05, Dan Hinz <> wrote:
    > > 1b/ Link LibEdit (/usr/lib/libedit.dylib) to libreadline. LibEdit is
    > > a readline-like library that should work in place of gnu readline.

    >
    >
    > Sorry, meant to provide detail on this. Basically make a symlink from
    > libedit.dylib to libreadline.dylib.
    >
    > This command
    >
    > cd /usr/lib; sudo ln -s libedit.dylib libreadline.dylib
    >
    > ought to get it done. I don't think that Tiger ships with this link
    > by default, though I don't know if I checked before I just installed
    > GNU Readline...
    >
    >
    > Jason
    >


    --
    I not only live each endless day in grief, but live each day
    thinking about living each day in grief.
    -- C.S. Lewis

    Daniel W. Hinz Xerox Corp: XOG/SEBU/MCD/EIDC/ISM&D
    MS: 111-03J e-mail:
    800 Phillips Road TEL: 585.422.8078
    Webster, NY 14580

    --=-LukKWkl7Kr5/UeQ06J/a--
     
    Dan Hinz, Sep 6, 2005
    #4
  5. Lucas Carlson, Sep 7, 2005
    #5
    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. bahri

    DotNet Install Failure Again

    bahri, Jun 21, 2004, in forum: ASP .Net
    Replies:
    9
    Views:
    6,302
    bahri
    Jun 24, 2004
  2. Ilias Lazaridis
    Replies:
    0
    Views:
    593
    Ilias Lazaridis
    Feb 1, 2005
  3. Thomas Ploch
    Replies:
    2
    Views:
    546
    Thomas Ploch
    Nov 30, 2006
  4. Replies:
    0
    Views:
    495
  5. Replies:
    7
    Views:
    118
    Tom Pollard
    Nov 20, 2006
Loading...

Share This Page