Skip to content

Instantly share code, notes, and snippets.

@4rc0s
Created November 19, 2008 18:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 4rc0s/26612 to your computer and use it in GitHub Desktop.
Save 4rc0s/26612 to your computer and use it in GitHub Desktop.
Updating libxml-ruby
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb update
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... yes
checking for xmlParseDoc() in -lxml2... yes
checking for libxml/xmlversion.h... no
checking for #include <libxml/xmlversion.h>
... yes
checking for xmlDocFormatDump()... yes
checking for docbCreateFileParserCtxt()... yes
creating extconf.h
creating Makefile
make
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -I/usr/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fno-common -arch ppc -arch i386 -Os -pipe -fno-common -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -I/usr/include/libxml2 -I/usr/local/include -c cbg.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -I/usr/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fno-common -arch ppc -arch i386 -Os -pipe -fno-common -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -I/usr/include/libxml2 -I/usr/local/include -c libxml.c
libxml.c: In function ‘ruby_xml_default_tree_indent_string_set’:
libxml.c:582: warning: pointer targets in passing argument 1 of ‘xmlStrdup’ differ in signedness
libxml.c:582: warning: pointer targets in assignment differ in signedness
libxml.c: In function ‘ruby_xml_default_tree_indent_string_set’:
libxml.c:582: warning: pointer targets in passing argument 1 of ‘xmlStrdup’ differ in signedness
libxml.c:582: warning: pointer targets in assignment differ in signedness
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -I/usr/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fno-common -arch ppc -arch i386 -Os -pipe -fno-common -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -I/usr/include/libxml2 -I/usr/local/include -c ruby_xml_attr.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -I/usr/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fno-common -arch ppc -arch i386 -Os -pipe -fno-common -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -I/usr/include/libxml2 -I/usr/local/include -c ruby_xml_attributes.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -I/usr/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fno-common -arch ppc -arch i386 -Os -pipe -fno-common -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -I/usr/include/libxml2 -I/usr/local/include -c ruby_xml_document.c
ruby_xml_document.c: In function ‘ruby_xml_document_encoding_set’:
ruby_xml_document.c:545: warning: pointer targets in passing argument 1 of ‘xmlStrdup’ differ in signedness
ruby_xml_document.c: In function ‘ruby_xml_document_encoding_set’:
ruby_xml_document.c:545: warning: pointer targets in passing argument 1 of ‘xmlStrdup’ differ in signedness
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -I/usr/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fno-common -arch ppc -arch i386 -Os -pipe -fno-common -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -I/usr/include/libxml2 -I/usr/local/include -c ruby_xml_dtd.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -I/usr/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fno-common -arch ppc -arch i386 -Os -pipe -fno-common -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -I/usr/include/libxml2 -I/usr/local/include -c ruby_xml_encoding.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -I/usr/include/libxml2 -I/usr/local/include -DRUBY_EXTCONF_H=\"extconf.h\" -fno-common -arch ppc -arch i386 -Os -pipe -fno-common -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -I/usr/include/libxml2 -I/usr/local/include -c ruby_xml_error.c
ruby_xml_error.c: In function ‘ruby_init_xml_error’:
ruby_xml_error.c:205: error: ‘XML_FROM_MODULE’ undeclared (first use in this function)
ruby_xml_error.c:205: error: (Each undeclared identifier is reported only once
ruby_xml_error.c:205: error: for each function it appears in.)
ruby_xml_error.c: In function ‘ruby_init_xml_error’:
ruby_xml_error.c:205: error: ‘XML_FROM_MODULE’ undeclared (first use in this function)
ruby_xml_error.c:205: error: (Each undeclared identifier is reported only once
ruby_xml_error.c:205: error: for each function it appears in.)
ruby_xml_error.c:326: error: ‘XML_NS_ERR_EMPTY’ undeclared (first use in this function)
ruby_xml_error.c:326: error: ‘XML_NS_ERR_EMPTY’ undeclared (first use in this function)
ruby_xml_error.c:784: error: ‘XML_SCHEMAV_CVC_IDC’ undeclared (first use in this function)
ruby_xml_error.c:785: error: ‘XML_SCHEMAV_CVC_WILDCARD’ undeclared (first use in this function)
ruby_xml_error.c:912: error: ‘XML_MODULE_OPEN’ undeclared (first use in this function)
ruby_xml_error.c:913: error: ‘XML_MODULE_CLOSE’ undeclared (first use in this function)
ruby_xml_error.c:784: error: ‘XML_SCHEMAV_CVC_IDC’ undeclared (first use in this function)
ruby_xml_error.c:785: error: ‘XML_SCHEMAV_CVC_WILDCARD’ undeclared (first use in this function)
ruby_xml_error.c:912: error: ‘XML_MODULE_OPEN’ undeclared (first use in this function)
ruby_xml_error.c:913: error: ‘XML_MODULE_CLOSE’ undeclared (first use in this function)
lipo: can't open input file: /var/tmp//ccze4oEg.out (No such file or directory)
make: *** [ruby_xml_error.o] Error 1
Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/libxml-ruby-0.9.1 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/libxml-ruby-0.9.1/ext/libxml/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment