AutoFu --with-ruby with ruby-1.9.2p0 isn't right
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
RPM |
In Progress
|
Low
|
Jeff Johnson |
Bug Description
The AutoFu to build against ruby-1.9.2p0 isn't correct building rpm-5.3.4.
For starters, ruby-1.9.2p0 needs the ruby_bind_static patch is needed from here:
http://
You will need to edit/install scripts/ruby-config someplace in PATH to
hint the --cppflags and --libs parameters to the RPM_CHECK_LIB m4 macro.
You will also need (if building from cvs) this patch:
Index: configure.ac
=======
RCS file: /v/rpm/
retrieving revision 2.432.2.17
diff -p -u -w -r2.432.2.17 configure.ac
--- configure.ac 20 Sep 2010 21:39:49 -0000
+++ configure.ac 19 Sep 2010 03:28:51 -0000 2.432.2.17
@@ -1486,7 +1486,7 @@ dnl # Ruby
WITH_RUBY_
RPM_CHECK_LIB(
[Ruby], [ruby],
- [ruby], [ruby_init], [ruby.h],
+ [ruby-static], [ruby_init], [ruby.h],
[no,
[ AC_DEFINE(
At that point this line in devtool.conf SHOULD build with embedded ruby-1.9.2p0:
--with-
Note that ruby-1.9.2p0 isn't really ready for use in rpm-5.3.4 yet ... expect difficulties.
Changed in rpm: | |
status: | New → In Progress |
assignee: | nobody → Jeff Johnson (n3npq) |
importance: | Undecided → Low |
milestone: | none → 5.3.5 |
tags: | added: rpm-embed-ruby |
Changed in rpm: | |
milestone: | 5.3.5 → 5.3.6 |