Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Install failure on Mac OS X v10.4.2

Reply
Thread Tools

Install failure on Mac OS X v10.4.2

 
 
Dan Hinz
Guest
Posts: n/a
 
      09-06-2005
--=-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: http://www.velocityreviews.com/forums/(E-Mail Removed)
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: (E-Mail Removed)
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\viewkind 0
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5 040\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--


 
Reply With Quote
 
 
 
 
Jason Foreman
Guest
Posts: n/a
 
      09-06-2005
On 9/6/05, Dan Hinz <(E-Mail Removed)> 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


 
Reply With Quote
 
 
 
 
Jason Foreman
Guest
Posts: n/a
 
      09-06-2005
On 9/6/05, Jason Foreman <(E-Mail Removed)> wrote:
> On 9/6/05, Dan Hinz <(E-Mail Removed)> 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


 
Reply With Quote
 
Dan Hinz
Guest
Posts: n/a
 
      09-06-2005
--=-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 <(E-Mail Removed)> wrote:
> > On 9/6/05, Dan Hinz <(E-Mail Removed)> 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: (E-Mail Removed)
800 Phillips Road TEL: 585.422.8078
Webster, NY 14580

--=-LukKWkl7Kr5/UeQ06J/a--


 
Reply With Quote
 
Lucas Carlson
Guest
Posts: n/a
 
      09-07-2005
Try this:

http://tech.rufy.com/entry/46

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Success Or Failure: There Is No Such Thing As Failure bs866806@163.com C Programming 0 01-06-2008 11:41 AM
failure building python 2.5 on mac os x 10.3.9 Thomas Ploch Python 2 11-30-2006 06:02 PM
failure in irb with rubycocoa (MAC OS X) normanrosner@googlemail.com Ruby 7 11-20-2006 05:24 PM
[JAVA] [EVALUATION] - The Java Failure (Sorry: The Java(tm) Failure) Ilias Lazaridis Java 0 02-01-2005 10:32 AM
DotNet Install Failure Again bahri ASP .Net 9 06-24-2004 05:46 PM



Advertisments