Chris Newman
2009-Mar-10 16:23 UTC
[fxruby-users] cannot find -lXrandr during FXRuby install
Hi all, I am looking for some help installing FXRuby 1.6.19 on a 64-bit RedHat VM. I have installed Ruby 1.8.7 into an alternate path: /srv/ruby-1.8.7. I have installed fox 1.6.35 under that alternate Ruby path. But, when I try to install FXRuby, either via a gem or via source, the linker reports the error: cannot find -lXrandr I found Xrandr libs in /usr/X11R6/lib & lib64. Why is it that fox seems to find Xrandr, but FXRuby cannot? I am pointing to the fox libs during the FXRuby build, i.e. set path = ( . /srv/ruby-1.8.7/bin etc...) ruby install.rb config -- --with-fox-include=/srv/ruby-1.8.7/include/fox-1.6 --with-fox-lib=/srv/ruby-1.8.7/lib It''s as if the FXRuby build is clueless about the location of the X11 libs. I can go in and hack the Makefile under the rug, but that just seems wrong. What''s the best way to fix this? Is there a way to pass in the X11 lib path to install.rb so that it creates the Makefile correctly? Any help would be appreciated. Thanks, cn -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20090310/f0135efe/attachment.html>
Lyle Johnson
2009-Mar-12 14:30 UTC
[fxruby-users] cannot find -lXrandr during FXRuby install
On Mar 10, 2009, at 11:23 AM, Chris Newman wrote:> I am looking for some help installing FXRuby 1.6.19 on a 64-bit > RedHat VM...Chris, Just wanted you to know that I''m not ignoring this---just haven''t had a chance to look into it yet. Will try to do so this weekend. I know that with gem installs you have some degree of control, e.g. by setting CFLAGS or LDFLAGS before starting the gem installation, but I don''t know that that works with this install.rb script. -- Lyle -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20090312/971b9824/attachment.html>