Skip to content

Instantly share code, notes, and snippets.

@53cr
Created February 9, 2009 22:01
Show Gist options
  • Save 53cr/61050 to your computer and use it in GitHub Desktop.
Save 53cr/61050 to your computer and use it in GitHub Desktop.
~ % sudo gem1.9 install rubyosa burke@wi-open-436 (15:58)
Building native extensions. This could take a while...
ERROR: Error installing rubyosa:
ERROR: Failed to build gem native extension.
/opt/local/bin/ruby1.9 extconf.rb install rubyosa
checking for socket() in -lsocket... no
checking for gethostbyname() in -lnsl... no
checking for atan() in -lm... no
checking for atan() in -lm... yes
checking for inflate() in -lz... yes
checking for iconv_open() in -liconv... no
checking for libiconv_open() in -liconv... yes
checking for xmlParseDoc() in -lxml2... yes
checking for libxml/xmlversion.h... no
checking for libxml/xmlversion.h in /opt/local/include,/opt/local/include/libxml2,/opt/include/libxml2,/usr/local/include/libxml2,/usr/include/libxml2... yes
checking for xmlDocFormatDump()... yes
checking for docbCreateFileParserCtxt()... yes
creating extconf.h
creating Makefile
make
/usr/bin/gcc-4.0 -I. -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -o cbg.o -c cbg.c
In file included from ruby_libxml.h:9,
from cbg.c:1:
/opt/local/include/ruby1.9-1.9.1/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h"
/usr/bin/gcc-4.0 -I. -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -o libxml.o -c libxml.c
In file included from ruby_libxml.h:9,
from libxml.c:5:
/opt/local/include/ruby1.9-1.9.1/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h"
libxml.c: In function ‘rxml_default_tree_indent_string_set’:
libxml.c:567: warning: pointer targets in assignment differ in signedness
/usr/bin/gcc-4.0 -I. -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -o ruby_xml_attr.o -c ruby_xml_attr.c
In file included from ruby_libxml.h:9,
from ruby_xml_attr.c:21:
/opt/local/include/ruby1.9-1.9.1/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h"
/usr/bin/gcc-4.0 -I. -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -o ruby_xml_attr_decl.o -c ruby_xml_attr_decl.c
In file included from ruby_libxml.h:9,
from ruby_xml_attr_decl.c:14:
/opt/local/include/ruby1.9-1.9.1/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h"
/usr/bin/gcc-4.0 -I. -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -o ruby_xml_attributes.o -c ruby_xml_attributes.c
In file included from ruby_libxml.h:9,
from ruby_xml_attributes.c:32:
/opt/local/include/ruby1.9-1.9.1/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h"
/usr/bin/gcc-4.0 -I. -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -o ruby_xml_document.o -c ruby_xml_document.c
In file included from ruby_xml_document.c:56:
/opt/local/include/ruby1.9-1.9.1/ruby/backward/st.h:2:2: warning: #warning use "ruby/st.h" instead of bare "st.h"
In file included from ruby_libxml.h:9,
from ruby_xml_document.c:57:
/opt/local/include/ruby1.9-1.9.1/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h"
ruby_xml_document.c: In function ‘rxml_document_encoding_get’:
ruby_xml_document.c:301: warning: pointer targets in passing argument 1 of ‘xmlParseCharEncoding’ differ in signedness
ruby_xml_document.c: In function ‘rxml_document_save’:
ruby_xml_document.c:545: warning: pointer targets in assignment differ in signedness
/usr/bin/gcc-4.0 -I. -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -o ruby_xml_dtd.o -c ruby_xml_dtd.c
In file included from ruby_libxml.h:9,
from ruby_xml_dtd.c:1:
/opt/local/include/ruby1.9-1.9.1/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h"
/usr/bin/gcc-4.0 -I. -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -o ruby_xml_encoding.o -c ruby_xml_encoding.c
In file included from ruby_libxml.h:9,
from ruby_xml_encoding.c:6:
/opt/local/include/ruby1.9-1.9.1/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h"
/usr/bin/gcc-4.0 -I. -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -o ruby_xml_error.o -c ruby_xml_error.c
In file included from ruby_libxml.h:9,
from ruby_xml_error.c:1:
/opt/local/include/ruby1.9-1.9.1/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h"
/usr/bin/gcc-4.0 -I. -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -o ruby_xml_html_parser.o -c ruby_xml_html_parser.c
In file included from ruby_libxml.h:9,
from ruby_xml_html_parser.c:5:
/opt/local/include/ruby1.9-1.9.1/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h"
/usr/bin/gcc-4.0 -I. -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -o ruby_xml_html_parser_context.o -c ruby_xml_html_parser_context.c
In file included from ruby_libxml.h:9,
from ruby_xml_html_parser_context.c:5:
/opt/local/include/ruby1.9-1.9.1/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h"
/usr/bin/gcc-4.0 -I. -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -o ruby_xml_html_parser_options.o -c ruby_xml_html_parser_options.c
In file included from ruby_libxml.h:9,
from ruby_xml_html_parser_options.c:5:
/opt/local/include/ruby1.9-1.9.1/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h"
/usr/bin/gcc-4.0 -I. -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -o ruby_xml_input_cbg.o -c ruby_xml_input_cbg.c
In file included from ruby_libxml.h:9,
from ruby_xml_input_cbg.c:3:
/opt/local/include/ruby1.9-1.9.1/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h"
/usr/bin/gcc-4.0 -I. -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -o ruby_xml_io.o -c ruby_xml_io.c
In file included from ruby_libxml.h:9,
from ruby_xml_io.c:5:
/opt/local/include/ruby1.9-1.9.1/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h"
/usr/bin/gcc-4.0 -I. -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -o ruby_xml_namespace.o -c ruby_xml_namespace.c
In file included from ruby_libxml.h:9,
from ruby_xml_namespace.c:5:
/opt/local/include/ruby1.9-1.9.1/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h"
/usr/bin/gcc-4.0 -I. -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -o ruby_xml_namespaces.o -c ruby_xml_namespaces.c
In file included from ruby_libxml.h:9,
from ruby_xml_namespaces.c:5:
/opt/local/include/ruby1.9-1.9.1/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h"
/usr/bin/gcc-4.0 -I. -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O2 -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -I/opt/local/include/ruby1.9-1.9.1/i386-darwin9 -I/opt/local/include/ruby1.9-1.9.1/ruby/backward -I/opt/local/include/ruby1.9-1.9.1 -I. -I/opt/local/include/libxml2 -I/usr/local/include -o ruby_xml_node.o -c ruby_xml_node.c
In file included from ruby_libxml.h:9,
from ruby_xml_node.c:1:
/opt/local/include/ruby1.9-1.9.1/ruby/backward/rubyio.h:2:2: warning: #warning use "ruby/io.h" instead of "rubyio.h"
ruby_xml_node.c: In function ‘rxml_constant_stringref’:
ruby_xml_node.c:1248: error: invalid lvalue in assignment
ruby_xml_node.c:1248: error: invalid lvalue in assignment
ruby_xml_node.c:1248: error: invalid lvalue in assignment
ruby_xml_node.c:1249: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
ruby_xml_node.c:1249: error: invalid lvalue in assignment
ruby_xml_node.c:1249: error: invalid lvalue in assignment
ruby_xml_node.c:1250: error: ‘struct RString’ has no member named ‘aux’
make: *** [ruby_xml_node.o] Error 1
Gem files will remain installed in /opt/local/lib/ruby1.9/gems/1.9.1/gems/libxml-ruby-0.9.8 for inspection.
Results logged to /opt/local/lib/ruby1.9/gems/1.9.1/gems/libxml-ruby-0.9.8/ext/libxml/gem_make.out
~ % burke@wi-open-436 (16:00)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment