libxslt-ruby19 0.0.0 → 0.9.8

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock ADDED
@@ -0,0 +1,20 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ git (1.2.5)
5
+ jeweler (1.5.2)
6
+ bundler (~> 1.0.0)
7
+ git (>= 1.2.5)
8
+ rake
9
+ rake (0.8.7)
10
+ rcov (0.9.9)
11
+ shoulda (2.11.3)
12
+
13
+ PLATFORMS
14
+ ruby
15
+
16
+ DEPENDENCIES
17
+ bundler (~> 1.0.0)
18
+ jeweler (~> 1.5.2)
19
+ rcov
20
+ shoulda
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.0
1
+ 0.9.8
@@ -1,6 +1,9 @@
1
- #ifndef EXTCONF_H
2
- #define EXTCONF_H
3
- #define HAVE_ZLIB_H 1
4
- #define HAVE_LIBXML_RUBY_LIBXML_H 1
5
- #define HAVE_LIBXML_RUBY_XML_DOCUMENT_H 1
6
- #endif
1
+ #ifndef EXTCONF_H
2
+ #define EXTCONF_H
3
+ #define HAVE_ZLIB_H 1
4
+ #define HAVE_LIBXML_XMLVERSION_H 1
5
+ #define HAVE_XSLT_H 1
6
+ #define HAVE_EXSLT_H 1
7
+ #define HAVE_LIBXML_RUBY_LIBXML_H 1
8
+ #define HAVE_LIBXML_RUBY_XML_DOCUMENT_H 1
9
+ #endif
@@ -122,13 +122,13 @@ EOL
122
122
  end
123
123
 
124
124
  # This doens't actually work - means libxslt can't find libxml...
125
- # unless (have_library('xml_ruby', 'rxml_document_wrap') or
126
- # have_library(':libxml_ruby.so', 'rxml_document_wrap'))
127
- # crash(<<EOL)
128
- #need libxml-ruby
129
- # Install libxml-ruby first.
130
- #EOL
131
- #end
125
+ unless (have_library('xml_ruby', 'rxml_document_wrap') or
126
+ have_library(':libxml_ruby.so', 'rxml_document_wrap'))
127
+ crash(<<EOL)
128
+ need libxml-ruby
129
+ Install libxml-ruby first.
130
+ EOL
131
+ end
132
132
 
133
133
  create_header()
134
134
  create_makefile("libxslt_ruby")
@@ -1,4 +1,5 @@
1
1
  /usr/local/bin/ruby extconf.rb
2
+ extconf.rb:131: warning: mismatched indentations at 'end' with 'unless' at 125
2
3
  extconf.rb:18:Warning: Gem::SourceIndex#search support for String patterns is deprecated, use #find_name
3
4
  checking for atan() in -lm... no
4
5
  checking for atan() in -lm... yes
@@ -14,23 +15,65 @@ checking for exslt.h... no
14
15
  checking for exslt.h in /opt/include/libexslt,/usr/local/include/libexslt,/usr/include/libexslt... yes
15
16
  checking for libxml/ruby_libxml.h... yes
16
17
  checking for libxml/ruby_xml_document.h... yes
17
- creating extconf.h
18
- creating Makefile
18
+ checking for rxml_document_wrap() in -lxml_ruby... no
19
+ checking for rxml_document_wrap() in -l:libxml_ruby.so... no
20
+ *** extconf.rb failed ***
21
+ Could not create Makefile due to some reason, probably lack of
22
+ necessary libraries and/or headers. Check the mkmf.log file for more
23
+ details. You may need configuration options.
19
24
 
20
- make
21
- gcc -I. -I/usr/local/include/ruby-1.9.1/x86_64-linux -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/ext -I/usr/include/libxml2 -I/usr/include/libxslt -I/usr/include/libexslt -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -o libxslt.o -c libxslt.c
22
- In file included from libxslt.h:9,
23
- from libxslt.c:5:
24
- /usr/local/include/ruby-1.9.1/ruby/backward/rubyio.h:2: warning: #warning use "ruby/io.h" instead of "rubyio.h"
25
- gcc -I. -I/usr/local/include/ruby-1.9.1/x86_64-linux -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/ext -I/usr/include/libxml2 -I/usr/include/libxslt -I/usr/include/libexslt -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -o ruby_xslt_stylesheet.o -c ruby_xslt_stylesheet.c
26
- In file included from libxslt.h:9,
27
- from ruby_xslt_stylesheet.c:5:
28
- /usr/local/include/ruby-1.9.1/ruby/backward/rubyio.h:2: warning: #warning use "ruby/io.h" instead of "rubyio.h"
29
- ruby_xslt_stylesheet.c: In function ‘ruby_xslt_coerce_params’:
30
- ruby_xslt_stylesheet.c:84: error: ‘struct RArray’ has no member named ‘len’
31
- ruby_xslt_stylesheet.c:88: error: ‘struct RArray’ has no member named ‘ptr’
32
- ruby_xslt_stylesheet.c:89: error: ‘struct RString’ has no member named ‘len’
33
- ruby_xslt_stylesheet.c:92: error: ‘struct RString’ has no member named ‘ptr’
34
- ruby_xslt_stylesheet.c: In function ‘ruby_xslt_stylesheet_apply’:
35
- ruby_xslt_stylesheet.c:157: error: ‘struct RArray’ has no member named ‘len’
36
- make: *** [ruby_xslt_stylesheet.o] Erreur 1
25
+ Provided configuration options:
26
+ --with-opt-dir
27
+ --without-opt-dir
28
+ --with-opt-include
29
+ --without-opt-include=${opt-dir}/include
30
+ --with-opt-lib
31
+ --without-opt-lib=${opt-dir}/lib
32
+ --with-make-prog
33
+ --without-make-prog
34
+ --srcdir=.
35
+ --curdir
36
+ --ruby=/usr/local/bin/ruby
37
+ --with-xml2-dir
38
+ --without-xml2-dir
39
+ --with-xml2-include
40
+ --without-xml2-include=${xml2-dir}/include
41
+ --with-xml2-lib
42
+ --without-xml2-lib=${xml2-dir}/lib
43
+ --with-xslt-dir
44
+ --without-xslt-dir
45
+ --with-xslt-include
46
+ --without-xslt-include=${xslt-dir}/include
47
+ --with-xslt-lib
48
+ --without-xslt-lib=${xslt-dir}/lib
49
+ --with-exslt-dir
50
+ --without-exslt-dir
51
+ --with-exslt-include
52
+ --without-exslt-include=${exslt-dir}/include
53
+ --with-exslt-lib
54
+ --without-exslt-lib=${exslt-dir}/lib
55
+ --with-libxml-ruby-dir
56
+ --without-libxml-ruby-dir
57
+ --with-libxml-ruby-include
58
+ --without-libxml-ruby-include=${libxml-ruby-dir}/include
59
+ --with-libxml-ruby-lib
60
+ --without-libxml-ruby-lib=${libxml-ruby-dir}/lib
61
+ --with-mlib
62
+ --without-mlib
63
+ --with-mlib
64
+ --without-mlib
65
+ --with-zlib
66
+ --without-zlib
67
+ --with-xml2lib
68
+ --without-xml2lib
69
+ --with-xsltlib
70
+ --without-xsltlib
71
+ --with-exsltlib
72
+ --without-exsltlib
73
+ --with-xml_rubylib
74
+ --without-xml_rubylib
75
+ --with-:libxml_ruby.solib
76
+ --without-:libxml_ruby.solib
77
+ extconf failure: %s
78
+ need libxml-ruby
79
+ Install libxml-ruby first.
data/ext/libxslt/mkmf.log CHANGED
@@ -369,3 +369,193 @@ checked program was:
369
369
 
370
370
  --------------------
371
371
 
372
+ have_library: checking for rxml_document_wrap() in -lxml_ruby... -------------------- no
373
+
374
+ "gcc -o conftest -I/usr/local/include/ruby-1.9.1/x86_64-linux -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/ext -I/usr/include/libxml2 -I/usr/include/libxslt -I/usr/include/libexslt -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long conftest.c -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib -Wl,-R/usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib -L. -rdynamic -Wl,-export-dynamic -lexslt -lxslt -lxml2 -lz -lm -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lxml_ruby -lexslt -lxslt -lxml2 -lz -lm -lpthread -lrt -ldl -lcrypt -lm -lc"
375
+ conftest.c: In function ‘t’:
376
+ conftest.c:5: error: ‘rxml_document_wrap’ undeclared (first use in this function)
377
+ conftest.c:5: error: (Each undeclared identifier is reported only once
378
+ conftest.c:5: error: for each function it appears in.)
379
+ checked program was:
380
+ /* begin */
381
+ 1: #include "ruby.h"
382
+ 2:
383
+ 3: /*top*/
384
+ 4: int main() {return 0;}
385
+ 5: int t() { void ((*volatile p)()); p = (void ((*)()))rxml_document_wrap; return 0; }
386
+ /* end */
387
+
388
+ "gcc -o conftest -I/usr/local/include/ruby-1.9.1/x86_64-linux -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/ext -I/usr/include/libxml2 -I/usr/include/libxslt -I/usr/include/libexslt -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long conftest.c -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib -Wl,-R/usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib -L. -rdynamic -Wl,-export-dynamic -lexslt -lxslt -lxml2 -lz -lm -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lxml_ruby -lexslt -lxslt -lxml2 -lz -lm -lpthread -lrt -ldl -lcrypt -lm -lc"
389
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_class_new_instance'
390
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_eTypeError'
391
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_ivar_set'
392
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `ruby_snprintf'
393
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_iv_set'
394
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_define_class_under'
395
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_mEnumerable'
396
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_hash_aref'
397
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_include_module'
398
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_funcall'
399
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_hash_aset'
400
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_check_string_type'
401
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_define_attr'
402
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_define_method'
403
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_fix2int'
404
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_str_new'
405
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_cvar_get'
406
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `st_foreach'
407
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_eRuntimeError'
408
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_str_cat2'
409
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_define_singleton_method'
410
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_hash_new'
411
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_mKernel'
412
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_define_module'
413
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_string_value_ptr'
414
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_exc_raise'
415
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_string_value_cstr'
416
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_block_given_p'
417
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_block_proc'
418
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_intern2'
419
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_cvar_set'
420
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_fatal'
421
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_scan_args'
422
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_str_cat'
423
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_ary_new3'
424
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_num2int'
425
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_str_new_cstr'
426
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `ruby_xmalloc'
427
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_warning'
428
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_exc_new2'
429
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_obj_is_kind_of'
430
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_define_alias'
431
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_ary_new'
432
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_obj_as_string'
433
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_eStandardError'
434
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_define_module_under'
435
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_define_module_function'
436
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_warn'
437
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_gc_mark'
438
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_int2big'
439
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_float_new'
440
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_data_object_alloc'
441
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_define_alloc_func'
442
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_ivar_get'
443
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_raise'
444
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_respond_to'
445
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_check_type'
446
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `ruby_xfree'
447
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `ruby_xmalloc2'
448
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_gc_unregister_address'
449
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_eArgError'
450
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_define_const'
451
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_ary_push'
452
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_cObject'
453
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_yield'
454
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_hash_tbl'
455
+ collect2: ld returned 1 exit status
456
+ checked program was:
457
+ /* begin */
458
+ 1: #include "ruby.h"
459
+ 2:
460
+ 3: /*top*/
461
+ 4: int main() {return 0;}
462
+ 5: int t() { rxml_document_wrap(); return 0; }
463
+ /* end */
464
+
465
+ --------------------
466
+
467
+ have_library: checking for rxml_document_wrap() in -l:libxml_ruby.so... -------------------- no
468
+
469
+ "gcc -o conftest -I/usr/local/include/ruby-1.9.1/x86_64-linux -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/ext -I/usr/include/libxml2 -I/usr/include/libxslt -I/usr/include/libexslt -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long conftest.c -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib -Wl,-R/usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib -L. -rdynamic -Wl,-export-dynamic -lexslt -lxslt -lxml2 -lz -lm -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -l:libxml_ruby.so -lexslt -lxslt -lxml2 -lz -lm -lpthread -lrt -ldl -lcrypt -lm -lc"
470
+ conftest.c: In function ‘t’:
471
+ conftest.c:5: error: ‘rxml_document_wrap’ undeclared (first use in this function)
472
+ conftest.c:5: error: (Each undeclared identifier is reported only once
473
+ conftest.c:5: error: for each function it appears in.)
474
+ checked program was:
475
+ /* begin */
476
+ 1: #include "ruby.h"
477
+ 2:
478
+ 3: /*top*/
479
+ 4: int main() {return 0;}
480
+ 5: int t() { void ((*volatile p)()); p = (void ((*)()))rxml_document_wrap; return 0; }
481
+ /* end */
482
+
483
+ "gcc -o conftest -I/usr/local/include/ruby-1.9.1/x86_64-linux -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -I/usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/ext -I/usr/include/libxml2 -I/usr/include/libxslt -I/usr/include/libexslt -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long conftest.c -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib -Wl,-R/usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib -L. -rdynamic -Wl,-export-dynamic -lexslt -lxslt -lxml2 -lz -lm -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -l:libxml_ruby.so -lexslt -lxslt -lxml2 -lz -lm -lpthread -lrt -ldl -lcrypt -lm -lc"
484
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_class_new_instance'
485
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_eTypeError'
486
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_ivar_set'
487
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `ruby_snprintf'
488
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_iv_set'
489
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_define_class_under'
490
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_mEnumerable'
491
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_hash_aref'
492
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_include_module'
493
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_funcall'
494
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_hash_aset'
495
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_check_string_type'
496
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_define_attr'
497
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_define_method'
498
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_fix2int'
499
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_str_new'
500
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_cvar_get'
501
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `st_foreach'
502
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_eRuntimeError'
503
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_str_cat2'
504
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_define_singleton_method'
505
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_hash_new'
506
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_mKernel'
507
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_define_module'
508
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_string_value_ptr'
509
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_exc_raise'
510
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_string_value_cstr'
511
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_block_given_p'
512
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_block_proc'
513
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_intern2'
514
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_cvar_set'
515
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_fatal'
516
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_scan_args'
517
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_str_cat'
518
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_ary_new3'
519
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_num2int'
520
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_str_new_cstr'
521
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `ruby_xmalloc'
522
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_warning'
523
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_exc_new2'
524
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_obj_is_kind_of'
525
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_define_alias'
526
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_ary_new'
527
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_obj_as_string'
528
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_eStandardError'
529
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_define_module_under'
530
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_define_module_function'
531
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_warn'
532
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_gc_mark'
533
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_int2big'
534
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_float_new'
535
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_data_object_alloc'
536
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_define_alloc_func'
537
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_ivar_get'
538
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_raise'
539
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_respond_to'
540
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_check_type'
541
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `ruby_xfree'
542
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `ruby_xmalloc2'
543
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_gc_unregister_address'
544
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_eArgError'
545
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_define_const'
546
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_ary_push'
547
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_cObject'
548
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_yield'
549
+ /usr/local/lib/ruby/gems/1.9.1/gems/libxml-ruby-1.1.4/lib/libxml_ruby.so: undefined reference to `rb_hash_tbl'
550
+ collect2: ld returned 1 exit status
551
+ checked program was:
552
+ /* begin */
553
+ 1: #include "ruby.h"
554
+ 2:
555
+ 3: /*top*/
556
+ 4: int main() {return 0;}
557
+ 5: int t() { rxml_document_wrap(); return 0; }
558
+ /* end */
559
+
560
+ --------------------
561
+
@@ -1,5 +1,5 @@
1
- #define RUBY_LIBXSLT_VERSION "0.9.7"
1
+ #define RUBY_LIBXSLT_VERSION "0.9.8"
2
2
  #define RUBY_LIBXSLT_VERNUM 0
3
3
  #define RUBY_LIBXSLT_VER_MAJ 0
4
4
  #define RUBY_LIBXSLT_VER_MIN 9
5
- #define RUBY_LIBXSLT_VER_MIC 7
5
+ #define RUBY_LIBXSLT_VER_MIC 8
@@ -0,0 +1,28 @@
1
+ # We can't use Ruby's standard build procedures
2
+ # on Windows because the Ruby executable is
3
+ # built with VC++ while here we want to build
4
+ # with MingW. So just roll our own...
5
+
6
+ require 'fileutils'
7
+ require 'rbconfig'
8
+
9
+ EXTENSION_NAME = "libxslt_ruby.#{Config::CONFIG["DLEXT"]}"
10
+
11
+ # This is called when the Windows GEM is installed!
12
+ task :install do
13
+ # Gems will pass these two environment variables:
14
+ # RUBYARCHDIR=#{dest_path}
15
+ # RUBYLIBDIR=#{dest_path}
16
+
17
+ dest_path = ENV['RUBYLIBDIR']
18
+
19
+ # Copy the extension
20
+ cp(EXTENSION_NAME, dest_path)
21
+
22
+ # Copy dllss
23
+ Dir.glob('*.dll').each do |dll|
24
+ cp(dll, dest_path)
25
+ end
26
+ end
27
+
28
+ task :default => :install
@@ -0,0 +1,100 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{libxslt-ruby19}
8
+ s.version = "0.9.8"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Maxime Picaud"]
12
+ s.date = %q{2011-01-19}
13
+ s.description = %q{libxslt-ruby for ruby 1.9}
14
+ s.email = %q{chokorp@gmail.com}
15
+ s.extensions = ["ext/libxslt/extconf.rb"]
16
+ s.extra_rdoc_files = [
17
+ "LICENSE",
18
+ "README.rdoc"
19
+ ]
20
+ s.files = [
21
+ ".document",
22
+ ".project",
23
+ "CHANGES",
24
+ "Gemfile",
25
+ "Gemfile.lock",
26
+ "LICENSE",
27
+ "README.rdoc",
28
+ "Rakefile",
29
+ "VERSION",
30
+ "ext/libxslt/Makefile",
31
+ "ext/libxslt/extconf.h",
32
+ "ext/libxslt/extconf.rb",
33
+ "ext/libxslt/gem_make.out",
34
+ "ext/libxslt/libxslt.c",
35
+ "ext/libxslt/libxslt.h",
36
+ "ext/libxslt/libxslt.o",
37
+ "ext/libxslt/mkmf.log",
38
+ "ext/libxslt/ruby_xslt_stylesheet.c",
39
+ "ext/libxslt/ruby_xslt_stylesheet.h",
40
+ "ext/libxslt/version.h",
41
+ "ext/mingw/Rakefile",
42
+ "ext/mingw/Rakefile3",
43
+ "ext/vc/libxslt_ruby.sln",
44
+ "ext/vc/libxslt_ruby.vcproj",
45
+ "lib/libxslt-ruby19.rb",
46
+ "lib/libxslt.rb",
47
+ "lib/libxslt/deprecated.rb",
48
+ "lib/xslt.rb",
49
+ "libxslt-ruby19.gemspec",
50
+ "setup.rb",
51
+ "test/files/commentary.dtd",
52
+ "test/files/fuzface.xml",
53
+ "test/files/fuzface.xsl",
54
+ "test/files/params.xml",
55
+ "test/files/params.xsl",
56
+ "test/files/ramblings.xsl",
57
+ "test/helper.rb",
58
+ "test/test_deprecated.rb",
59
+ "test/test_libxslt-ruby19.rb",
60
+ "test/test_libxslt.rb",
61
+ "test/test_stylesheet.rb",
62
+ "test/test_suite.rb"
63
+ ]
64
+ s.homepage = %q{http://github.com/chok/libxslt-ruby19}
65
+ s.licenses = ["MIT"]
66
+ s.require_paths = ["lib"]
67
+ s.rubygems_version = %q{1.3.7}
68
+ s.summary = %q{libxslt-ruby for ruby 1.9}
69
+ s.test_files = [
70
+ "test/helper.rb",
71
+ "test/test_deprecated.rb",
72
+ "test/test_libxslt-ruby19.rb",
73
+ "test/test_libxslt.rb",
74
+ "test/test_stylesheet.rb",
75
+ "test/test_suite.rb"
76
+ ]
77
+
78
+ if s.respond_to? :specification_version then
79
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
80
+ s.specification_version = 3
81
+
82
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
83
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
84
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
85
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
86
+ s.add_development_dependency(%q<rcov>, [">= 0"])
87
+ else
88
+ s.add_dependency(%q<shoulda>, [">= 0"])
89
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
90
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
91
+ s.add_dependency(%q<rcov>, [">= 0"])
92
+ end
93
+ else
94
+ s.add_dependency(%q<shoulda>, [">= 0"])
95
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
96
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
97
+ s.add_dependency(%q<rcov>, [">= 0"])
98
+ end
99
+ end
100
+
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 0
8
- - 0
9
- version: 0.0.0
7
+ - 9
8
+ - 8
9
+ version: 0.9.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - Maxime Picaud
@@ -81,18 +81,16 @@ extensions:
81
81
  - ext/libxslt/extconf.rb
82
82
  extra_rdoc_files:
83
83
  - LICENSE
84
- - LICENSE.txt
85
84
  - README.rdoc
86
85
  files:
87
86
  - .document
88
87
  - .project
89
88
  - CHANGES
90
89
  - Gemfile
90
+ - Gemfile.lock
91
91
  - LICENSE
92
- - LICENSE.txt
93
92
  - README.rdoc
94
93
  - Rakefile
95
- - Rakefile-jewel
96
94
  - VERSION
97
95
  - ext/libxslt/Makefile
98
96
  - ext/libxslt/extconf.h
@@ -106,12 +104,14 @@ files:
106
104
  - ext/libxslt/ruby_xslt_stylesheet.h
107
105
  - ext/libxslt/version.h
108
106
  - ext/mingw/Rakefile
107
+ - ext/mingw/Rakefile3
109
108
  - ext/vc/libxslt_ruby.sln
110
109
  - ext/vc/libxslt_ruby.vcproj
111
110
  - lib/libxslt-ruby19.rb
112
111
  - lib/libxslt.rb
113
112
  - lib/libxslt/deprecated.rb
114
113
  - lib/xslt.rb
114
+ - libxslt-ruby19.gemspec
115
115
  - setup.rb
116
116
  - test/files/commentary.dtd
117
117
  - test/files/fuzface.xml
@@ -139,7 +139,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
139
139
  requirements:
140
140
  - - ">="
141
141
  - !ruby/object:Gem::Version
142
- hash: 2674327448793896503
142
+ hash: 4315767338598879590
143
143
  segments:
144
144
  - 0
145
145
  version: "0"
data/LICENSE.txt DELETED
@@ -1,20 +0,0 @@
1
- Copyright (c) 2011 Maxime Picaud
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile-jewel DELETED
File without changes