[redland-dev] Raptor 1.4.6 installation on OS X 10.4.2 fails

Dave Beckett Dave.Beckett at bristol.ac.uk
Mon Sep 19 21:14:58 BST 2005


On Mon, 2005-09-19 at 21:37 +0200, Kai Bielenberg wrote:
> Hi,
> 
> im trying to install Raptor 1.4.6 on OSX 10.4.2.

Please try 1.4.7, it's the latest release.

> ./configure --enable-parsers=rss-tag-soup works fine, but make fails with:
> 
> [...]
> gcc -dynamiclib -flat_namespace -undefined suppress -o 
> .libs/libraptor.1.1.0.dylib  .libs/raptor_parse.o 
> .libs/raptor_serialize.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_rss.o 
> .libs/raptor_serialize_rdfxmla.o .libs/strcasecmp.o 
> .libs/raptor_www_curl.o  -L/usr/lib -lcurl -lssl -lcrypto -L/sw/lib 
> /usr/lib/libxml2.dylib /usr/lib/libz.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
> /usr/bin/libtool: for architecture: cputype (16777234) cpusubtype (0) 
> file: /usr/lib/libm.dylib is not an object file (not allowed in a library)
> /usr/bin/libtool: for architecture: cputype (16777234) cpusubtype (0) 
> file: -lpthread is not an object file (not allowed in a library)
> /usr/bin/libtool: for architecture: cputype (16777234) cpusubtype (0) 
> file: -lm is not an object file (not allowed in a library)
> /usr/bin/libtool: for architecture: cputype (16777234) cpusubtype (0) 
> file: -lSystem is not an object file (not allowed in a library)
> make[2]: *** [libraptor.la] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2

I so OSX's crazy linking.

My suggestion on this fragment is that you are somehow invoking the
wrong libtool - /usr/lib/libtool is not correct, it should be running
the libtool program in the source tree.  The invocation that make runs
is
  /bin/sh ./libtool ...
or should be, it's a couple of lines above what you quoted.

For what it's work I have an OSX box and it's part of my development and
release testing cycle [pause while I check] .. 1.4.7 works for me.

Well, sort of.  For reasons rather complex to explain, you need to
enable both the rss-tag-soup and rdfxml parsers in the released 1.4.7:
--enable-parsers="rss-tag-soup rdfxml"

This should be fixed in CVS raptor, or at least better.

Dave




More information about the redland-dev mailing list