Install failure on Mac OS X v10.4.2

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-

bld-error.rtf (3.71 KB)

···

--
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: dhinz@eng.mc.xerox.com
800 Phillips Road TEL: 585.422.8078
Webster, NY 14580

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

···

On 9/6/05, Dan Hinz <dhinz@eng.mc.xerox.com> wrote:

           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?

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

···

On 9/6/05, Jason Foreman <threeve.org@gmail.com> wrote:

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

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 <threeve.org@gmail.com> wrote:
> On 9/6/05, Dan Hinz <dhinz@eng.mc.xerox.com> 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: dhinz@eng.mc.xerox.com
800 Phillips Road TEL: 585.422.8078
Webster, NY 14580