[Dahut-pm] Redland on OSX

Robin Berjon robin.berjon at expway.fr
Tue Feb 15 10:05:22 PST 2005


Dahut!

I'm trying to build Redland on OSX with the (now faint) hope of playing 
with my stupid ideas of RDF VFSs and other such silly things. Oh, and to 
be cool too. But Redland's being uncool to me.

It dies when trying to build Raptor, thusly (looks long when wrapped but 
is really two commands - the second one is kicked off by the first, but 
produces the same error on its own):

/bin/sh ./libtool --mode=link --tag=CC gcc -g -O2  -g -O2   -o 
libraptor.la -rpath /usr/local/lib -version-info 2:0:1 raptor_parse.lo 
raptor_serialize.lo raptor_serialize_rdfxmla.lo raptor_rfc2396.lo 
raptor_uri.lo raptor_locator.lo raptor_namespace.lo raptor_qname.lo 
raptor_feature.lo raptor_general.lo raptor_utf8.lo raptor_www.lo 
raptor_identifier.lo raptor_sequence.lo raptor_stringbuffer.lo 
raptor_iostream.lo raptor_rdfxml.lo raptor_xml.lo raptor_xml_writer.lo 
raptor_sax2.lo raptor_set.lo raptor_libxml.lo  turtle_lexer.lo 
turtle_parser.lo  ntriples_parse.lo raptor_rss.lo raptor_nfc_data.lo 
raptor_nfc.lo strcasecmp.lo raptor_www_libxml.lo -L/usr/local/lib -lxml2 
-lz -lpthread -liconv -lm
gcc -dynamiclib -flat_namespace -undefined suppress -o 
.libs/libraptor.1.1.0.dylib  .libs/raptor_parse.o 
.libs/raptor_serialize.o .libs/raptor_serialize_rdfxmla.o 
.libs/raptor_rfc2396.o .libs/raptor_uri.o .libs/raptor_locator.o 
.libs/raptor_namespace.o .libs/raptor_qname.o .libs/raptor_feature.o 
.libs/raptor_general.o .libs/raptor_utf8.o .libs/raptor_www.o 
.libs/raptor_identifier.o .libs/raptor_sequence.o 
.libs/raptor_stringbuffer.o .libs/raptor_iostream.o 
.libs/raptor_rdfxml.o .libs/raptor_xml.o .libs/raptor_xml_writer.o 
.libs/raptor_sax2.o .libs/raptor_set.o .libs/raptor_libxml.o 
.libs/turtle_lexer.o .libs/turtle_parser.o .libs/ntriples_parse.o 
.libs/raptor_rss.o .libs/raptor_nfc_data.o .libs/raptor_nfc.o 
.libs/strcasecmp.o .libs/raptor_www_libxml.o  -L/usr/local/lib 
/usr/local/lib/libxml2.dylib /usr/lib/libm.dylib -lz -lpthread 
/usr/lib/libiconv.dylib -lm -install_name 
/usr/local/lib/libraptor.1.dylib -compatibility_version 3 
-current_version 3.0
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require -mode=MODE be specified.
libtool: warning: cannot infer operation mode from `ppc'
libtool: you must specify a MODE
Try `libtool --help' for more information.
make[3]: *** [libraptor.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1


I've tried all the hackery directly inside the generated libtool and the 
Makefiles that I could muster, but to no avail. I've also tried to build 
Raptor separately but I get the same result.

Any thoughts?

-- 
Robin Berjon
   Research Scientist
   Expway, http://expway.com/




More information about the Dahut-pm mailing list