Skip to content

Instantly share code, notes, and snippets.

@nebiros
Created October 29, 2011 03:47
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 nebiros/1324046 to your computer and use it in GitHub Desktop.
Save nebiros/1324046 to your computer and use it in GitHub Desktop.
soprano formula error
$ brew install soprano
==> Downloading http://downloads.sourceforge.net/project/soprano/Soprano/2.6.0/soprano-2.6.0.tar.bz2
File already downloaded in /Users/nebiros/Library/Caches/Homebrew
==> cmake . -DCMAKE_INSTALL_PREFIX='/usr/local/Cellar/soprano/2.6.0' -DCMAKE_BUILD_TYPE=None -Wno-dev
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/llvm-gcc
-- Check for working C compiler: /usr/bin/llvm-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /usr/bin/llvm-g++
-- Check for working CXX compiler: /usr/bin/llvm-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Found Qt-Version 4.7.4
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Rasqal 0.9.27: libs - /usr/local/lib/librasqal.dylib; includes - /usr/local/Cellar/rasqal/0.9.27/include/rasqal
-- Found Redland: /usr/local/bin/redland-config
-- Found CLucene library: /usr/local/lib/libclucene.dylib
-- Found CLucene include dir: /usr/local/include
-- Found CLucene library dir: /usr/local/lib
-- Found CLucene: /usr/local/lib/libclucene.dylib
-- Found JNI: -framework JavaVM
-- Found Java JNI >= 1.4: /System/Library/Frameworks/JavaVM.framework/Headers, -framework JavaVM
-- Found iODBC 3.52.6: libs - /usr/lib/libiodbc.dylib; includes - /usr/include
-- Performing Test __SOPRANO_HAVE_GCC_VISIBILITY
-- Performing Test __SOPRANO_HAVE_GCC_VISIBILITY - Success
-- Performing Test __SOPRANO_HAVE_GCC_INLINE_VISIBILITY
-- Performing Test __SOPRANO_HAVE_GCC_INLINE_VISIBILITY - Success
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
---------------------------------------------------------------------------------------
-- Soprano Components that will be built:
* Redland storage backend
* Sesame2 storage backend (java-based)
* Virtuoso storage backend (Run-time dependency: Virtuoso)
* The CLucene-based full-text search index library
-- Soprano Components that will NOT be built:
* Raptor RDF parser (missing libraptor - http://librdf.org)
* Raptor RDF serializer (missing libraptor - http://librdf.org)
* D-Bus server/client support
---------------------------------------------------------------------------------------
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
RAPTOR_INCLUDE_DIR (ADVANCED)
used as include directory in directory /tmp/homebrew-soprano-2.6.0-rIYC/soprano-2.6.0/backends/redland
-- Configuring incomplete, errors occurred!
==> Exit Status: 1
http://github.com/mxcl/homebrew/blob/master/Library/Formula/soprano.rb#L17
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: 9a6bd3473936175163a642e28f6ce0b8a659cf6d
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: dual-core 64-bit penryn
OS X: 10.7.2
Kernel Architecture: x86_64
Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.2
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2335
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe
MAKEFLAGS: -j2
Error: Failed executing: cmake . -DCMAKE_INSTALL_PREFIX='/usr/local/Cellar/soprano/2.6.0' - DCMAKE_BUILD_TYPE=None -Wno-dev
@gregch
Copy link

gregch commented Nov 30, 2011

I ran into the exact same problem. Tried to set the RAPTOR_INCLUDE_DIR manually to /usr/local/include/raptor, but it looks like it is due to the "Raptor2 is not ABI compatible with raptor1" quoted from comments in https://trac.macports.org/ticket/30068 . I would like to see if anybody is looking into this problem and provide a solution for it. Otherwise I cannot brew the kdelibs.

@nebiros
Copy link
Author

nebiros commented Dec 1, 2011

@gregch I upgrade soprano, kdelibs, etc, take a look: nebiros/homebrew@be04af6

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