GEM /FXRuby problems

Hi,

this was the first time I tried to use Ruby Gems.

I did as follows:

Download of FXRuby-1.2.0.gem.gz
Unpacking into FXRuby-1.2.0.gem

Download of RubyGems 0.6.1
install of it via ruby install.rb

Call of

gem -i FXRuby-1.2.0.gem

Output I got

Attempting local installation of 'fxruby-1.2.0.gem'
extconf.rb:30:in `find_installed_fox_version': couldn't find FOX header files (RuntimeError)
         from extconf.rb:155
Error installing gem fxruby-1.2.0.gem: ERROR: Failed to build gem native extension.
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/fxruby-1.2.0 for inspection.
   See /usr/lib/ruby/gems/1.8/gems/fxruby-1.2.0/ext/fox/gem_make.out

BUT: FOX is definitely installed under /usr/.

I tried to take a look at
/usr/lib/ruby/gems/1.8/gems/fxruby-1.2.0/ext/fox/gem_make.out

but such a file doesn't exist (the directory is available, though).

How ca I proceed. The "final result" should be the successfull
installation of aeditor 1.3

Thank you very much for any help in advance,
Meino

Output I got

Attempting local installation of 'fxruby-1.2.0.gem'
extconf.rb:30:in `find_installed_fox_version': couldn't find FOX header files (RuntimeError)
         from extconf.rb:155
Error installing gem fxruby-1.2.0.gem: ERROR: Failed to build gem native extension.
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/fxruby-1.2.0 for inspection.
   See /usr/lib/ruby/gems/1.8/gems/fxruby-1.2.0/ext/fox/gem_make.out

BUT: FOX is definitely installed under /usr/.

You've installed fox-1.2.0, or fox-1.0.x? It should be looking for a
file named "fxver.h" in the /usr/include/fox-1.2 subdirectory if
you've installed fox-1.2.0.

I tried to take a look at
/usr/lib/ruby/gems/1.8/gems/fxruby-1.2.0/ext/fox/gem_make.out

It probably never got that far (i.e. it died trying to configure the build).

How ca I proceed. The "final result" should be the successfull
installation of aeditor 1.3.

I would hazard a guess that AEditor depends on the stable releases of
FOX and FXRuby (i.e. fox-1.0 and FXRuby-1.0) and not the unstable,
alpha release of FXRuby. But you should confirm this with Simon.

···

On Thu, 8 Jul 2004 08:56:56 +0900, Meino Christian Cramer <meino.cramer@gmx.de> wrote:

Hi Lyle,

thank you for your reply ! :slight_smile:

> Output I got
>
> Attempting local installation of 'fxruby-1.2.0.gem'
> extconf.rb:30:in `find_installed_fox_version': couldn't find FOX header files (RuntimeError)
> from extconf.rb:155
> Error installing gem fxruby-1.2.0.gem: ERROR: Failed to build gem native extension.
> Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/fxruby-1.2.0 for inspection.
> See /usr/lib/ruby/gems/1.8/gems/fxruby-1.2.0/ext/fox/gem_make.out
>
> BUT: FOX is definitely installed under /usr/.

You've installed fox-1.2.0, or fox-1.0.x? It should be looking for a
file named "fxver.h" in the /usr/include/fox-1.2 subdirectory if
you've installed fox-1.2.0.

> I tried to take a look at
> /usr/lib/ruby/gems/1.8/gems/fxruby-1.2.0/ext/fox/gem_make.out

It probably never got that far (i.e. it died trying to configure the build).

> How ca I proceed. The "final result" should be the successfull
> installation of aeditor 1.3.

I would hazard a guess that AEditor depends on the stable releases of
FOX and FXRuby (i.e. fox-1.0 and FXRuby-1.0) and not the unstable,
alpha release of FXRuby. But you should confirm this with Simon.

According to the homepage of FOX:

fox-snapshot.tar.gz (development snapshot).
fox-1.3.3.tar.gz (LATEST DEV).
fox-1.2.6.tar.gz (NEW STABLE).
fox-1.0.52.tar.gz (OLD STABLE).

is Fox-1.2.x the stable one...

Simon, can you read me ??? :slight_smile:

keep hacking!
Meino

···

From: Lyle Johnson <lyle.johnson@gmail.com>
Subject: Re: GEM /FXRuby problems
Date: Thu, 8 Jul 2004 09:58:09 +0900

On Thu, 8 Jul 2004 08:56:56 +0900, Meino Christian Cramer > <meino.cramer@gmx.de> wrote:

thank you for your reply ! :slight_smile:

No problem.

According to the homepage of FOX:

fox-snapshot.tar.gz (development snapshot).
fox-1.3.3.tar.gz (LATEST DEV).
fox-1.2.6.tar.gz (NEW STABLE).
fox-1.0.52.tar.gz (OLD STABLE).

is Fox-1.2.x the stable one...

Well, FOX 1.2 is the stable version of FOX, but FXRuby 1.2 is not
quite stable yet. :wink:

So for your purposes, I think the best choice is to install FOX 1.0
and FXRuby 1.0. FXRuby 1.2 is currently an "alpha" release and not
ready for general use.

···

On Thu, 08 Jul 2004 05:24:06 +0200 (CEST), Meino Christian Cramer <meino.cramer@gmx.de> wrote:

From: Lyle Johnson <lyle.johnson@gmail.com>

[snip]

> > How ca I proceed. The "final result" should be the successfull
> > installation of aeditor 1.3.
>
> I would hazard a guess that AEditor depends on the stable releases of
> FOX and FXRuby (i.e. fox-1.0 and FXRuby-1.0) and not the unstable,
> alpha release of FXRuby. But you should confirm this with Simon.

According to the homepage of FOX:

fox-snapshot.tar.gz (development snapshot).
fox-1.3.3.tar.gz (LATEST DEV).
fox-1.2.6.tar.gz (NEW STABLE).
fox-1.0.52.tar.gz (OLD STABLE).

AEditor has only been tested with fox 1.0.x so far.
I hanv't tried 1.2.x yet (will try 1.2.x when I get back from vacation).

If you want to try aeditor, then you it should work with fox 1.0.52.
Tell me how it works out, good/bad.

Thanks in advance

···

On Thursday 08 July 2004 05:24, Meino Christian Cramer wrote:

> On Thu, 8 Jul 2004 08:56:56 +0900, Meino Christian Cramer > > <meino.cramer@gmx.de> wrote:

--
Simon Strandgaard

Hi Lyle,

> thank you for your reply ! :slight_smile:

No problem.

> According to the homepage of FOX:
>
> fox-snapshot.tar.gz (development snapshot).
> fox-1.3.3.tar.gz (LATEST DEV).
> fox-1.2.6.tar.gz (NEW STABLE).
> fox-1.0.52.tar.gz (OLD STABLE).
>
> is Fox-1.2.x the stable one...

Well, FOX 1.2 is the stable version of FOX, but FXRuby 1.2 is not
quite stable yet. :wink:

So for your purposes, I think the best choice is to install FOX 1.0
and FXRuby 1.0. FXRuby 1.2 is currently an "alpha" release and not
ready for general use.

Oh, yes, I will (I got a little confused in my head with all these
versions :O)

Will this all live in parallel in peace and freedom on my harddisk or
should I start an Uninstall-party ?

By the way: I am just a little curious: From where do you mail? CET
-5.00 ? I am near Stuttgart/Germany.

Thanks again very much fro your help! :slight_smile:
Keep Hacking!
Meino

···

From: Lyle Johnson <lyle.johnson@gmail.com>
Subject: Re: GEM /FXRuby problems
Date: Wed, 7 Jul 2004 22:38:42 -0500

On Thu, 08 Jul 2004 05:24:06 +0200 (CEST), Meino Christian Cramer > <meino.cramer@gmx.de> wrote:

Hi Simon,

<snip>

AEditor has only been tested with fox 1.0.x so far.
I hanv't tried 1.2.x yet (will try 1.2.x when I get back from vacation).

  Ok, I got it running with FOX/FXRuby 1.0.x
  
  As soon as FXRuby/FOX 1.2.x is installed in parallel, nothing works
  anymore:

  /usr/lib/ruby/gems/1.8/gems/fxruby-1.2.0/ext/fox/fox.so: /usr/lib/ruby/gems/1.8/gems/fxruby-1.2.0/ext/fox/fox.so: undefined symbol: XcursorSupportsARGB - /usr/lib/ruby/gems/1.8/gems/fxruby-1.2.0/ext/fox/fox.so (LoadError)
  from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:54:in `require_gem'
  from /usr/lib/ruby/site_ruby/1.8/fox.rb:11
  from /usr/lib/ruby/site_ruby/1.8/aeditor/main.rb:13:in `require'
  from /usr/lib/ruby/site_ruby/1.8/aeditor/main.rb:13:in `get_version_fox_toolkit'
  from /usr/lib/ruby/site_ruby/1.8/aeditor/cli.rb:66:in `show_version'
  from /usr/lib/ruby/site_ruby/1.8/aeditor/cli.rb:20:in `parse'
  from /usr/lib/ruby/site_ruby/1.8/aeditor/cli.rb:19:in `call'
  from /usr/lib/ruby/1.8/optparse.rb:1269:in `order!'
   ... 6 levels...
  from /usr/lib/ruby/site_ruby/1.8/aeditor/cli.rb:83:in `parse'
  from /usr/lib/ruby/site_ruby/1.8/aeditor/main.rb:26
  from /usr/bin/aeditor:2:in `require'
  from /usr/bin/aeditor:2

If you want to try aeditor, then you it should work with fox 1.0.52.
Tell me how it works out, good/bad.

  Done, see above :wink: :O)

···

From: Simon Strandgaard <neoneye@adslhome.dk>
Subject: Re: GEM /FXRuby problems
Date: Thu, 8 Jul 2004 14:36:41 +0900

Thanks in advance

--
Simon Strandgaard

From: Simon Strandgaard <neoneye@adslhome.dk>

> AEditor has only been tested with fox 1.0.x so far.
> I hanv't tried 1.2.x yet (will try 1.2.x when I get back from vacation).

  Ok, I got it running with FOX/FXRuby 1.0.x

Im happy to hear that.

  As soon as FXRuby/FOX 1.2.x is installed in parallel, nothing works
  anymore:

hmm.. undefined symbol.. it seems as fxruby 1.2 and 1.0 cannot coexist.

I have no solution to this. Maybe Lyle Johnson knows what is happening.

···

On Thursday 08 July 2004 09:42, Meino Christian Cramer wrote:

--
Siimon Strandgaard

/usr/lib/ruby/gems/1.8/gems/fxruby-1.2.0/ext/fox/fox.so: /usr/lib/ruby/gems/1.8/gems/fxruby-1.2.0/ext/fox/fox.so:
undefined symbol: XcursorSupportsARGB
- /usr/lib/ruby/gems/1.8/gems/fxruby-1.2.0/ext/fox/fox.so (LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:54:in `require_gem'
from /usr/lib/ruby/site_ruby/1.8/fox.rb:11
from /usr/lib/ruby/site_ruby/1.8/aeditor/main.rb:13:in `require'
from /usr/lib/ruby/site_ruby/1.8/aeditor/main.rb:13:in
`get_version_fox_toolkit'
from /usr/lib/ruby/site_ruby/1.8/aeditor/cli.rb:66:in `show_version'
from /usr/lib/ruby/site_ruby/1.8/aeditor/cli.rb:20:in `parse'
from /usr/lib/ruby/site_ruby/1.8/aeditor/cli.rb:19:in `call'
from /usr/lib/ruby/1.8/optparse.rb:1269:in `order!'
... 6 levels...
from /usr/lib/ruby/site_ruby/1.8/aeditor/cli.rb:83:in `parse'
from /usr/lib/ruby/site_ruby/1.8/aeditor/main.rb:26
from /usr/bin/aeditor:2:in `require'
from /usr/bin/aeditor:2

Oh, yes, I will (I got a little confused in my head with all these
versions :O)

You think you're confused, you should try being the code maintainer. :wink:

Will this all live in parallel in peace and freedom on my harddisk or
should I start an Uninstall-party?

FOX versions 1.0 and 1.2 can co-exist on your hard disk with no
problem. The FOX 1.0 header files are installed to /usr/include/fox
and the library name is libFOX.*; the FOX 1.2 header files are
installed to /usr/include/fox-1.2 and the library name is
libFOX-1.2.*. So no problem there.

As for FXRuby versions 1.0 and 1.2, I will probably have to go back
and make a gem for FXRuby 1.0.29 (the most recent stable release) if
we want both versions 1.0 and 1.2 to be able to co-exist. For now,
however, I'd recommend using the "gem --uninstall fxruby" command to
uninstall that version until it works well with AEditor and other
applications that you're using.

By the way: I am just a little curious: From where do you mail? CET
-5.00 ? I am near Stuttgart/Germany.

I mail from the great State of Alabama in the U.S. (GMT-6). But I'm
using GMail at the moment and so I'm not sure how the mail is actually
timestamped (i.e. I don't know what time it is on their mail server).
It's about 7:08 a.m. in the morning as I write this.

Thanks again very much for your help! :slight_smile:

No problem, and good luck.

···

On Thu, 08 Jul 2004 05:52:30 +0200 (CEST), Meino Christian Cramer <meino.cramer@gmx.de> wrote: