[Bug 226381] Merge Review: ruby
bugzilla at redhat.com
bugzilla at redhat.com
Fri Dec 28 10:49:12 UTC 2007
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.
Summary: Merge Review: ruby
https://bugzilla.redhat.com/show_bug.cgi?id=226381
------- Additional Comments From mtasaka at ioa.s.u-tokyo.ac.jp 2007-12-28 05:49 EST -------
Well, I have not checked 1.8.6.111-4.fc9 yet, however
- (at least on i386) using have_header like
----------------------------------------------------------
unless have_header("magick/MagickCore.h")
exit_failure "Can't install RMagick #{RMAGICK_VERS}. Can't find MagickCore.h.\n"
else
headers << "magick/MagickCore.h"
end
----------------------------------------------------------
returns
-----------------------------------------------------------
have_library: checking for InitializeMagick() in -lMagick... -------------------- no
"gcc -o conftest -I. -I/usr/lib/ruby/1.8/i386-linux
-I/home/tasaka1/rpmbuild/BUILD/RMagick-2.0.0/ext/RMagick -fopenmp -O2 -g -pipe -W
all -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unw
ind-tables -fopenmp conftest.c -L"." -L"/usr/lib" -lWand -lMagick -lWand
-lMagick -lruby-static -lMagick -lpthread -ldl -lcr
ypt -lm -lc"
/usr/bin/ld: cannot find -lruby-static
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: #include <assert.h>
2: #include <ctype.h>
3: #include <stdint.h>
4: #include <stdio.h>
5: #include <stdlib.h>
6: #include <math.h>
7: #include <time.h>
8: #include <sys/types.h>
9: #include <magick/MagickCore.h>
10:
11: /*top*/
12: int main() { return 0; }
13: int t() { void ((*volatile p)()); p = (void ((*)()))InitializeMagick; return
0; }
/* end */
------------------------------------------------------------
It seems that this is because /usr/lib/ruby/1.8/i386-linux/rbconfig.rb
(on i386) contains
-------------------------------------------------------------
126 CONFIG["LIBRUBY_A"] = "lib$(RUBY_SO_NAME)-static.a"
131 CONFIG["LIBRUBYARG_STATIC"] = "-l$(RUBY_SO_NAME)-static"
-------------------------------------------------------------
Any ideas?
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the Fedora-package-review
mailing list