gutopia-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rgui-dev] ParaGUI or ClanLib binding


From: Leon Torres
Subject: Re: [rgui-dev] ParaGUI or ClanLib binding
Date: Thu, 22 Aug 2002 19:34:57 -0700 (PDT)

Hmm.. Autoconf isn't as robust as I was hoping it to be. :(
Tom, let me know what you're running. Then, check to see if the following
two lines are in configure.in:

RUBY_INCLUDE_DIR=[`ruby -e "require 'rbconfig'; puts 
Config::CONFIG['includedir']"`]/ruby
RUBY_INSTALL_DIR=[`ruby -e "require 'rbconfig'; puts 
Config::CONFIG['sitearchdir']"`]

If they aren't there, then ensure that the patch is being applied
correctly. Otherwise, make sure that RUBY_INCLUDE_DIR and
RUBY_INSTALL_DIR are defined in the toplevel Makefile and in
bindings/ruby/Makefile as follows:

RUBY_INCLUDE_DIR = /path/to/ruby/include (where ruby.h is)
RUBY_INSTALL_DIR = /path/to/ruby/sitelib_bindir (where ruby C exts go)

If not, ensure that you're passing --enable-ruby to ./configure.
Otherwise, check to see if the following give the correct paths:

ruby -e "require 'rbconfig'; puts Config::CONFIG['includedir']"`
ruby -e "require 'rbconfig'; puts Config::CONFIG['sitearchdir']"`

If not, then please try to figre out what gives the correct output for
your system. Otherwise, check to see if Makefile.am and some other files
exist inside bindings/ruby/. That should narrow down the bug.

Thanks for trying, I need to ensure Autoconf is doing its job.

- Leon





reply via email to

[Prev in Thread] Current Thread [Next in Thread]