Ruby Forum Ruby-core > Compiling Ruby 1.9.x

Posted by C.E. Thornton (Guest)
on 10.08.2008 10:56
(Received via mailing list)
Sorry to repeat myself. BUT...

Is there something required that I don't know
about that is required to build the trunk or is
there an ongoing problem with the compile.

I am running autoconf 2.54, ./configure, and
then make. I get the following:

autoconf
configure.in:735: warning: AC_CACHE_VAL(rb_broken_glibc_ia64_erfc, ...):
suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
configure.in:735: the top level

Then configure, then make and get the following:
   ::           ::                 ::
configure: creating ./config.status
config.status: creating Makefile
hydra(ruby_dev_1.9.0}$make
rm -f ruby
ruby -Ks ./tool/insns2vm.rb --srcdir="." opt_sc.inc
./tool/insns2vm.rb:3:in `require': no such file to load -- optparse
(LoadError)
        from ./tool/insns2vm.rb:3
make: *** [opt_sc.inc] Error 1
hydra(ruby_dev_1.9.0}$

Thanks in advance!

Chuck T.
Posted by Nobuyoshi Nakada (nobu)
on 10.08.2008 15:14
(Received via mailing list)
Hi,

At Sun, 10 Aug 2008 17:54:06 +0900,
C.E. Thornton wrote in [ruby-core:18228]:
> I am running autoconf 2.54, ./configure, and

configure.in requires autoconf 2.60.

> ruby -Ks ./tool/insns2vm.rb --srcdir="." opt_sc.inc
> ./tool/insns2vm.rb:3:in `require': no such file to load -- optparse 
> (LoadError)
>         from ./tool/insns2vm.rb:3

You seem not to have installed standard bundled libraries.
Posted by C.E. Thornton (Guest)
on 10.08.2008 19:31
(Received via mailing list)
Nobuyoshi Nakada wrote:
>   
>> ruby -Ks ./tool/insns2vm.rb --srcdir="." opt_sc.inc
>> ./tool/insns2vm.rb:3:in `require': no such file to load -- optparse 
>> (LoadError)
>>         from ./tool/insns2vm.rb:3
>>     
>
> You seem not to have installed standard bundled libraries. 
>
>   
OK,  I will upgrade autoconf.

I preformed:  " svn co http://svn.ruby-lang.org/repos/ruby/trunk
/home/thornton/ruby_dev_1.9.0 "
Is some other action required to bring down standard libraries??  I
would think it should come
down complete??  ---

I might be the autoconf problem --- I will fix that and try again.
Thanks --

You guys are doing well in Gymnastics!!

Chuck T.
Posted by C.E. Thornton (Guest)
on 10.08.2008 20:06
(Received via mailing list)
C.E. Thornton wrote:
>>
>
>
> Chuck T.
>
Downloaded and installed autoconf 2-.62 --- Same Results!!

hydra(ruby_dev_1.9.0}$autoconf --version
autoconf (GNU Autoconf) 2.62
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.
hydra(ruby_dev_1.9.0}$autoconf
configure.in:735: warning: AC_CACHE_VAL(rb_broken_glibc_ia64_erfc, ...):
suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
configure.in:735: the top level
 ::          ::         ::          ::        ::
hecking for nroff... /usr/bin/nroff
config.h unchanged
configure: creating ./config.status
config.status: creating Makefile
hydra(ruby_dev_1.9.0}$make
rm -f ruby
ruby -Ks ./tool/insns2vm.rb --srcdir="." opt_sc.inc
./tool/insns2vm.rb:3:in `require': no such file to load -- optparse
(LoadError)
        from ./tool/insns2vm.rb:3
make: *** [opt_sc.inc] Error 1
hydra(ruby_dev_1.9.0}$