[blfs-support] kdelibs-4.14.1 pakage cannot compile 100% it stopped at 89% and gives a error

Sainadh J jsainadh at ymail.com
Mon Nov 24 06:38:58 PST 2014

i try to install kde desktop environment in the process i stopped at kdelibs-4.14.1 and i getting the following error:
Scanning dependencies of target kimg_jp2_automoc
[ 89%] Built target kimg_jp2_automoc
Scanning dependencies of target kimg_jp2
[ 89%] Building CXX object kimgio/CMakeFiles/kimg_jp2.dir/kimg_jp2_automoc.o
[ 89%] Building CXX object kimgio/CMakeFiles/kimg_jp2.dir/jp2.o
In file included from /usr/include/string.h:25:0,
                 from /usr/include/qt4/QtCore/qbytearray.h:48,
                 from /usr/include/qt4/QtCore/qstring.h:46,
                 from /usr/include/qt4/QtCore/qobject.h:48,
                 from /usr/include/qt4/QtCore/qplugin.h:45,
                 from /usr/include/qt4/QtGui/qimageiohandler.h:45,
                 from /usr/include/qt4/QtGui/QImageIOPlugin:1,
                 from /BLFS_sources/kdelibs-4.14.1/kimgio/jp2.h:10,
                 from /BLFS_sources/kdelibs-4.14.1/kimgio/jp2.cpp:8:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
Linking CXX shared module ../lib/kimg_jp2.so
/usr/bin/ld: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.1/../../../../lib64/libjasper.a(jas_seq.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.1/../../../../lib64/libjasper.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
kimgio/CMakeFiles/kimg_jp2.dir/build.make:116: recipe for target 'lib/kimg_jp2.so' failed
make[2]: *** [lib/kimg_jp2.so] Error 1
CMakeFiles/Makefile2:31778: recipe for target 'kimgio/CMakeFiles/kimg_jp2.dir/all' failed
make[1]: *** [kimgio/CMakeFiles/kimg_jp2.dir/all] Error 2
Makefile:147: recipe for target 'all' failed
make: *** [all] Error 2

i recompile few time but same error i getting please guide me how to solve this issue.Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-support/attachments/20141124/d64a73a2/attachment.html>

More information about the blfs-support mailing list