[Bug 226381] Merge Review: ruby

bugzilla at redhat.com bugzilla at redhat.com
Fri Jan 4 02:23:34 UTC 2008


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  2008-01-03 21:23 EST -------
Well, it was not 'have_header' but 'have_library'. The actual example is:

When I write TEMP.rb as:
--------------------------------------------------------------
require 'mkmf'

have_library('z')
---------------------------------------------------------------
and try "ruby TEMP.rb", it returns
---------------------------------------------------------------
$ LANG=C ruby TEMP.rb
checking for main() in -lz... no
$ cat mkmf.log 
have_library: checking for main() in -lz... -------------------- no

"gcc -o conftest -I. -I/usr/lib/ruby/1.8/i386-linux -I.  -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4
-m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall  -fPIC
conftest.c  -L"." -L"/usr/lib" -L.  -rdynamic -Wl,-export-dynamic    
-lruby-static -lz  -lpthread -ldl -lcrypt -lm   -lc"
/usr/bin/ld: cannot find -lruby-static
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */

"gcc -o conftest -I. -I/usr/lib/ruby/1.8/i386-linux -I.  -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4
-m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall  -fPIC
conftest.c  -L"." -L"/usr/lib" -L.  -rdynamic -Wl,-export-dynamic    
-lruby-static -lz  -lpthread -ldl -lcrypt -lm   -lc"
/usr/bin/ld: cannot find -lruby-static
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { main(); return 0; }
/* end */

--------------------

--------------------------------------------------------------

I guess some fix is needed on ruby rpm side.

-- 
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