libxslt-ruby19 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.document +5 -0
- data/.project +12 -0
- data/CHANGES +81 -0
- data/Gemfile +13 -0
- data/LICENSE +21 -0
- data/LICENSE.txt +20 -0
- data/README.rdoc +164 -0
- data/Rakefile +163 -0
- data/Rakefile-jewel +0 -0
- data/VERSION +1 -0
- data/ext/libxslt/Makefile +187 -0
- data/ext/libxslt/extconf.h +6 -0
- data/ext/libxslt/extconf.rb +134 -0
- data/ext/libxslt/gem_make.out +36 -0
- data/ext/libxslt/libxslt.c +66 -0
- data/ext/libxslt/libxslt.h +31 -0
- data/ext/libxslt/libxslt.o +0 -0
- data/ext/libxslt/mkmf.log +371 -0
- data/ext/libxslt/ruby_xslt_stylesheet.c +277 -0
- data/ext/libxslt/ruby_xslt_stylesheet.h +16 -0
- data/ext/libxslt/version.h +5 -0
- data/ext/mingw/Rakefile +28 -0
- data/ext/vc/libxslt_ruby.sln +26 -0
- data/ext/vc/libxslt_ruby.vcproj +224 -0
- data/lib/libxslt/deprecated.rb +67 -0
- data/lib/libxslt-ruby19.rb +0 -0
- data/lib/libxslt.rb +13 -0
- data/lib/xslt.rb +15 -0
- data/setup.rb +1585 -0
- data/test/files/commentary.dtd +34 -0
- data/test/files/fuzface.xml +154 -0
- data/test/files/fuzface.xsl +4 -0
- data/test/files/params.xml +2 -0
- data/test/files/params.xsl +11 -0
- data/test/files/ramblings.xsl +46 -0
- data/test/helper.rb +18 -0
- data/test/test_deprecated.rb +97 -0
- data/test/test_libxslt-ruby19.rb +7 -0
- data/test/test_libxslt.rb +21 -0
- data/test/test_stylesheet.rb +108 -0
- data/test/test_suite.rb +3 -0
- metadata +167 -0
@@ -0,0 +1,134 @@
|
|
1
|
+
#!/usr/local/bin/ruby -w
|
2
|
+
|
3
|
+
# $Id: extconf.rb 43 2007-12-07 12:38:59Z transami $
|
4
|
+
#
|
5
|
+
# See the LICENSE file for copyright and distribution information
|
6
|
+
|
7
|
+
require 'mkmf'
|
8
|
+
|
9
|
+
$preload = nil
|
10
|
+
$LIBPATH.push(Config::CONFIG['libdir'])
|
11
|
+
|
12
|
+
def crash(str)
|
13
|
+
print(" extconf failure: %s\n", str)
|
14
|
+
exit 1
|
15
|
+
end
|
16
|
+
|
17
|
+
require 'rubygems'
|
18
|
+
gem_specs = Gem::SourceIndex.from_installed_gems.search('libxml-ruby')
|
19
|
+
if gem_specs.empty?
|
20
|
+
crash(<<EOL)
|
21
|
+
libxml-ruby bindings must be installed
|
22
|
+
EOL
|
23
|
+
end
|
24
|
+
|
25
|
+
# Sort by version, newest first
|
26
|
+
gem_specs = gem_specs.sort_by {|spec| spec.version}.reverse
|
27
|
+
|
28
|
+
libxml_ruby_path = gem_specs.first.full_gem_path
|
29
|
+
|
30
|
+
$INCFLAGS += " -I#{libxml_ruby_path}/ext"
|
31
|
+
$LIBPATH.push("#{libxml_ruby_path}/lib")
|
32
|
+
|
33
|
+
# Directories
|
34
|
+
dir_config('xml2')
|
35
|
+
dir_config('xslt')
|
36
|
+
dir_config('exslt')
|
37
|
+
dir_config('libxml-ruby')
|
38
|
+
|
39
|
+
unless have_library('m', 'atan')
|
40
|
+
# try again for gcc 4.0
|
41
|
+
saveflags = $CFLAGS
|
42
|
+
$CFLAGS += ' -fno-builtin'
|
43
|
+
unless have_library('m', 'atan')
|
44
|
+
crash('need libm')
|
45
|
+
end
|
46
|
+
$CFLAGS = saveflags
|
47
|
+
end
|
48
|
+
|
49
|
+
unless have_library("z", "inflate")
|
50
|
+
crash("need zlib")
|
51
|
+
else
|
52
|
+
$defs.push('-DHAVE_ZLIB_H')
|
53
|
+
end
|
54
|
+
|
55
|
+
unless (have_library('xml2', 'xmlXPtrNewRange') or
|
56
|
+
find_library('xml2', 'xmlXPtrNewRange', '/opt/lib', '/usr/local/lib', '/usr/lib')) and
|
57
|
+
(have_header('libxml/xmlversion.h') or
|
58
|
+
find_header('libxml/xmlversion.h',
|
59
|
+
'/opt/include/libxml2',
|
60
|
+
'/usr/local/include/libxml2',
|
61
|
+
'/usr/include/libxml2'))
|
62
|
+
crash(<<EOL)
|
63
|
+
need libxml2.
|
64
|
+
|
65
|
+
Install the library or try one of the following options to extconf.rb:
|
66
|
+
|
67
|
+
--with-xml2-dir=/path/to/libxml2
|
68
|
+
--with-xml2-lib=/path/to/libxml2/lib
|
69
|
+
--with-xml2-include=/path/to/libxml2/include
|
70
|
+
EOL
|
71
|
+
end
|
72
|
+
|
73
|
+
unless (have_library('xslt','xsltApplyStylesheet') or
|
74
|
+
find_library('xslt', 'xsltApplyStylesheet', '/opt/lib', '/usr/local/lib', '/usr/lib')) and
|
75
|
+
(have_header('xslt.h') or
|
76
|
+
find_header('xslt.h',
|
77
|
+
'/opt/include/libxslt',
|
78
|
+
'/usr/local/include/libxslt',
|
79
|
+
'/usr/include/libxslt'))
|
80
|
+
crash(<<EOL)
|
81
|
+
need libxslt.
|
82
|
+
|
83
|
+
Install the library or try one of the following options to extconf.rb:
|
84
|
+
|
85
|
+
--with-xslt-dir=/path/to/libxslt
|
86
|
+
--with-xslt-lib=/path/to/libxslt/lib
|
87
|
+
--with-xslt-include=/path/to/libxslt/include
|
88
|
+
EOL
|
89
|
+
end
|
90
|
+
|
91
|
+
unless (have_library('exslt','exsltLibexsltVersion') or
|
92
|
+
find_library('exslt', 'exsltLibexsltVersion', '/opt/lib', '/usr/local/lib', '/usr/lib')) and
|
93
|
+
(have_header('exslt.h') or
|
94
|
+
find_header('exslt.h',
|
95
|
+
'/opt/include/libexslt',
|
96
|
+
'/usr/local/include/libexslt',
|
97
|
+
'/usr/include/libexslt'))
|
98
|
+
crash(<<EOL)
|
99
|
+
need libexslt.
|
100
|
+
|
101
|
+
Install the library or try one of the following options to extconf.rb:
|
102
|
+
|
103
|
+
--with-exslt-dir=/path/to/libexslt
|
104
|
+
--with-exslt-lib=/path/to/libexslt/lib
|
105
|
+
--with-exslt-include=/path/to/libexslt/include
|
106
|
+
EOL
|
107
|
+
end
|
108
|
+
|
109
|
+
unless have_header('libxml/ruby_libxml.h') and
|
110
|
+
have_header('libxml/ruby_xml_document.h')
|
111
|
+
crash(<<EOL)
|
112
|
+
need headers for libxml-ruby.
|
113
|
+
|
114
|
+
If you downloaded a release, this is a bug - please inform
|
115
|
+
libxml-devel@rubyforge.org including the release version and
|
116
|
+
download URL you obtained it from.
|
117
|
+
|
118
|
+
If you checked libxslt-ruby out from CVS, you will need to
|
119
|
+
obtain the headers from CVS (using the same version tag if
|
120
|
+
applicable) and place them in directory 'ext/xml/libxml-ruby'.
|
121
|
+
EOL
|
122
|
+
end
|
123
|
+
|
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
|
132
|
+
|
133
|
+
create_header()
|
134
|
+
create_makefile("libxslt_ruby")
|
@@ -0,0 +1,36 @@
|
|
1
|
+
/usr/local/bin/ruby extconf.rb
|
2
|
+
extconf.rb:18:Warning: Gem::SourceIndex#search support for String patterns is deprecated, use #find_name
|
3
|
+
checking for atan() in -lm... no
|
4
|
+
checking for atan() in -lm... yes
|
5
|
+
checking for inflate() in -lz... yes
|
6
|
+
checking for xmlXPtrNewRange() in -lxml2... yes
|
7
|
+
checking for libxml/xmlversion.h... no
|
8
|
+
checking for libxml/xmlversion.h in /opt/include/libxml2,/usr/local/include/libxml2,/usr/include/libxml2... yes
|
9
|
+
checking for xsltApplyStylesheet() in -lxslt... yes
|
10
|
+
checking for xslt.h... no
|
11
|
+
checking for xslt.h in /opt/include/libxslt,/usr/local/include/libxslt,/usr/include/libxslt... yes
|
12
|
+
checking for exsltLibexsltVersion() in -lexslt... yes
|
13
|
+
checking for exslt.h... no
|
14
|
+
checking for exslt.h in /opt/include/libexslt,/usr/local/include/libexslt,/usr/include/libexslt... yes
|
15
|
+
checking for libxml/ruby_libxml.h... yes
|
16
|
+
checking for libxml/ruby_xml_document.h... yes
|
17
|
+
creating extconf.h
|
18
|
+
creating Makefile
|
19
|
+
|
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
|
@@ -0,0 +1,66 @@
|
|
1
|
+
/* $Id: libxslt.c 42 2007-12-07 06:09:35Z transami $ */
|
2
|
+
|
3
|
+
/* Please see the LICENSE file for copyright and distribution information */
|
4
|
+
|
5
|
+
#include "libxslt.h"
|
6
|
+
#include "libxml/xmlversion.h"
|
7
|
+
|
8
|
+
VALUE cLibXSLT;
|
9
|
+
VALUE cXSLT;
|
10
|
+
VALUE eXSLTError;
|
11
|
+
|
12
|
+
/*
|
13
|
+
* Document-class: LibXSLT::XSLT
|
14
|
+
*
|
15
|
+
* The libxslt gem provides Ruby language bindings for GNOME's Libxslt
|
16
|
+
* toolkit. It is free software, released under the MIT License.
|
17
|
+
*
|
18
|
+
* Using the bindings is straightforward:
|
19
|
+
*
|
20
|
+
* stylesheet_doc = XML::Document.file('stylesheet_file')
|
21
|
+
* stylesheet = XSLT::Stylesheet.new(stylesheet_doc)
|
22
|
+
*
|
23
|
+
* xml_doc = XML::Document.file('xml_file')
|
24
|
+
* result = stylesheet.apply(xml_doc)
|
25
|
+
*
|
26
|
+
*
|
27
|
+
*/
|
28
|
+
|
29
|
+
#ifdef RDOC_NEVER_DEFINED
|
30
|
+
cLibXSLT = rb_define_module("XSLT");
|
31
|
+
#endif
|
32
|
+
|
33
|
+
|
34
|
+
#if defined(_WIN32)
|
35
|
+
__declspec(dllexport)
|
36
|
+
#endif
|
37
|
+
|
38
|
+
void
|
39
|
+
Init_libxslt_ruby(void) {
|
40
|
+
LIBXML_TEST_VERSION;
|
41
|
+
|
42
|
+
cLibXSLT = rb_define_module("LibXSLT");
|
43
|
+
cXSLT = rb_define_module_under(cLibXSLT, "XSLT");
|
44
|
+
|
45
|
+
rb_define_const(cXSLT, "MAX_DEPTH", INT2NUM(xsltMaxDepth));
|
46
|
+
rb_define_const(cXSLT, "MAX_SORT", INT2NUM(XSLT_MAX_SORT));
|
47
|
+
rb_define_const(cXSLT, "ENGINE_VERSION", rb_str_new2(xsltEngineVersion));
|
48
|
+
rb_define_const(cXSLT, "LIBXSLT_VERSION", INT2NUM(xsltLibxsltVersion));
|
49
|
+
rb_define_const(cXSLT, "LIBXML_VERSION", INT2NUM(xsltLibxmlVersion));
|
50
|
+
rb_define_const(cXSLT, "XSLT_NAMESPACE", rb_str_new2((const char*)XSLT_NAMESPACE));
|
51
|
+
rb_define_const(cXSLT, "DEFAULT_VENDOR", rb_str_new2(XSLT_DEFAULT_VENDOR));
|
52
|
+
rb_define_const(cXSLT, "DEFAULT_VERSION", rb_str_new2(XSLT_DEFAULT_VERSION));
|
53
|
+
rb_define_const(cXSLT, "DEFAULT_URL", rb_str_new2(XSLT_DEFAULT_URL));
|
54
|
+
rb_define_const(cXSLT, "NAMESPACE_LIBXSLT", rb_str_new2((const char*)XSLT_LIBXSLT_NAMESPACE));
|
55
|
+
rb_define_const(cXSLT, "NAMESPACE_NORM_SAXON", rb_str_new2((const char*)XSLT_NORM_SAXON_NAMESPACE));
|
56
|
+
rb_define_const(cXSLT, "NAMESPACE_SAXON", rb_str_new2((const char*)XSLT_SAXON_NAMESPACE));
|
57
|
+
rb_define_const(cXSLT, "NAMESPACE_XT", rb_str_new2((const char*)XSLT_XT_NAMESPACE));
|
58
|
+
rb_define_const(cXSLT, "NAMESPACE_XALAN", rb_str_new2((const char*)XSLT_XALAN_NAMESPACE));
|
59
|
+
|
60
|
+
eXSLTError = rb_define_class_under(cLibXSLT, "XSLTError", rb_eRuntimeError);
|
61
|
+
|
62
|
+
ruby_init_xslt_stylesheet();
|
63
|
+
|
64
|
+
/* Now load exslt. */
|
65
|
+
exsltRegisterAll();
|
66
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
/* $Id: libxslt.h 43 2007-12-07 12:38:59Z transami $ */
|
2
|
+
|
3
|
+
/* Please see the LICENSE file for copyright and distribution information */
|
4
|
+
|
5
|
+
#ifndef __RUBY_LIBXSLT_H__
|
6
|
+
#define __RUBY_LIBXSLT_H__
|
7
|
+
|
8
|
+
#include <ruby.h>
|
9
|
+
#include <rubyio.h>
|
10
|
+
#include <libxml/parser.h>
|
11
|
+
#include <libxml/debugXML.h>
|
12
|
+
#include <libxslt/extra.h>
|
13
|
+
#include <libxslt/xslt.h>
|
14
|
+
#include <libxslt/xsltInternals.h>
|
15
|
+
#include <libxslt/transform.h>
|
16
|
+
#include <libxslt/xsltutils.h>
|
17
|
+
#include <libexslt/exslt.h>
|
18
|
+
|
19
|
+
#include "ruby_xslt_stylesheet.h"
|
20
|
+
|
21
|
+
#include "version.h"
|
22
|
+
|
23
|
+
/*#if ((RUBY_LIBXML_VER_MAJ != RUBY_LIBXSLT_VER_MAJ) || (RUBY_LIBXML_VER_MIN != RUBY_LIBXSLT_VER_MIN))
|
24
|
+
#error "Incompatible LibXML-Ruby headers - please install same major/micro version"
|
25
|
+
#endif*/
|
26
|
+
|
27
|
+
extern VALUE cLibXSLT;
|
28
|
+
extern VALUE cXSLT;
|
29
|
+
extern VALUE eXSLTError;
|
30
|
+
|
31
|
+
#endif
|
Binary file
|
@@ -0,0 +1,371 @@
|
|
1
|
+
have_library: checking for atan() in -lm... -------------------- no
|
2
|
+
|
3
|
+
"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 -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 -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lpthread -lrt -ldl -lcrypt -lm -lc"
|
4
|
+
checked program was:
|
5
|
+
/* begin */
|
6
|
+
1: #include "ruby.h"
|
7
|
+
2:
|
8
|
+
3: int main() {return 0;}
|
9
|
+
/* end */
|
10
|
+
|
11
|
+
"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 -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 -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lm -lpthread -lrt -ldl -lcrypt -lm -lc"
|
12
|
+
conftest.c: In function ‘t’:
|
13
|
+
conftest.c:5: error: ‘atan’ undeclared (first use in this function)
|
14
|
+
conftest.c:5: error: (Each undeclared identifier is reported only once
|
15
|
+
conftest.c:5: error: for each function it appears in.)
|
16
|
+
checked program was:
|
17
|
+
/* begin */
|
18
|
+
1: #include "ruby.h"
|
19
|
+
2:
|
20
|
+
3: /*top*/
|
21
|
+
4: int main() {return 0;}
|
22
|
+
5: int t() { void ((*volatile p)()); p = (void ((*)()))atan; return 0; }
|
23
|
+
/* end */
|
24
|
+
|
25
|
+
"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 -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 -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lm -lpthread -lrt -ldl -lcrypt -lm -lc"
|
26
|
+
conftest.c: In function ‘t’:
|
27
|
+
conftest.c:5: warning: incompatible implicit declaration of built-in function ‘atan’
|
28
|
+
conftest.c:5: error: too few arguments to function ‘atan’
|
29
|
+
checked program was:
|
30
|
+
/* begin */
|
31
|
+
1: #include "ruby.h"
|
32
|
+
2:
|
33
|
+
3: /*top*/
|
34
|
+
4: int main() {return 0;}
|
35
|
+
5: int t() { atan(); return 0; }
|
36
|
+
/* end */
|
37
|
+
|
38
|
+
--------------------
|
39
|
+
|
40
|
+
have_library: checking for atan() in -lm... -------------------- yes
|
41
|
+
|
42
|
+
"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 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fno-builtin 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 -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lm -lpthread -lrt -ldl -lcrypt -lm -lc"
|
43
|
+
conftest.c: In function ‘t’:
|
44
|
+
conftest.c:5: error: ‘atan’ undeclared (first use in this function)
|
45
|
+
conftest.c:5: error: (Each undeclared identifier is reported only once
|
46
|
+
conftest.c:5: error: for each function it appears in.)
|
47
|
+
checked program was:
|
48
|
+
/* begin */
|
49
|
+
1: #include "ruby.h"
|
50
|
+
2:
|
51
|
+
3: /*top*/
|
52
|
+
4: int main() {return 0;}
|
53
|
+
5: int t() { void ((*volatile p)()); p = (void ((*)()))atan; return 0; }
|
54
|
+
/* end */
|
55
|
+
|
56
|
+
"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 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fno-builtin 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 -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lm -lpthread -lrt -ldl -lcrypt -lm -lc"
|
57
|
+
checked program was:
|
58
|
+
/* begin */
|
59
|
+
1: #include "ruby.h"
|
60
|
+
2:
|
61
|
+
3: /*top*/
|
62
|
+
4: int main() {return 0;}
|
63
|
+
5: int t() { atan(); return 0; }
|
64
|
+
/* end */
|
65
|
+
|
66
|
+
--------------------
|
67
|
+
|
68
|
+
have_library: checking for inflate() in -lz... -------------------- yes
|
69
|
+
|
70
|
+
"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 -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 -lm -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lz -lm -lpthread -lrt -ldl -lcrypt -lm -lc"
|
71
|
+
conftest.c: In function ‘t’:
|
72
|
+
conftest.c:5: error: ‘inflate’ undeclared (first use in this function)
|
73
|
+
conftest.c:5: error: (Each undeclared identifier is reported only once
|
74
|
+
conftest.c:5: error: for each function it appears in.)
|
75
|
+
checked program was:
|
76
|
+
/* begin */
|
77
|
+
1: #include "ruby.h"
|
78
|
+
2:
|
79
|
+
3: /*top*/
|
80
|
+
4: int main() {return 0;}
|
81
|
+
5: int t() { void ((*volatile p)()); p = (void ((*)()))inflate; return 0; }
|
82
|
+
/* end */
|
83
|
+
|
84
|
+
"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 -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 -lm -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lz -lm -lpthread -lrt -ldl -lcrypt -lm -lc"
|
85
|
+
checked program was:
|
86
|
+
/* begin */
|
87
|
+
1: #include "ruby.h"
|
88
|
+
2:
|
89
|
+
3: /*top*/
|
90
|
+
4: int main() {return 0;}
|
91
|
+
5: int t() { inflate(); return 0; }
|
92
|
+
/* end */
|
93
|
+
|
94
|
+
--------------------
|
95
|
+
|
96
|
+
have_library: checking for xmlXPtrNewRange() in -lxml2... -------------------- yes
|
97
|
+
|
98
|
+
"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 -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 -lz -lm -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lxml2 -lz -lm -lpthread -lrt -ldl -lcrypt -lm -lc"
|
99
|
+
conftest.c: In function ‘t’:
|
100
|
+
conftest.c:5: error: ‘xmlXPtrNewRange’ undeclared (first use in this function)
|
101
|
+
conftest.c:5: error: (Each undeclared identifier is reported only once
|
102
|
+
conftest.c:5: error: for each function it appears in.)
|
103
|
+
checked program was:
|
104
|
+
/* begin */
|
105
|
+
1: #include "ruby.h"
|
106
|
+
2:
|
107
|
+
3: /*top*/
|
108
|
+
4: int main() {return 0;}
|
109
|
+
5: int t() { void ((*volatile p)()); p = (void ((*)()))xmlXPtrNewRange; return 0; }
|
110
|
+
/* end */
|
111
|
+
|
112
|
+
"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 -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 -lz -lm -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lxml2 -lz -lm -lpthread -lrt -ldl -lcrypt -lm -lc"
|
113
|
+
checked program was:
|
114
|
+
/* begin */
|
115
|
+
1: #include "ruby.h"
|
116
|
+
2:
|
117
|
+
3: /*top*/
|
118
|
+
4: int main() {return 0;}
|
119
|
+
5: int t() { xmlXPtrNewRange(); return 0; }
|
120
|
+
/* end */
|
121
|
+
|
122
|
+
--------------------
|
123
|
+
|
124
|
+
have_header: checking for libxml/xmlversion.h... -------------------- no
|
125
|
+
|
126
|
+
"gcc -E -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 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long conftest.c -o conftest.i"
|
127
|
+
conftest.c:3: fatal error: libxml/xmlversion.h: Aucun fichier ou dossier de ce type
|
128
|
+
compilation terminated.
|
129
|
+
checked program was:
|
130
|
+
/* begin */
|
131
|
+
1: #include "ruby.h"
|
132
|
+
2:
|
133
|
+
3: #include <libxml/xmlversion.h>
|
134
|
+
/* end */
|
135
|
+
|
136
|
+
--------------------
|
137
|
+
|
138
|
+
find_header: checking for libxml/xmlversion.h in /opt/include/libxml2,/usr/local/include/libxml2,/usr/include/libxml2... -------------------- yes
|
139
|
+
|
140
|
+
"gcc -E -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 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long conftest.c -o conftest.i"
|
141
|
+
conftest.c:3: fatal error: libxml/xmlversion.h: Aucun fichier ou dossier de ce type
|
142
|
+
compilation terminated.
|
143
|
+
checked program was:
|
144
|
+
/* begin */
|
145
|
+
1: #include "ruby.h"
|
146
|
+
2:
|
147
|
+
3: #include <libxml/xmlversion.h>
|
148
|
+
/* end */
|
149
|
+
|
150
|
+
"gcc -E -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 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -I/opt/include/libxml2 conftest.c -o conftest.i"
|
151
|
+
conftest.c:3: fatal error: libxml/xmlversion.h: Aucun fichier ou dossier de ce type
|
152
|
+
compilation terminated.
|
153
|
+
checked program was:
|
154
|
+
/* begin */
|
155
|
+
1: #include "ruby.h"
|
156
|
+
2:
|
157
|
+
3: #include <libxml/xmlversion.h>
|
158
|
+
/* end */
|
159
|
+
|
160
|
+
"gcc -E -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 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -I/usr/local/include/libxml2 conftest.c -o conftest.i"
|
161
|
+
conftest.c:3: fatal error: libxml/xmlversion.h: Aucun fichier ou dossier de ce type
|
162
|
+
compilation terminated.
|
163
|
+
checked program was:
|
164
|
+
/* begin */
|
165
|
+
1: #include "ruby.h"
|
166
|
+
2:
|
167
|
+
3: #include <libxml/xmlversion.h>
|
168
|
+
/* end */
|
169
|
+
|
170
|
+
"gcc -E -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 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -I/usr/include/libxml2 conftest.c -o conftest.i"
|
171
|
+
checked program was:
|
172
|
+
/* begin */
|
173
|
+
1: #include "ruby.h"
|
174
|
+
2:
|
175
|
+
3: #include <libxml/xmlversion.h>
|
176
|
+
/* end */
|
177
|
+
|
178
|
+
--------------------
|
179
|
+
|
180
|
+
have_library: checking for xsltApplyStylesheet() in -lxslt... -------------------- yes
|
181
|
+
|
182
|
+
"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 -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 -lxml2 -lz -lm -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lxslt -lxml2 -lz -lm -lpthread -lrt -ldl -lcrypt -lm -lc"
|
183
|
+
conftest.c: In function ‘t’:
|
184
|
+
conftest.c:5: error: ‘xsltApplyStylesheet’ undeclared (first use in this function)
|
185
|
+
conftest.c:5: error: (Each undeclared identifier is reported only once
|
186
|
+
conftest.c:5: error: for each function it appears in.)
|
187
|
+
checked program was:
|
188
|
+
/* begin */
|
189
|
+
1: #include "ruby.h"
|
190
|
+
2:
|
191
|
+
3: /*top*/
|
192
|
+
4: int main() {return 0;}
|
193
|
+
5: int t() { void ((*volatile p)()); p = (void ((*)()))xsltApplyStylesheet; return 0; }
|
194
|
+
/* end */
|
195
|
+
|
196
|
+
"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 -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 -lxml2 -lz -lm -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lxslt -lxml2 -lz -lm -lpthread -lrt -ldl -lcrypt -lm -lc"
|
197
|
+
checked program was:
|
198
|
+
/* begin */
|
199
|
+
1: #include "ruby.h"
|
200
|
+
2:
|
201
|
+
3: /*top*/
|
202
|
+
4: int main() {return 0;}
|
203
|
+
5: int t() { xsltApplyStylesheet(); return 0; }
|
204
|
+
/* end */
|
205
|
+
|
206
|
+
--------------------
|
207
|
+
|
208
|
+
have_header: checking for xslt.h... -------------------- no
|
209
|
+
|
210
|
+
"gcc -E -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 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long conftest.c -o conftest.i"
|
211
|
+
conftest.c:3: fatal error: xslt.h: Aucun fichier ou dossier de ce type
|
212
|
+
compilation terminated.
|
213
|
+
checked program was:
|
214
|
+
/* begin */
|
215
|
+
1: #include "ruby.h"
|
216
|
+
2:
|
217
|
+
3: #include <xslt.h>
|
218
|
+
/* end */
|
219
|
+
|
220
|
+
--------------------
|
221
|
+
|
222
|
+
find_header: checking for xslt.h in /opt/include/libxslt,/usr/local/include/libxslt,/usr/include/libxslt... -------------------- yes
|
223
|
+
|
224
|
+
"gcc -E -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 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long conftest.c -o conftest.i"
|
225
|
+
conftest.c:3: fatal error: xslt.h: Aucun fichier ou dossier de ce type
|
226
|
+
compilation terminated.
|
227
|
+
checked program was:
|
228
|
+
/* begin */
|
229
|
+
1: #include "ruby.h"
|
230
|
+
2:
|
231
|
+
3: #include <xslt.h>
|
232
|
+
/* end */
|
233
|
+
|
234
|
+
"gcc -E -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 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -I/opt/include/libxslt conftest.c -o conftest.i"
|
235
|
+
conftest.c:3: fatal error: xslt.h: Aucun fichier ou dossier de ce type
|
236
|
+
compilation terminated.
|
237
|
+
checked program was:
|
238
|
+
/* begin */
|
239
|
+
1: #include "ruby.h"
|
240
|
+
2:
|
241
|
+
3: #include <xslt.h>
|
242
|
+
/* end */
|
243
|
+
|
244
|
+
"gcc -E -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 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -I/usr/local/include/libxslt conftest.c -o conftest.i"
|
245
|
+
conftest.c:3: fatal error: xslt.h: Aucun fichier ou dossier de ce type
|
246
|
+
compilation terminated.
|
247
|
+
checked program was:
|
248
|
+
/* begin */
|
249
|
+
1: #include "ruby.h"
|
250
|
+
2:
|
251
|
+
3: #include <xslt.h>
|
252
|
+
/* end */
|
253
|
+
|
254
|
+
"gcc -E -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 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -I/usr/include/libxslt conftest.c -o conftest.i"
|
255
|
+
checked program was:
|
256
|
+
/* begin */
|
257
|
+
1: #include "ruby.h"
|
258
|
+
2:
|
259
|
+
3: #include <xslt.h>
|
260
|
+
/* end */
|
261
|
+
|
262
|
+
--------------------
|
263
|
+
|
264
|
+
have_library: checking for exsltLibexsltVersion() in -lexslt... -------------------- yes
|
265
|
+
|
266
|
+
"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 -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 -lxslt -lxml2 -lz -lm -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lexslt -lxslt -lxml2 -lz -lm -lpthread -lrt -ldl -lcrypt -lm -lc"
|
267
|
+
conftest.c: In function ‘t’:
|
268
|
+
conftest.c:5: error: ‘exsltLibexsltVersion’ undeclared (first use in this function)
|
269
|
+
conftest.c:5: error: (Each undeclared identifier is reported only once
|
270
|
+
conftest.c:5: error: for each function it appears in.)
|
271
|
+
checked program was:
|
272
|
+
/* begin */
|
273
|
+
1: #include "ruby.h"
|
274
|
+
2:
|
275
|
+
3: /*top*/
|
276
|
+
4: int main() {return 0;}
|
277
|
+
5: int t() { void ((*volatile p)()); p = (void ((*)()))exsltLibexsltVersion; return 0; }
|
278
|
+
/* end */
|
279
|
+
|
280
|
+
"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 -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 -lxslt -lxml2 -lz -lm -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lexslt -lxslt -lxml2 -lz -lm -lpthread -lrt -ldl -lcrypt -lm -lc"
|
281
|
+
checked program was:
|
282
|
+
/* begin */
|
283
|
+
1: #include "ruby.h"
|
284
|
+
2:
|
285
|
+
3: /*top*/
|
286
|
+
4: int main() {return 0;}
|
287
|
+
5: int t() { exsltLibexsltVersion(); return 0; }
|
288
|
+
/* end */
|
289
|
+
|
290
|
+
--------------------
|
291
|
+
|
292
|
+
have_header: checking for exslt.h... -------------------- no
|
293
|
+
|
294
|
+
"gcc -E -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 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long conftest.c -o conftest.i"
|
295
|
+
conftest.c:3: fatal error: exslt.h: Aucun fichier ou dossier de ce type
|
296
|
+
compilation terminated.
|
297
|
+
checked program was:
|
298
|
+
/* begin */
|
299
|
+
1: #include "ruby.h"
|
300
|
+
2:
|
301
|
+
3: #include <exslt.h>
|
302
|
+
/* end */
|
303
|
+
|
304
|
+
--------------------
|
305
|
+
|
306
|
+
find_header: checking for exslt.h in /opt/include/libexslt,/usr/local/include/libexslt,/usr/include/libexslt... -------------------- yes
|
307
|
+
|
308
|
+
"gcc -E -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 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long conftest.c -o conftest.i"
|
309
|
+
conftest.c:3: fatal error: exslt.h: Aucun fichier ou dossier de ce type
|
310
|
+
compilation terminated.
|
311
|
+
checked program was:
|
312
|
+
/* begin */
|
313
|
+
1: #include "ruby.h"
|
314
|
+
2:
|
315
|
+
3: #include <exslt.h>
|
316
|
+
/* end */
|
317
|
+
|
318
|
+
"gcc -E -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 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -I/opt/include/libexslt conftest.c -o conftest.i"
|
319
|
+
conftest.c:3: fatal error: exslt.h: Aucun fichier ou dossier de ce type
|
320
|
+
compilation terminated.
|
321
|
+
checked program was:
|
322
|
+
/* begin */
|
323
|
+
1: #include "ruby.h"
|
324
|
+
2:
|
325
|
+
3: #include <exslt.h>
|
326
|
+
/* end */
|
327
|
+
|
328
|
+
"gcc -E -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 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -I/usr/local/include/libexslt conftest.c -o conftest.i"
|
329
|
+
conftest.c:3: fatal error: exslt.h: Aucun fichier ou dossier de ce type
|
330
|
+
compilation terminated.
|
331
|
+
checked program was:
|
332
|
+
/* begin */
|
333
|
+
1: #include "ruby.h"
|
334
|
+
2:
|
335
|
+
3: #include <exslt.h>
|
336
|
+
/* end */
|
337
|
+
|
338
|
+
"gcc -E -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 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -I/usr/include/libexslt conftest.c -o conftest.i"
|
339
|
+
checked program was:
|
340
|
+
/* begin */
|
341
|
+
1: #include "ruby.h"
|
342
|
+
2:
|
343
|
+
3: #include <exslt.h>
|
344
|
+
/* end */
|
345
|
+
|
346
|
+
--------------------
|
347
|
+
|
348
|
+
have_header: checking for libxml/ruby_libxml.h... -------------------- yes
|
349
|
+
|
350
|
+
"gcc -E -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 -o conftest.i"
|
351
|
+
checked program was:
|
352
|
+
/* begin */
|
353
|
+
1: #include "ruby.h"
|
354
|
+
2:
|
355
|
+
3: #include <libxml/ruby_libxml.h>
|
356
|
+
/* end */
|
357
|
+
|
358
|
+
--------------------
|
359
|
+
|
360
|
+
have_header: checking for libxml/ruby_xml_document.h... -------------------- yes
|
361
|
+
|
362
|
+
"gcc -E -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 -o conftest.i"
|
363
|
+
checked program was:
|
364
|
+
/* begin */
|
365
|
+
1: #include "ruby.h"
|
366
|
+
2:
|
367
|
+
3: #include <libxml/ruby_xml_document.h>
|
368
|
+
/* end */
|
369
|
+
|
370
|
+
--------------------
|
371
|
+
|