Package: ruby1.9.1-dev
Version: 1.9.3.448-1
Severity: minor

While pkg-config knows about the proper location of ruby.h, ruby's
RbConfig::CONFIG doesn't:

# pkg-config --cflags-only-I ruby-1.9
-I/usr/include/ruby-1.9.1/x86_64-linux -I/usr/include/ruby-1.9.1

# ruby1.9.1 -rrbconfig -e 'puts RbConfig::CONFIG["includedir"]'
/usr/include


As there's no single include dir (but two), I'm not sure how to handle
that at all, though.


Others look okay:

# ruby1.9.1 -rrbconfig -e 'puts RbConfig::CONFIG["bindir"]'
/usr/bin
# ruby1.9.1 -rrbconfig -e 'puts RbConfig::CONFIG["libdir"]'
/usr/lib
# ruby1.9.1 -rrbconfig -e 'puts RbConfig::CONFIG["archdir"]'
/usr/lib/ruby/1.9.1/x86_64-linux
# ruby1.9.1 -rrbconfig -e 'puts RbConfig::CONFIG["cflags"]'
 -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses
-Wno-long-long -Wno-missing-field-initializers -Wpointer-arith
-Wwrite-strings -Wdeclaration-after-statement
-Wimplicit-function-declaration


Regards

Markus Wanner

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to