I just want to use KDE!
I searched, but I couldn't get information about this.
This is my memo to remeber what I did. So some details may be omitted.
I'm not good at English.
Environment
- HARDWARE
- SOFTWARE
Build Qt-4.8.5
- Download source.
Fix source.
Line 899 in
qt-everywhere-opensource-src-4.8.5/src/gui/dialogs/qfiledialog.cpp
,getpwnum_r
in OI151 is defined as conformed to POSIX, Qt detects as Solaris OS and_POSIX_C_SOURCE
is not defined.err = getpwnam_r(userName.toLocal8Bit().constData(), &pw, buf, bufSize, &tmpPw);
CC=cc CXX=CC CFLAGS="-xarch=sse3 -m64 -O5" CXXFLAGS="-xarch=sse3 -m64" LDFLAGS="-xarch=sse3 -m64" ./configure --prefix=/opt/kde
-O5
option seems ignored. Because they use-O2
.
gmake
and pray for all.gmake install
Build CMake-2.8.12
- Download source.
Fix source.
CMake configure detects that OI have the function
backtrace_symbols
, but at the line 1383 incmake-2.8.12/Source/kwsys/SystemInformation.cxx
they use that function without includingexecinfo.h
. Workaround fix is to add#include <execinfo.h>
somewhere in global scope before that line.CC=cc CXX=CC CFLAGS="-xarch=sse3 -m64 -O5" CXXFLAGS="-xarch=sse3 -m64" LDFLAGS="-xarch=sse3 -m64" ./configure --prefix=/opt/kde
gmake
and pray for all.gmake install