Registered Member
|
I have snow leopard 10.6.8
I just compiled Qt 4.8.0 but kdelibs was still looking for Qt 4.7.4, I don't really understand why... ==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/kde -DCMAKE_BUILD_TYPE=None -Wno-dev -DKDE_DEFAULT_HOME=Library/Pre ==> make Scanning dependencies of target kauth_backend_plugin_automoc Scanning dependencies of target kauth-policy-gen_automoc Scanning dependencies of target KDECMakeModulesManPage Scanning dependencies of target kdecore_automoc Scanning dependencies of target kde4-config_automoc Scanning dependencies of target kauth_helper_plugin_automoc Scanning dependencies of target kjs_automoc Scanning dependencies of target kdefakes dyld: Library not loaded: /usr/local/Cellar/qt/4.7.4/lib/QtCore.framework/Versions/4/QtCore Referenced from: /usr/local/bin/automoc4 Reason: image not found dyld: Library not loaded: /usr/local/Cellar/qt/4.7.4/lib/QtCore.framework/Versions/4/QtCore Referenced from: /usr/local/bin/automoc4 Reason: image not found dyld: Library not loaded: /usr/local/Cellar/qt/4.7.4/lib/QtCore.framework/Versions/4/QtCore Referenced from: /usr/local/bin/automoc4 Reason: image not found dyld: Library not loaded: /usr/local/Cellar/qt/4.7.4/lib/QtCore.framework/Versions/4/QtCore Referenced from: /usr/local/bin/automoc4 Reason: image not found dyld: Library not loaded: /usr/local/Cellar/qt/4.7.4/lib/QtCore.framework/Versions/4/QtCore Referenced from: /usr/local/bin/automoc4 Reason: image not found dyld: Library not loaded: /usr/local/Cellar/qt/4.7.4/lib/QtCore.framework/Versions/4/QtCore Referenced from: /usr/local/bin/automoc4 Reason: image not found [ 0%] [ 0%] Built target KDECMakeModulesManPage Building C object kdecore/CMakeFiles/kdefakes.dir/fakes.o Scanning dependencies of target icemaker_automoc dyld: Library not loaded: /usr/local/Cellar/qt/4.7.4/lib/QtCore.framework/Versions/4/QtCore Referenced from: /usr/local/bin/automoc4 Reason: image not found Linking C shared library ../lib/libkdefakes.dylib [ 0%] Built target kdefakes Scanning dependencies of target ktranscript_automoc dyld: Library not loaded: /usr/local/Cellar/qt/4.7.4/lib/QtCore.framework/Versions/4/QtCore Referenced from: /usr/local/bin/automoc4 Reason: image not found /bin/sh: line 1: 76390 Trace/BPT trap /usr/local/bin/automoc4 /tmp/homebrew-kdelibs-4.8.0-xT55/kdelibs-4.8.0/build/kjs/icemaker_automoc.cpp /tmp/homebrew-kdelibs-4.8.0-xT55/kdelibs-4.8.0/kjs /tmp/homebrew-kdelibs-4.8.0-xT55/kdelibs-4.8.0/build/kjs /usr/local/Cellar/qt/4.8.0/bin/moc /usr/local/Cellar/cmake/2.8.6/bin/cmake /bin/sh: line 1: 76344 Trace/BPT trap /usr/local/bin/automoc4 /tmp/homebrew-kdelibs-4.8.0-xT55/kdelibs-4.8.0/build/kdecore/kauth_backend_plugin_automoc.cpp /tmp/homebrew-kdelibs-4.8.0-xT55/kdelibs-4.8.0/kdecore /tmp/homebrew-kdelibs-4.8.0-xT55/kdelibs-4.8.0/build/kdecore /usr/local/Cellar/qt/4.8.0/bin/moc /usr/local/Cellar/cmake/2.8.6/bin/cmake /bin/sh: line 1: 76417 Trace/BPT trap /usr/local/bin/automoc4 /tmp/homebrew-kdelibs-4.8.0-xT55/kdelibs-4.8.0/build/kdecore/ktranscript_automoc.cpp /tmp/homebrew-kdelibs-4.8.0-xT55/kdelibs-4.8.0/kdecore /tmp/homebrew-kdelibs-4.8.0-xT55/kdelibs-4.8.0/build/kdecore /usr/local/Cellar/qt/4.8.0/bin/moc /usr/local/Cellar/cmake/2.8.6/bin/cmake make[2]: make[2]: *** [kjs/CMakeFiles/icemaker_automoc] Error 133*** [kdecore/CMakeFiles/kauth_backend_plugin_automoc] Error 133 make[2]: *** [kdecore/CMakeFiles/ktranscript_automoc] Error 133 make[1]: *** [kjs/CMakeFiles/icemaker_automoc.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... so I decided to make a symlink as a quick workaround... Building C object kdecore/CMakeFiles/kdecore.dir/fakes.o [ 26%] Building CXX object kdecore/CMakeFiles/kdecore.dir/network/k3httpproxysocketdevice.o [ 26%] Building CXX object kdecore/CMakeFiles/kdecore.dir/network/k3socks.o [ 26%] Building CXX object kdecore/CMakeFiles/kdecore.dir/network/k3sockssocketdevice.o [ 26%] Building CXX object kdecore/CMakeFiles/kdecore.dir/util/klibloader.o [ 26%] Building CXX object kdecore/CMakeFiles/kdecore.dir/util/kshareddatacache.o Linking CXX shared library ../lib/libkdecore.dylib Undefined symbols for architecture x86_64: "__nl_msg_cat_cntr", referenced from: KCatalogPrivate::setupGettextEnv() in kcatalog.o ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make[2]: *** [lib/libkdecore.5.8.0.dylib] Error 1 make[1]: *** [kdecore/CMakeFiles/kdecore.dir/all] Error 2 make: *** [all] Error 2 ==> Exit Status: 2 http://github.com/mxcl/homebrew/blob/ma ... mula/.rb#L ==> Environment HOMEBREW_VERSION: 0.8.1 HEAD: 573d5aa7fb83a9f660a067405a9eed504735abb3 HOMEBREW_PREFIX: /usr/local HOMEBREW_CELLAR: /usr/local/Cellar Hardware: 8-core 64-bit sandybridge OS X: 10.6.8 Kernel Architecture: x86_64 Xcode: 4.0 GCC-4.0: N/A GCC-4.2: build 5666 LLVM: build 2335 Clang: 2.0 build 137 MacPorts or Fink? false X11: /usr/X11 System Ruby: 1.8.7-249 /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby Which Perl: /usr/bin/perl Which Python: /usr/bin/python Which Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby ==> 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: -Os -w -pipe -march=core2 -msse4 CXXFLAGS: -Os -w -pipe -march=core2 -msse4 CPPFLAGS: -I/usr/local/Cellar/libffi/3.0.10/include -I/usr/local/Cellar/readline/6.2.2/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/X11/include LDFLAGS: -L/usr/local/Cellar/libffi/3.0.10/lib -L/usr/local/Cellar/readline/6.2.2/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/X11/lib MAKEFLAGS: -j8 PKG_CONFIG_PATH: /usr/local/Cellar/libffi/3.0.10/lib/pkgconfig anyone have an idea what's wrong? my homebrew formula can be found on my github |
Registered Member
|
I am reinstalling gettext with --universal, maybe it is my problem?
my homebrew fork on github https://github.com/somekool/homebrew |
Administrator
|
You likely need to remove "CMakeCache.txt" from your kdelibs build tree. Please note that in general switching between different versions of Qt for the build root does not work due to various internal changes.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
- I kill the CMakeCache.txt at every build...
- the left over from Qt 4.7.4 was within automoc4, I reinstalled it and now I am on pure Qt 4.8.0 - works much better, but I still have an error with lzma (which I also have installed.) [ 23%] Building CXX object kdecore/CMakeFiles/kdecore.dir/util/kpluginloader.o [ 23%] Building CXX object kdecore/CMakeFiles/kdecore.dir/util/kshell.o [ 23%] Building CXX object kdecore/CMakeFiles/kdecore.dir/util/krandom.o [ 23%] Building CXX object kdecore/CMakeFiles/kdecore.dir/util/krandomsequence.o [ 23%] [ 23%] Building CXX object kdecore/CMakeFiles/kdecore.dir/util/qtest_kde.o Building CXX object kdecore/CMakeFiles/kdecore.dir/compression/kbzip2filter.o [ 23%] Building CXX object kdecore/CMakeFiles/kdecore.dir/compression/kxzfilter.o [ 23%] Building CXX object kdecore/CMakeFiles/kdecore.dir/kernel/kkernel_mac.o /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:29:19: error: lzma.h: No such file or directory /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:47: error: ‘lzma_stream’ does not name a type /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp: In constructor ‘KXzFilter::Private::Private()’: /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:43: error: ‘zStream’ was not declared in this scope /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp: In member function ‘virtual void KXzFilter::init(int)’: /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:69: error: ‘lzma_ret’ was not declared in this scope /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:69: error: expected `;' before ‘result’ /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:70: error: ‘class KXzFilter::Private’ has no member named ‘zStream’ /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:71: error: ‘class KXzFilter::Private’ has no member named ‘zStream’ /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:77: error: ‘result’ was not declared in this scope /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:77: error: ‘class KXzFilter::Private’ has no member named ‘zStream’ /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:77: error: ‘lzma_auto_decoder’ was not declared in this scope /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:80: error: ‘result’ was not declared in this scope /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:80: error: ‘class KXzFilter::Private’ has no member named ‘zStream’ /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:80: error: ‘LZMA_PRESET_DEFAULT’ was not declared in this scope /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:80: error: ‘LZMA_CHECK_CRC32’ was not declared in this scope /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:80: error: ‘lzma_easy_encoder’ was not declared in this scope /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp: In member function ‘virtual void KXzFilter::terminate()’: /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:96: error: ‘class KXzFilter::Private’ has no member named ‘zStream’ /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:96: error: ‘lzma_end’ was not declared in this scope /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp: In member function ‘virtual void KXzFilter::setOutBuffer(char*, uint)’: /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:114: error: ‘class KXzFilter::Private’ has no member named ‘zStream’ /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:115: error: ‘class KXzFilter::Private’ has no member named ‘zStream’ /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:115: error: ‘uint8_t’ was not declared in this scope /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:115: error: expected primary-expression before ‘)’ token /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:115: error: expected `;' before ‘data’ /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp: In member function ‘virtual void KXzFilter::setInBuffer(const char*, unsigned int)’: /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:120: error: ‘class KXzFilter::Private’ has no member named ‘zStream’ /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:121: error: ‘class KXzFilter::Private’ has no member named ‘zStream’ /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:121: error: ‘uint8_t’ was not declared in this scope /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:121: error: expected primary-expression before ‘)’ token /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:121: error: expected `;' before ‘const_cast’ /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp: In member function ‘virtual int KXzFilter::inBufferAvailable() const’: /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:126: error: ‘class KXzFilter::Private’ has no member named ‘zStream’ /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp: In member function ‘virtual int KXzFilter::outBufferAvailable() const’: /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:131: error: ‘class KXzFilter::Private’ has no member named ‘zStream’ /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp: In member function ‘virtual KFilterBase::Result KXzFilter::uncompress()’: /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:137: error: ‘lzma_ret’ was not declared in this scope /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:137: error: expected `;' before ‘result’ /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:138: error: ‘result’ was not declared in this scope /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:138: error: ‘LZMA_OK’ was not declared in this scope /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:141: error: ‘LZMA_STREAM_END’ was not declared in this scope /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:144: error: ‘result’ was not declared in this scope /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:145: error: ‘LZMA_OK’ was not declared in this scope /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:147: error: ‘LZMA_STREAM_END’ was not declared in this scope /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp: In member function ‘virtual KFilterBase::Result KXzFilter::compress(bool)’: /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:157: error: ‘lzma_ret’ was not declared in this scope /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:157: error: expected `;' before ‘result’ /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:159: error: ‘result’ was not declared in this scope /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:160: error: ‘LZMA_OK’ was not declared in this scope /tmp/homebrew-kdelibs-4.8.1-Jzm2/kdelibs-4.8.1/kdecore/compression/kxzfilter.cpp:163: error: ‘LZMA_STREAM_END’ was not declared in this scope make[2]: *** [kdecore/CMakeFiles/kdecore.dir/compression/kxzfilter.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [kdecore/CMakeFiles/kdecore.dir/all] Error 2 make: *** [all] Error 2 ==> CMakeCache.txt was copied to /Users/mjobin/Library/Logs/Homebrew ==> Exit Status: 2 http://github.com/mxcl/homebrew/blob/ma ... mula/.rb#L ==> Environment HOMEBREW_VERSION: 0.8.1 HEAD: cfd98284301be2950f76e48128df7ed8b343579c HOMEBREW_PREFIX: /usr/local HOMEBREW_CELLAR: /usr/local/Cellar Hardware: 8-core 64-bit sandybridge OS X: 10.6.8 Kernel Architecture: x86_64 Xcode: 4.0 GCC-4.0: N/A GCC-4.2: build 5666 LLVM: build 2335 Clang: 2.0 build 137 MacPorts or Fink? false X11: /usr/X11 System Ruby: 1.8.7-249 /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby Which Perl: /usr/bin/perl Which Python: /usr/bin/python Which Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby ==> 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: -Os -w -pipe -march=core2 -msse4 CXXFLAGS: -Os -w -pipe -march=core2 -msse4 CPPFLAGS: -I/usr/local/Cellar/libffi/3.0.10/include -I/usr/local/Cellar/readline/6.2.2/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/X11/include LDFLAGS: -L/usr/local/Cellar/libffi/3.0.10/lib -L/usr/local/Cellar/readline/6.2.2/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/X11/lib MAKEFLAGS: -j4 PKG_CONFIG_PATH: /usr/local/Cellar/libffi/3.0.10/lib/pkgconfig Error: Failed executing: make If `brew doctor' does not help diagnose the issue, please report the bug: https://github.com/mxcl/homebrew/wiki/c ... -new-issue bash-3.2$ |
Administrator
|
It appears that you do not have "liblzma" installed - which the KDE on Mac build appears to require (even though this is not checked properly at the CMake stage). You should be able to install this from your build system (Homebrew/Fink/Macports)
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I do have it installed, but it cannot find it.
playing with CMAKE parameters made it passed. thanks |
Registered Member
|
Hoooo.... and so, thank you very very much for write how you do that precisly, that's help all other guys (like me) that has ebben the same problem than you (very sympathic to post the answer).
So... i'm sorry but the answer about how you do it has been probably deleted (i don't know why), so, could you post again your solution ? Thank you very much for share your informations again... |
Administrator
|
@jeromejerome: Can you please post the full error message you are receiving when trying to compile kdelibs?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]