Install failure on Mac OS X v10.4.2

D

Dan Hinz

--=-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: (e-mail address 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 address 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\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--
 
J

Jason Foreman

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
 
J

Jason Foreman

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
 
D

Dan Hinz

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

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 address removed)
800 Phillips Road TEL: 585.422.8078
Webster, NY 14580

--=-LukKWkl7Kr5/UeQ06J/a--
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,965
Messages
2,570,148
Members
46,710
Latest member
FredricRen

Latest Threads

Top