Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/bin/ruby extconf.rb --with-xml2-include=/usr/local/Cellar/libxml2/2.7.8/include/libxml2 --with-xml2-lib=/usr/local/Cellar/libxml2/2.7.8/lib --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.26 --with-iconv-dir=/usr/local/Cellar/libiconv/1.14
checking for libxml/parser.h... yes
checking for libxslt/xslt.h... yes
checking for libexslt/exslt.h... yes
checking for iconv_open() in iconv.h... no
checking for iconv_open() in -liconv... yes
checking for xmlParseDoc() in -lxml2... yes
checking for xsltParseStylesheetDoc() in -lxslt... yes
checking for exsltFuncRegister() in -lexslt... yes
checking for xmlHasFeature()... yes
checking for xmlFirstElementChild()... yes
checking for xmlRelaxNGSetParserStructuredErrors()... yes
checking for xmlRelaxNGSetParserStructuredErrors()... yes
checking for xmlRelaxNGSetValidStructuredErrors()... yes
checking for xmlSchemaSetValidStructuredErrors()... yes
checking for xmlSchemaSetParserStructuredErrors()... yes
creating Makefile
make
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c html_document.c
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c html_element_description.c
html_element_description.c: In function ‘get_description’:
html_element_description.c:249: warning: cast discards qualifiers from pointer target type
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c html_entity_lookup.c
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c html_sax_parser_context.c
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c nokogiri.c
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_attr.c
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_attribute_decl.c
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_cdata.c
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_comment.c
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_document.c
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_document_fragment.c
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_dtd.c
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_element_content.c
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_element_decl.c
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_encoding_handler.c
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_entity_decl.c
xml_entity_decl.c: In function ‘entity_type’:
xml_entity_decl.c:46: warning: passing argument 1 of ‘rb_int2inum’ with different width due to prototype
xml_entity_decl.c: In function ‘init_xml_entity_decl’:
xml_entity_decl.c:99: warning: passing argument 1 of ‘rb_int2inum’ with different width due to prototype
xml_entity_decl.c:101: warning: passing argument 1 of ‘rb_int2inum’ with different width due to prototype
xml_entity_decl.c:103: warning: passing argument 1 of ‘rb_int2inum’ with different width due to prototype
xml_entity_decl.c:105: warning: passing argument 1 of ‘rb_int2inum’ with different width due to prototype
xml_entity_decl.c:107: warning: passing argument 1 of ‘rb_int2inum’ with different width due to prototype
xml_entity_decl.c:109: warning: passing argument 1 of ‘rb_int2inum’ with different width due to prototype
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_entity_reference.c
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_io.c
xml_io.c: In function ‘io_read_callback’:
xml_io.c:18: warning: passing argument 1 of ‘rb_int2inum’ with different width due to prototype
xml_io.c:20: warning: passing argument 4 of ‘rb_rescue’ with different width due to prototype
xml_io.c: In function ‘io_write_callback’:
xml_io.c:45: warning: passing argument 4 of ‘rb_rescue’ with different width due to prototype
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_libxml2_hacks.c
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_namespace.c
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_node.c
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_node_set.c
xml_node_set.c: In function ‘length’:
xml_node_set.c:36: warning: passing argument 1 of ‘rb_int2inum’ with different width due to prototype
xml_node_set.c:38: warning: passing argument 1 of ‘rb_int2inum’ with different width due to prototype
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_processing_instruction.c
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_reader.c
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_relax_ng.c
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_sax_parser.c
xml_sax_parser.c: In function ‘start_element’:
xml_sax_parser.c:68: warning: passing argument 1 of ‘rb_ary_new3’ with different width due to prototype
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_sax_parser_context.c
xml_sax_parser_context.c: In function ‘line’:
xml_sax_parser_context.c:157: warning: passing argument 1 of ‘rb_int2inum’ with different width due to prototype
xml_sax_parser_context.c: In function ‘column’:
xml_sax_parser_context.c:176: warning: passing argument 1 of ‘rb_int2inum’ with different width due to prototype
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_sax_push_parser.c
xml_sax_push_parser.c: In function ‘get_options’:
xml_sax_push_parser.c:86: warning: passing argument 1 of ‘rb_int2inum’ with different width due to prototype
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_schema.c
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_syntax_error.c
xml_syntax_error.c: In function ‘Nokogiri_wrap_xml_syntax_error’:
xml_syntax_error.c:30: warning: passing argument 1 of ‘rb_int2inum’ with different width due to prototype
xml_syntax_error.c:31: warning: passing argument 1 of ‘rb_int2inum’ with different width due to prototype
xml_syntax_error.c:32: warning: passing argument 1 of ‘rb_int2inum’ with different width due to prototype
xml_syntax_error.c:34: warning: passing argument 1 of ‘rb_int2inum’ with different width due to prototype
xml_syntax_error.c:38: warning: passing argument 1 of ‘rb_int2inum’ with different width due to prototype
xml_syntax_error.c:39: warning: passing argument 1 of ‘rb_int2inum’ with different width due to prototype
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_text.c
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xml_xpath_context.c
/usr/bin/gcc-4.2 -I. -I. -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -DHAVE_XMLHASFEATURE -DHAVE_XMLFIRSTELEMENTCHILD -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETPARSERSTRUCTUREDERRORS -DHAVE_XMLRELAXNGSETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETVALIDSTRUCTUREDERRORS -DHAVE_XMLSCHEMASETPARSERSTRUCTUREDERRORS -I/usr/local/Cellar/libxslt/1.1.26/include -I/usr/local/Cellar/libxml2/2.7.8/include/libxml2 -I/usr/local/Cellar/libiconv/1.14/include -I/opt/local/include -I/usr/local/include -I/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/include -I/usr/include -I/usr/include/libxml2 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -fno-common -pipe -fno-common -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -c xslt_stylesheet.c
cc -dynamic -bundle -undefined suppress -flat_namespace -o nokogiri.bundle html_document.o html_element_description.o html_entity_lookup.o html_sax_parser_context.o nokogiri.o xml_attr.o xml_attribute_decl.o xml_cdata.o xml_comment.o xml_document.o xml_document_fragment.o xml_dtd.o xml_element_content.o xml_element_decl.o xml_encoding_handler.o xml_entity_decl.o xml_entity_reference.o xml_io.o xml_libxml2_hacks.o xml_namespace.o xml_node.o xml_node_set.o xml_processing_instruction.o xml_reader.o xml_relax_ng.o xml_sax_parser.o xml_sax_parser_context.o xml_sax_push_parser.o xml_schema.o xml_syntax_error.o xml_text.o xml_xpath_context.o xslt_stylesheet.o -L. -L/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib -L/usr/local/Cellar/libxslt/1.1.26/lib -L/usr/local/Cellar/libxml2/2.7.8/lib -L/usr/local/Cellar/libiconv/1.14/lib -L/opt/local/lib -L/usr/local/lib -L/Users/nicola/.rvm/rubies/ruby-1.8.7-p352/lib -L/usr/lib -L. -lruby -lexslt -lxslt -lxml2 -liconv -ldl -lobjc
ld: in /opt/local/lib/libz.1.dylib, file was built for unsupported file format which is not the architecture being linked (x86_64) for architecture x86_64
collect2: ld returned 1 exit status
make: *** [nokogiri.bundle] Error 1
@muttsnutts
Copy link

muttsnutts commented Aug 31, 2011

I decided to respond here (so i can receive updates)...

Can you post the error log for the original make attempt (without iconv).

gem install nokogiri -- --with-xml2-include=/usr/local/Cellar/libxml2/2.7.8/include/libxml2 --with-xml2-lib=/usr/local/Cellar/libxml2/2.7.8/lib --with-xslt-dir=/usr/local/Cellar/libxslt/1.1.26

There are lots of claims about permissions issues. I noticed I did NOT use sudo when building my copy of libxslt. What is your output for

ls -l /usr/local/Cellar/libxslt/1.1.26/lib/libxslt.1.dylib

According to the above error log, you also have MacPorts installed? Is that correct? Whats your output for:

file /opt/local/lib/libz.1.dylib and file /usr/lib/libz.1.dylib

And while we're playing around, how about:

otool -L /usr/local/Cellar/libxslt/1.1.26/lib/libxslt.1.dylib

Sorry, dependency hell, I know

@njvitto
Copy link
Author

njvitto commented Aug 31, 2011

Hi muttsnutts,
Thank you very much for your help. I figured out some hours ago that the problem was in a partial uninstallation of Macports (reinstalling apps with Lion I preferred to try homebrew). So an "rm -rf" in the Macports dirs resolved the problem with iconv (so difficult for me to understand by the logs).

Thx for your time!
N.

@dreoliv
Copy link

dreoliv commented Oct 27, 2011

Well, after 2 hours struggling with this problem, I found that I had the same issue. This is what solved my problem: sudo rm-rf /opt/local

As it turns out, It was an old Macports installation too. Thank you for the tip.

@njvitto
Copy link
Author

njvitto commented Nov 7, 2011

Hi abernardes,
it's a pleasure to know that it was helpful :)

Bye,
Nicola.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment