Skip to content

Instantly share code, notes, and snippets.

@gjherbiet
Created August 29, 2012 14:47
Show Gist options
  • Save gjherbiet/3513680 to your computer and use it in GitHub Desktop.
Save gjherbiet/3513680 to your computer and use it in GitHub Desktop.
digikam installation problem via Homebrew: dzubi/homebrew-digikam
Guillaume@friis:~> brew doctor
Warning: You may have installed MacGPG2 via the package installer.
Several other checks in this script will turn up problems, such as stray
dylibs in /usr/local and permissions issues with share and man in /usr/local/.
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libcdt.5.dylib /usr/local/lib/libcgraph.6.dylib /usr/local/lib/libfuse4x.2.dylib /usr/local/lib/libfuse4x_ino32.dylib /usr/local/lib/libgraph.5.dylib /usr/local/lib/libgvc.6.dylib /usr/local/lib/libgvpr.2.dylib /usr/local/lib/libmacfuse_i32.2.dylib /usr/local/lib/libmacfuse_i64.2.dylib /usr/local/lib/libntfs-3g.80.dylib /usr/local/lib/libntfs.9.0.0.dylib /usr/local/lib/libosxfuse_i32.2.dylib /usr/local/lib/libosxfuse_i64.2.dylib /usr/local/lib/libpathplan.4.dylib /usr/local/lib/libublio.1.dylib /usr/local/lib/libusb-0.1.4.4.4.dylib /usr/local/lib/libusb-0.1.4.dylib /usr/local/lib/libusb.dylib /usr/local/lib/libusbpp-0.1.4.4.4.dylib /usr/local/lib/libusbpp-0.1.4.dylib /usr/local/lib/libusbpp.dylib /usr/local/lib/libxdot.4.dylib
Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .la files:
/usr/local/lib/libfuse4x.la /usr/local/lib/libntfs-3g.la /usr/local/lib/libntfs.la /usr/local/lib/libosxfuse_i32.la /usr/local/lib/libosxfuse_i64.la /usr/local/lib/libublio.la /usr/local/lib/libusb.la /usr/local/lib/libusbpp.la
Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .pc files:
/usr/local/lib/pkgconfig/libcdt.pc /usr/local/lib/pkgconfig/libcgraph.pc /usr/local/lib/pkgconfig/libgraph.pc /usr/local/lib/pkgconfig/libgvc.pc /usr/local/lib/pkgconfig/libgvpr.pc /usr/local/lib/pkgconfig/libntfs-3g.pc /usr/local/lib/pkgconfig/libpathplan.pc /usr/local/lib/pkgconfig/libublio.pc /usr/local/lib/pkgconfig/libusb.pc /usr/local/lib/pkgconfig/libxdot.pc /usr/local/lib/pkgconfig/osxfuse.pc
Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected static libraries:
/usr/local/lib/libntfs-3g.a /usr/local/lib/libntfs.a /usr/local/lib/libublio.a /usr/local/lib/libusb.a /usr/local/lib/libusbpp.a
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
imagemagick
Warning: Some installed formula are missing dependencies.
You should `brew install` the missing dependencies:
brew install libpng
Run `brew missing` for more details.
Warning: Some directories in your path end in a slash.
Directories in your path should not end in a slash. This can break other
doctor checks. The following directories should be edited:
/opt/X11/bin/
Guillaume@friis:~> brew -v
Homebrew 0.9.2
Guillaume@friis:~> gcc -v
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~28/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~28/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
Guillaume@friis:~> brew tap homebrew/boneyard
Cloning into '/usr/local/Library/Taps/homebrew-boneyard'...
remote: Counting objects: 403, done.
remote: Compressing objects: 100% (172/172), done.
remote: Total 403 (delta 221), reused 398 (delta 216)
Receiving objects: 100% (403/403), 64.39 KiB | 41 KiB/s, done.
Resolving deltas: 100% (221/221), done.
Tapped 21 formula
Guillaume@friis:~> brew tap dzubi/homebrew-digikam
Cloning into '/usr/local/Library/Taps/dzubi-digikam'...
remote: Counting objects: 16, done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 16 (delta 3), reused 13 (delta 0)
Unpacking objects: 100% (16/16), done.
Warning: Could not tap dzubi/digikam/soprano over homebrew/boneyard/soprano
Warning: Could not tap dzubi/digikam/strigi over homebrew/boneyard/strigi
Tapped 2 formula
Guillaume@friis:~> brew install -V digikam
==> Installing digikam dependency: cmake
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/cmake-2.8.9.mountainlion.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/cmake-2.8.9.mountainlion.bottle.tar.gz
==> Pouring cmake-2.8.9.mountainlion.bottle.tar.gz
/usr/local/Cellar/cmake/2.8.9: 662 files, 32M
==> Installing digikam dependency: qt
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/qt-4.8.2.mountainlion.bottle.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/qt-4.8.2.mountainlion.bottle.1.tar.gz
==> Pouring qt-4.8.2.mountainlion.bottle.1.tar.gz
==> Caveats
We agreed to the Qt opensource license for you.
If this is unacceptable you should uninstall.
==> Summary
/usr/local/Cellar/qt/4.8.2: 2752 files, 197M
==> Installing digikam dependency: automoc4
==> Downloading ftp://ftp.kde.org/pub/kde/stable/automoc4/0.9.88/automoc4-0.9.88.tar.bz2
Already downloaded: /Library/Caches/Homebrew/automoc4-0.9.88.tar.bz2
==> Patching
patching file kde4automoc.cpp
==> cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/automoc4/0.9.88 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev
==> make install
/usr/local/Cellar/automoc4/0.9.88: 5 files, 96K, built in 16 seconds
==> Installing digikam dependency: pcre
==> Downloading ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.31.tar.bz2
Already downloaded: /Library/Caches/Homebrew/pcre-8.31.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/pcre/8.31 --enable-utf8 --enable-unicode-properties --enable-pcregrep-libz --enable-pcregrep-l
==> make test
==> make install
/usr/local/Cellar/pcre/8.31: 130 files, 3.2M, built in 60 seconds
==> Installing digikam dependency: giflib
==> Downloading http://downloads.sourceforge.net/project/giflib/giflib-4.x/giflib-4.1.6/giflib-4.1.6.tar.bz2
Already downloaded: /Library/Caches/Homebrew/giflib-4.1.6.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/giflib/4.1.6 --disable-debug
==> make install
/usr/local/Cellar/giflib/4.1.6: 37 files, 676K, built in 49 seconds
==> Installing digikam dependency: clucene
==> Downloading http://downloads.sourceforge.net/project/clucene/clucene-core-stable/0.9.21/clucene-core-0.9.21.tar.bz2
Already downloaded: /Library/Caches/Homebrew/clucene-0.9.21.tar.bz2
==> ./configure --disable-debug --prefix=/usr/local/Cellar/clucene/0.9.21
==> make install
/usr/local/Cellar/clucene/0.9.21: 137 files, 4.7M, built in 2.2 minutes
==> Installing digikam dependency: exiv2
==> Downloading http://www.exiv2.org/exiv2-0.23.tar.gz
Already downloaded: /Library/Caches/Homebrew/exiv2-0.23.tar.gz
==> ./configure --prefix=/usr/local/Cellar/exiv2/0.23
==> make install
/usr/local/Cellar/exiv2/0.23: 45 files, 6.5M, built in 87 seconds
==> Installing digikam dependency: strigi
==> Downloading http://www.vandenoever.info/software/strigi/strigi-0.7.2.tar.bz2
Already downloaded: /Library/Caches/Homebrew/strigi-0.7.2.tar.bz2
==> cmake -DCMAKE_INSTALL_PREFIX='/usr/local/Cellar/strigi/0.7.2' -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev -DENABLE_E
==> make install
Scanning dependencies of target grepindex
Scanning dependencies of target searchclient
Scanning dependencies of target streams
[ 1%] [ 1%] Building CXX object src/dummyindexer/CMakeFiles/grepindex.dir/grepindexmanager.cpp.o
Scanning dependencies of target xmlstream
[ 2%] Building CXX object src/daemon/CMakeFiles/searchclient.dir/socketclient.cpp.o
Building CXX object src/streams/CMakeFiles/streams.dir/archivereader.cpp.o
[ 3%] Building CXX object src/xsd/CMakeFiles/xmlstream.dir/xsdparser/libxmlstream.cpp.o
Linking CXX static library libgrepindex.a
[ 3%] Built target grepindex
Scanning dependencies of target xesam
[ 3%] Building CXX object src/daemon/xesam/CMakeFiles/xesam.dir/xesamlivesearchinterface.cpp.o
[ 3%] Building CXX object src/xsd/CMakeFiles/xmlstream.dir/xsdparser/xmlstream.cpp.o
[ 4%] [ 5%] Building CXX object src/daemon/xesam/CMakeFiles/xesam.dir/xesamlivesearch.cpp.o
Building CXX object src/daemon/CMakeFiles/searchclient.dir/asyncsocket.cpp.o
Linking CXX static library libxmlstream.a
[ 5%] Building CXX object src/daemon/CMakeFiles/searchclient.dir/asyncsocketclient.cpp.o
[ 5%] Built target xmlstream
[ 5%] Building CXX object src/streams/CMakeFiles/streams.dir/archiveentrycache.cpp.o
[ 5%] Building CXX object src/daemon/xesam/CMakeFiles/xesam.dir/xesamsession.cpp.o
In file included from /tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/xesam/xesamlivesearch.cpp:23:
In file included from /tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/xesam/xesamsearch.h:27:
/tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/../streams/strigi/strigi_thread.h:59:6: error: A valid thread library was not found
#error A valid thread library was not found
^
/tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/../streams/strigi/strigi_thread.h:64:25: error: C++ requires a type specifier for all declarations
STRIGI_MUTEX_DEFINE(m_lock);
^~~~~~
/tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/../streams/strigi/strigi_thread.h:64:5: error: C++ requires a type specifier for all declarations
STRIGI_MUTEX_DEFINE(m_lock);
^~~~~~~~~~~~~~~~~~~
/tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/../streams/strigi/strigi_thread.h:67:28: error: use of undeclared identifier 'm_lock'
STRIGI_MUTEX_INIT(&m_lock);
^
/tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/../streams/strigi/strigi_thread.h:70:31: error: use of undeclared identifier 'm_lock'
STRIGI_MUTEX_DESTROY(&m_lock);
^
/tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/../streams/strigi/strigi_thread.h:73:28: error: use of undeclared identifier 'm_lock'
STRIGI_MUTEX_LOCK(&m_lock);
^
/tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/../streams/strigi/strigi_thread.h:76:30: error: use of undeclared identifier 'm_lock'
STRIGI_MUTEX_UNLOCK(&m_lock);
^
7 errors generated.
make[2]: *** [src/daemon/xesam/CMakeFiles/xesam.dir/xesamlivesearch.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 6%] Building CXX object src/streams/CMakeFiles/streams.dir/listinginprogress.cpp.o
In file included from /tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/xesam/xesamsession.cpp:21:
In file included from /tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/xesam/xesamsearch.h:27:
/tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/../streams/strigi/strigi_thread.h:59:6: error: A valid thread library was not found
#error A valid thread library was not found
^
/tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/../streams/strigi/strigi_thread.h:64:25: error: C++ requires a type specifier for all declarations
STRIGI_MUTEX_DEFINE(m_lock);
^~~~~~
/tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/../streams/strigi/strigi_thread.h:64:5: error: C++ requires a type specifier for all declarations
STRIGI_MUTEX_DEFINE(m_lock);
^~~~~~~~~~~~~~~~~~~
/tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/../streams/strigi/strigi_thread.h:67:28: error: use of undeclared identifier 'm_lock'
STRIGI_MUTEX_INIT(&m_lock);
^
/tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/../streams/strigi/strigi_thread.h:70:31: error: use of undeclared identifier 'm_lock'
STRIGI_MUTEX_DESTROY(&m_lock);
^
/tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/../streams/strigi/strigi_thread.h:73:28: error: use of undeclared identifier 'm_lock'
STRIGI_MUTEX_LOCK(&m_lock);
^
/tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/../streams/strigi/strigi_thread.h:76:30: error: use of undeclared identifier 'm_lock'
STRIGI_MUTEX_UNLOCK(&m_lock);
^
In file included from /tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/xesam/xesamsession.cpp:23:
/tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/xesam/xesamclass.h:29:25: error: C++ requires a type specifier for all declarations
STRIGI_MUTEX_DEFINE(mutex);
^~~~~
/tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/xesam/xesamclass.h:29:5: error: C++ requires a type specifier for all declarations
STRIGI_MUTEX_DEFINE(mutex);
^~~~~~~~~~~~~~~~~~~
/tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/xesam/xesamclass.h:36:28: error: use of undeclared identifier 'mutex'
STRIGI_MUTEX_INIT(&mutex);
^
/tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/xesam/xesamclass.h:40:30: error: use of undeclared identifier 'mutex'
STRIGI_MUTEX_UNLOCK(&mutex);
^
/tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/xesam/xesamclass.h:41:31: error: use of undeclared identifier 'mutex'
STRIGI_MUTEX_DESTROY(&mutex);
^
/tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/xesam/xesamclass.h:44:28: error: use of undeclared identifier 'mutex'
STRIGI_MUTEX_LOCK(&mutex);
^
/tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/xesam/xesamclass.h:46:30: error: use of undeclared identifier 'mutex'
STRIGI_MUTEX_UNLOCK(&mutex);
^
[ 6%] /tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/xesam/xesamclass.h:50:28: error: use of undeclared identifier 'mutex'
STRIGI_MUTEX_LOCK(&mutex);
^
/tmp/homebrew-strigi-0.7.2-HD20/strigi-0.7.2/src/daemon/xesam/xesamclass.h:55:34: error: use of undeclared identifier 'mutex'
STRIGI_MUTEX_UNLOCK(&mutex);
^
Building CXX object src/streams/CMakeFiles/streams.dir/arinputstream.cpp.o
16 errors generated.
make[2]: *** [src/daemon/xesam/CMakeFiles/xesam.dir/xesamsession.cpp.o] Error 1
make[1]: *** [src/daemon/xesam/CMakeFiles/xesam.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 6%] Building CXX object src/streams/CMakeFiles/streams.dir/base64inputstream.cpp.o
[ 7%] Building CXX object src/streams/CMakeFiles/streams.dir/bz2inputstream.cpp.o
[ 7%] Building CXX object src/streams/CMakeFiles/streams.dir/cpioinputstream.cpp.o
Linking CXX shared library libsearchclient.dylib
[ 7%] Built target searchclient
[ 8%] Building CXX object src/streams/CMakeFiles/streams.dir/dataeventinputstream.cpp.o
[ 8%] Building CXX object src/streams/CMakeFiles/streams.dir/dostime.cpp.o
[ 9%] [ 9%] [ 9%] Building CXX object src/streams/CMakeFiles/streams.dir/fileinputstream.cpp.o
Building CXX object src/streams/CMakeFiles/streams.dir/encodinginputstream.cpp.o
Building CXX object src/streams/CMakeFiles/streams.dir/filestreamopener.cpp.o
[ 10%] [ 10%] Building CXX object src/streams/CMakeFiles/streams.dir/gzipcompressstream.cpp.o
Building CXX object src/streams/CMakeFiles/streams.dir/gzipinputstream.cpp.o
[ 11%] Building CXX object src/streams/CMakeFiles/streams.dir/inputstreamreader.cpp.o
[ 11%] Building CXX object src/streams/CMakeFiles/streams.dir/kmpsearcher.cpp.o
[ 12%] Building C object src/streams/CMakeFiles/streams.dir/lzma/LzmaDec.c.o
[ 12%] Building CXX object src/streams/CMakeFiles/streams.dir/lzmainputstream.cpp.o
[ 12%] [ 13%] Building CXX object src/streams/CMakeFiles/streams.dir/mailinputstream.cpp.o
Building CXX object src/streams/CMakeFiles/streams.dir/oleinputstream.cpp.o
[ 13%] Building CXX object src/streams/CMakeFiles/streams.dir/rpminputstream.cpp.o
[ 14%] Building CXX object src/streams/CMakeFiles/streams.dir/sdfinputstream.cpp.o
[ 14%] Building CXX object src/streams/CMakeFiles/streams.dir/skippingfileinputstream.cpp.o
[ 15%] Building CXX object src/streams/CMakeFiles/streams.dir/skippingfileinputstream2.cpp.o
[ 15%] Building CXX object src/streams/CMakeFiles/streams.dir/stringterminatedsubstream.cpp.o
[ 15%] Building CXX object src/streams/CMakeFiles/streams.dir/subinputstream.cpp.o
[ 16%] Building CXX object src/streams/CMakeFiles/streams.dir/substreamproviderprovider.cpp.o
[ 16%] Building CXX object src/streams/CMakeFiles/streams.dir/tarinputstream.cpp.o
[ 17%] Building CXX object src/streams/CMakeFiles/streams.dir/textutils.cpp.o
[ 17%] Building CXX object src/streams/CMakeFiles/streams.dir/zipinputstream.cpp.o
[ 18%] Building CXX object src/streams/CMakeFiles/streams.dir/processinputstream.cpp.o
[ 18%] Building CXX object src/streams/CMakeFiles/streams.dir/mmapfileinputstream.cpp.o
[ 18%] Building CXX object src/streams/CMakeFiles/streams.dir/strigi/compat.cpp.o
[ 19%] Building CXX object src/streams/CMakeFiles/streams.dir/strigi/fnmatch.cpp.o
[ 19%] Building CXX object src/streams/CMakeFiles/streams.dir/strigi/stgdirent.cpp.o
Linking CXX shared library libstreams.dylib
[ 19%] Built target streams
make: *** [all] Error 2
CMakeCache.txt was copied to /Users/Guillaume/Library/Logs/Homebrew
==> Build Environment
HOMEBREW_VERSION: 0.9.2
HEAD: 44ab88f76d7ec4df52bb625a3759362d3eddaed6
CPU: quad-core 64-bit sandybridge
OS X: 10.8.1-x86_64
Xcode: 4.4 (guessed)
CLT: 4.4.0.0.1.1249367152
X11: 2.7.2 in /opt/X11
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
LDFLAGS: -L/usr/local/lib
MAKEFLAGS: -j4
MACOSX_DEPLOYMENT_TARGET: 10.8
PKG_CONFIG_PATH: /usr/local/Library/Homebrew/pkgconfig
OBJC: /usr/bin/clang
PATH: /opt/X11/bin/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/sbin:/usr/local/mysql/bin:/Users/Guillaume/Library/Scripts:/usr/local/Library/Contributions/cmds
Error: Failed executing: make install (strigi.rb:17)
This link will help resolve the above errors:
https://github.com/homebrew/homebrew-boneyard/issues/new
Software:
System Software Overview:
System Version: OS X 10.8.1 (12B19)
Kernel Version: Darwin 12.1.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Computer Name: friis
User Name: Guillaume-Jean Herbiet (Guillaume)
Secure Virtual Memory: Enabled
Time since boot: 1 day1:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment