[Fxruby-users] Re: Finding Fox still a problem :(
Status: Inactive
Brought to you by:
lyle
|
From: Lyle J. <jl...@cf...> - 2003-06-05 14:43:50
|
brett wrote:
> You are correct , I missed the install phase !! because it was not in the
> install instructions ?? -- It depends upon which version you read.
> The text file "install" misses the "ruby install.rb install" command.
Oops, you're right. I just updated the INSTALL file to include this last
step.
> So I unzipped all the files again and ran the following commands
> as user BRETT --should I be ROOT ?
You should be able to do the 'config' and 'setup' steps as any user, but
you will usually need to be logged in as root to do the 'install' step.
> In any case it did not work -- again.
>
> By the way just what files, and where should they be?, are Ruby actually
> looking for with the
>
> require 'fox' command ??
When you do:
require 'fox'
from Ruby, it is looking for the Ruby extension module named "fox.so".
On your system, I'm pretty sure that would get installed as:
/usr/lib/ruby/site_ruby/1.6/i686-linux/fox.so
Some *.rb files should also get installed under this directory:
/usr/lib/ruby/site_ruby/1.6/fox
>
> =====================
> Konsole output below.
>
<... snip output from config, setup and install phases ...>
OK, this doesn't look right at all. I don't see any indication during
the 'setup' phase that it's actually *doing* anything. This should be
the longest part of the process, where it's compiling the C++ extension
code. That also seems to be confirmed during the 'install' phase, since
it installs all of the "pure Ruby" parts of FXRuby but it never installs
the extension module part (fox.so).
I think the best thing to do is to start over from scratch with FXRuby:
1. Completely wipe out the FXRuby-1.0.21 directory under
your user account that you used to build the code. Leave
no traces ;)
2. Also wipe out whatever might have been installed to
/usr/lib/ruby/site_ruby/1.6/fox, and the fox.so file if it
did actually get installed. Might be good to do a 'find' to
see if it's hiding down there under /usr/lib/ruby/site_ruby
somewhere.
3. Start over. Unpack FXRuby-1.0.x.tar.gz under your user account,
then follow the instructions to configure, setup and install
the software. The 'config' step should take a few seconds to
complete. The 'setup' step should take much longer, depending
on fast your system is (count on 10-15 minutes I would guess).
The 'install' step should only take a few seconds.
Hope this helps,
Lyle
P.S.
I am Cc'ing this reply to the newly-formed fxruby-users mailing list. It
might be useful to you to subscribe to that list, as others may be able
to advise you as well on these kinds of problems. For more information,
see http://lists.sourceforge.net/lists/listinfo/fxruby-users.
|