From: Alberich de megres Date: 2012-12-05T20:03:00+09:00 Subject: Re: Cross compiling --e89a8f3b9e81d8a03804d018ec31 Content-Type: text/plain; charset=ISO-8859-1 Hi Carlo, I'm using gem and bundle to install software. And is at this point where I'm lost. There's no extension directory and no extconf.rb file. I could identify a Rakefile, and a Gemfile. Tried setting up somethin like: export CC=arm-linux-gcc, and so export PATH=/path/to/cross-compiled/ruby/bin:$PATH then gem install But i'm getting something: /dest/bin/gem: line 8: require: command not found /dest/bin/gem: line 9: require: command not found /dest/bin/gem: line 10: require: command not found dest/bin/gem: line 12: required_version: command not found [...] I think I'm loosing something.. can you help me please? thanks! On Tue, Dec 4, 2012 at 12:08 PM, Carlo E. Prelz wrote: > Subject: Re: Cross compiling > Date: Tue 04 Dec 12 07:57:07PM +0900 > > Quoting Alberich de megres (alberich2k5@gmail.com): > > > And sorry to insist, maybe it is a newbie-stupid question, but I couldn't > > find information on how to cross-complie bundle installs. > > > > Can anyone helpme please? > > I have no ready-made recipes. But I am certainl you will find tons of > documents on Rasp-related cross compiling in the Rasp-related > forums. If you solve the general cross-compile task, then it is > trivial to solve the Ruby-lib-specific cross-compile task. With most > of these extensions, you go the ext directory, run > > ruby extconf.rb > > and then run make. > > If you do that while applying the steps you will have learned when > solving the general cross-compile task, the resulting .so file will be > ready to be copied to the appropriate directories on the Rasp. > > I hope you will post a howto to the list, once you have completed your > task. > > Carlo > > -- > * Se la Strada e la sua Virtu' non fossero state messe da parte, > * K * Carlo E. Prelz - fluido@fluido.as che bisogno ci sarebbe > * di parlare tanto di amore e di rettitudine? (Chuang-Tzu) > > --e89a8f3b9e81d8a03804d018ec31 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Carlo,

I'm using gem and bundle to install softwa= re. And is at this point where I'm lost.=A0
There's no ex= tension directory and no=A0extconf.rb file.=A0

I c= ould identify a Rakefile, and a Gemfile.=A0
Tried setting up somethin lik= e:
export CC= =3Darm-linux-gcc, and so
export PATH=3D/path/to/cross-compiled/ruby/bin:$= PATH
then gem i= nstall=A0

But i'm getting something:
/dest= /bin/gem: line 8: require: command not found
/dest/bin/gem: line = 9: require: command not found
/dest/bin/gem: line 10: require: co= mmand not found
dest/bin/gem: line 12: required_version: command not found
[..= .]

I think I'm loosing something.. can you help me please?
=

thanks!
=





On Tue, Dec 4, 2012 at 12:08 PM, Carlo E. Prelz <fluido@fluido.as> wrote:
=A0 =A0 =A0 =A0 Subject: Re: Cross compiling
=A0 =A0 =A0 =A0 Date: Tue 04 Dec 12 07:57:07PM +0900

Quoting Alberich de megres (alberi= ch2k5@gmail.com):

> And sorry to insist, maybe it is a newbie-stupid question, but I could= n't
> find information on how to cross-complie bundle installs.
>
> Can anyone helpme please?

I have no ready-made recipes. But I am certainl you will find tons of=
documents on Rasp-related cross compiling in the Rasp-related
forums. If you solve the general cross-compile task, then it is
trivial to solve the Ruby-lib-specific cross-compile task. With most
of these extensions, you go the ext directory, run

ruby extconf.rb

and then run make.

If you do that while applying the steps you will have learned when
solving the general cross-compile task, the resulting .so file will be
ready to be copied to the appropriate directories on the Rasp.

I hope you will post a howto to the list, once you have completed your
task.

Carlo

--
=A0 * =A0 =A0 =A0 =A0 Se la Strada e la sua Virtu' non fossero state me= sse da parte,
* K * Carlo E. Prelz - fluido@fluido.as= =A0 =A0 =A0 =A0 =A0 =A0 che bisogno ci sarebbe
=A0 * =A0 =A0 =A0 =A0 =A0 =A0 =A0 di parlare tanto di amore e di rettitudin= e? (Chuang-Tzu)


--e89a8f3b9e81d8a03804d018ec31--