njh / redstore

RedStore is a lightweight RDF triplestore written in C using the Redland library.
https://www.aelius.com/njh/redstore/
GNU General Public License v3.0
62 stars 6 forks source link

cant build #33

Closed Paxa closed 13 years ago

Paxa commented 13 years ago

Mac os 10.6.7, Xcode 4, gcc 4.2.1

run ./autogen.sh

...
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for srandomdev... yes
./configure: line 13228: syntax error near unexpected token `RAPTOR,'
./configure: line 13228: `PKG_CHECK_MODULES(RAPTOR, raptor2 >= 2.0.1)'
njh commented 13 years ago

You will need pkg-config installed on your machine, and ensure that aclocal knows how to find the m4 file.

The message is a bit cryptic if you run autoconf.sh.

For Mac OS X, you could try using the ./build-scripts/build-static.pl which will pull innall the dependencies.

Paxa commented 13 years ago

% ./build-scripts/build-static.pl Mac OS X SDK is not available. at ./build-scripts/build-static.pl line 143.

becouse my $SDK = '/Developer/SDKs/MacOSX10.4u.sdk'; I have MacOSX10.6.sdk

Paxa commented 13 years ago
% brew install pkg-config           
Warning: Formula already installed: pkg-config
njh commented 13 years ago

For homebrew, try setting export ACLOCAL_FLAGS='-I /usr/local/share/aclocal'

The static build requires the 10.4 SDK in order to work on older version of Mac OS X. It can be installed using the Xcode installer as an optional install.

There is a recent build here but hasn't had a lot of testing: http://www.aelius.com/njh/redstore/RedStore-20110912-macosx.zip

njh commented 13 years ago

Closing ticket - not heard back for 9 days.