From: Ruby Ruby Date: 2004-03-30T01:16:15+09:00 Subject: Re: Errors with "make" step, while compiling ruby under AIX 5.2 --0-736407145-1080576971=:37281 Content-Type: text/plain; charset=us-ascii Thank you for the patch information. I was able to run the process. However, I got a new error. Here is what I now get: # /opt/freeware/bin/patch -p0 extconf.rb < ruby-talk.95883.patch patching file extconf.rb patch: **** malformed patch at line 15: $objs = [ �rmd160init.#{$OBJEXT}� ] Just for information, here is the patch: Index: ext/digest/rmd160/extconf.rb =================================================================== RCS file: /pub/cvs/ruby/src/ruby/ext/digest/rmd160/extconf.rb,v retrieving revision 1.4.2.1 diff -u -2 -p -r1.4.2.1 extconf.rb --- ext/digest/rmd160/extconf.rb 21 Jan 2004 07:01:43 -0000 1.4.2.1 +++ ext/digest/rmd160/extconf.rb 26 Mar 2004 00:50:01 -0000 @@ -4,5 +4,5 @@ require "mkmf" -$CFLAGS << " -DHAVE_CONFIG_H -I#{File.dirname(__FILE__)}/.." +$CPPFLAGS << " -DNDEBUG -DHAVE_CONFIG_H -I#{File.dirname(__FILE__)}/.." $objs = [ "rmd160init.#{$OBJEXT}" ] -- Again, Thank you for your help. nobu.nokada@softhome.net wrote: Hi, At Fri, 26 Mar 2004 23:21:23 +0900, Ruby Ruby wrote in [ruby-talk:95918]: > I was under the impression that I only had to replace segment > of codes from extconf.rb with the code segment that you > provided, and retry the "make" again. The patch is in the format called "unified diff". The lines begin with @@ start each hunks, and following lines started with '-' mean to be removed from original file and with '+' mean to be added to. > If you or anyone else do have some instructions as to how to > apply a patch or if you could point me to a place where I can > get that information, I will truly appreciate it. Use "patch" command. http://www.gnu.org/software/patch/patch.html $ cd /path/to/ruby/source $ patch -p0 < ruby-talk.95883.patch -- Nobu Nakada --------------------------------- Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. --0-736407145-1080576971=:37281--