[blfs-support] Some comments compiling kde4, YEEY Succes

wim meest wim.meest at gmail.com
Fri Feb 17 23:47:49 PST 2012


Finally i got kde-6.5.0 build
pciutils needed -fPIC did this to the makefile:
------------
diff -aur pciutils-3.1.8/Makefile pciutils-3.1.8a/Makefile
--- pciutils-3.1.8/Makefile     2011-10-02 13:28:55.000000000 +0200
+++ pciutils-3.1.8a/Makefile    2012-02-17 22:54:33.335000116 +0100
@@ -2,7 +2,7 @@
 # (c) 1998--2011 Martin Mares <mj at ucw.cz>

 OPT=-O2
-CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes
-Wmissing-prototypes
+CFLAGS=$(OPT) -fPIC -Wall -W -Wno-parentheses -Wstrict-prototypes
-Wmissing-prototypes

 VERSION=3.1.8
 DATE=2011-10-02
-----------------------
and this to the blfs make instructions:
make PREFIX=/usr ZLIB=no
make PREFIX=/usr ZLIB=no SHARED=yes
make PREFIX=/usr install
make PREFIX=/usr install-lib

kdeutils lots of warning but builds.
kdemultimedia-4.6.5 needed this patch:
---------------------
cat >patch.diff<<"EOF"
diff -aur kdemultimedia-4.6.5/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp
kdemultimedia-4.6.5a/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp
--- kdemultimedia-4.6.5/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp
2011-01-19 23:23:19.000000000 +0100
+++ kdemultimedia-4.6.5a/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp
       2012-02-18 08:37:08.474847067 +0100
@@ -122,7 +122,7 @@
 void MovieDecoder::initializeVideo()
 {
     for (unsigned int i = 0; i < m_pFormatContext->nb_streams; i++) {
-        if (m_pFormatContext->streams[i]->codec->codec_type ==
CODEC_TYPE_VIDEO) {
+        if (m_pFormatContext->streams[i]->codec->codec_type ==
AVMEDIA_TYPE_VIDEO) {
             m_pVideoStream = m_pFormatContext->streams[i];
             m_VideoStream = i;
             break;
EOF
------------------------------
krusader-2.0 would not build
krusader-2.4.0-beta1 did, finally got a filemanager :-).



More information about the blfs-support mailing list