Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #2830
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!feeder.news-service.com!feeds.phibee-telecom.net!talisker.lacave.net!lacave.net!not-for-mail |
|---|---|
| From | Ralf Mueller <ralf.mueller@zmaw.de> |
| Newsgroups | comp.lang.ruby |
| Subject | Re: problem with swig & ruby |
| Date | Thu, 14 Apr 2011 03:13:35 -0500 |
| Organization | Service de news de lacave.net |
| Lines | 22 |
| Message-ID | <4DA6AC7F.8020606@zmaw.de> (permalink) |
| References | <BANLkTimAouOikEQ+y=inyz1+TiPNo2qykw@mail.gmail.com> <BANLkTim7hMh56W8whVqOmGkQKMABvEoVcw@mail.gmail.com> |
| NNTP-Posting-Host | bristol.highgroove.com |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | talisker.lacave.net 1302769392 3732 65.111.164.187 (14 Apr 2011 08:23:12 GMT) |
| X-Complaints-To | abuse@lacave.net |
| NNTP-Posting-Date | Thu, 14 Apr 2011 08:23:12 +0000 (UTC) |
| In-Reply-To | <BANLkTim7hMh56W8whVqOmGkQKMABvEoVcw@mail.gmail.com> |
| X-Received-From | This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway |
| X-Mail-Count | 381515 |
| X-Ml-Name | ruby-talk |
| X-Rubymirror | Yes |
| X-Ruby-Talk | <4DA6AC7F.8020606@zmaw.de> |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.ruby:2830 |
Show key headers only | View raw
37 min of waiting is not that long....get yourself a coffee as a pacifier
here is my hint:
to get the right value for CPPFLAGS, call this script:
require 'mkmf'
if RUBY_VERSION[0,3] == '1.8'
puts "-I#{Config::expand(CONFIG['rubyhdrdir'])}"
else
puts "-I#{Config::expand(CONFIG['rubyhdrdir'])}
-I#{Config::expand(CONFIG['rubyhdrdir'])}/#{Config::expand(CONFIG['arch'])}"
end
On my system, its outpout is
-I/usr/include/ruby-1.9.1 -I/usr/include/ruby-1.9.1/x86_64-linux
Ruby uses two config.h files, one for platform independent and one for platform dependent settings.
hth
ralf
Back to comp.lang.ruby | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
problem with swig & ruby serialhex <serialhex@gmail.com> - 2011-04-13 00:42 -0500
Re: problem with swig & ruby serialhex <serialhex@gmail.com> - 2011-04-13 13:19 -0500
Re: problem with swig & ruby Ralf Mueller <ralf.mueller@zmaw.de> - 2011-04-14 03:13 -0500
Re: problem with swig & ruby Ralf Mueller <ralf.mueller@zmaw.de> - 2011-04-14 03:16 -0500
csiph-web