Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > ruby-1.9.2-p0 fails to to build

Reply
Thread Tools

ruby-1.9.2-p0 fails to to build

 
 
Jl Jl
Guest
Posts: n/a
 
      09-30-2010
I am trying to get ruby set up on a gumstix overo running angstrom linux
with a gnome desktop. I keep getting an error during make that I am sure
is a basic beginner issue that I seem to not be able to sort out. It
always gives me this error:
gcc -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses
-Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers
-Wno-long-long -fPIC -I. -I.ext/include/armv7l-linux-eabi -I./include
-I. -DRUBY_EXPORT -o enum.o -c enum.c
gcc -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses
-Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers
-Wno-long-long -fPIC -I. -I.ext/include/armv7l-linux-eabi -I./include
-I. -DRUBY_EXPORT -o enumerator.o -c enumerator.c
echo executable host ruby is required. use --with-baseruby option.;
false ./tool/generic_erb.rb -c -o known_errors.inc
/template/known_errors.inc.tmpl ./defs/known_errors.def
executable host ruby is required. use --with-baseruby option.
make: *** [known_errors.inc] Error 1


Here is how i did the configure:
/configure --prefix=/opt/metasploit3 --enable-pthread --enable-shared
I have also tried with just ./configure and still get the same problem
as above. Configuring either way goes through fine its in the make where
it fails.

I have tried during configure and make to add the --with-baseruby and
neither gives me a completed make to install. What am I missing here?
Thanks for any help and please feel free to ask me anymore info that I
may have forgotten. Also I tried searching online and dont see the
--with-baseruby option anywhere
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
 
 
 
Ryan Davis
Guest
Posts: n/a
 
      09-30-2010

On Sep 29, 2010, at 20:23 , Jl Jl wrote:

> I have tried during configure and make to add the --with-baseruby and
> neither gives me a completed make to install. What am I missing here?


You're missing an existing ruby. Unfortunately, the current build =
requires an existing ruby to bootstrap. Install one (any version) via a =
package manager and do your build. I believe install doesn't have this =
requirement so you can probably uninstall the packaged ruby before you =
install your hand-built ruby.=

 
Reply With Quote
 
 
 
 
Jl Jl
Guest
Posts: n/a
 
      09-30-2010
Ryan Davis wrote:

> You're missing an existing ruby. Unfortunately, the current build
> requires an existing ruby to bootstrap. Install one (any version) via a
> package manager and do your build. I believe install doesn't have this
> requirement so you can probably uninstall the packaged ruby before you
> install your hand-built ruby.



Ahhh ok thanks for the info hadnt ever seen that before. I will build an
older version, there is no real package management system for my setup
so will just compile from an older source.

Thanks again
--
Posted via http://www.ruby-forum.com/.

 
Reply With Quote
 
Luis Lavena
Guest
Posts: n/a
 
      09-30-2010
On Sep 30, 12:59*pm, Jeremy Henty <onepo...@starurchin.org> wrote:
> On 2010-09-30, Ryan Davis <ryand-r...@zenspider.com> wrote:
>
>
>
> > On Sep 29, 2010, at 20:23 , Jl Jl wrote:

>
> >> I have tried *during configure and make to *add the --with-baseruby
> >> and neither gives me a completed make to install. What am I missing
> >> here?

>
> > You're missing *an existing *ruby. Unfortunately, the *current build
> > requires an *existing ruby to *bootstrap. Install one *(any version)
> > via a package manager and do your build.

>
> And those of *us who build everything from source *and have no package
> managers do, ... what?
>


Download Ruby 1.8 source code, compile it, install it.

Then use that as base ruby and download and compile Ruby 1.9

--
Luis Lavena
 
Reply With Quote
 
Luis Lavena
Guest
Posts: n/a
 
      09-30-2010
On Sep 30, 2:38*pm, Luis Lavena <luislav...@gmail.com> wrote:
> On Sep 30, 12:59*pm, Jeremy Henty <onepo...@starurchin.org> wrote:
>
> > And those of *us who build everything from source *and have no package
> > managers do, ... what?

>
> Download Ruby 1.8 source code, compile it, install it.
>
> Then use that as base ruby and download and compile Ruby 1.9
>


To clarify: you compile Ruby 1.8 for your current platform and *then*
make Ruby 1.9 targeting the platform you're trying to compile to.

HTH,
--
Luis Lavena
 
Reply With Quote
 
Ryan Davis
Guest
Posts: n/a
 
      09-30-2010

On Sep 30, 2010, at 12:55 , Jeremy Henty wrote:

> Thanks. Will that work just for now, or indefinitely? What happens
> when/if the build requires the host to support a Ruby-1.9 specific
> feature?


worry about it when it happens.


 
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
Constant.t fails 240 of 272 tests and recurs.t fails 1 of 25 tests on HPUX using perl 5.8.7 dayo Perl Misc 11 12-16-2005 09:09 PM
XP home network fails to work 100% after re-build. Mohawk Brewing Computer Support 3 05-19-2005 02:51 AM
slideshow fails, Firefox debugger also fails lkrubner@geocities.com Javascript 2 12-23-2004 06:22 PM
SWsoft Acronis Disk Director Suite 9.0 Build 508, Acronis OS Selector 8.0 Build 917, Acronis Partition Expert 2003 Build 292, Acronis Power Utilities 2004 Build 502, F-SECURE.ANTI vIRUS.PROXY v1.10.17.WINALL, F-SECURE.ANTI vIRUS v5.50.10260 for CITRI vvcd Computer Support 0 09-25-2004 01:38 AM
Forms Authentication Fails Between ASP.NET 1.0 and 1.1 Applications (Cookie Decryption Fails) John Saunders ASP .Net 1 11-18-2003 03:25 PM



Advertisments