On 24.11.2014 15:38, Sainadh J wrote: > Hello, > 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. > > >
Try rebuilding jasper package with the *exact* configure parameters and patch from the book and after doing that, verify that /usr/lib/libjasper.so exists and is a valid symlink. -- Note: My last name is not Krejzi.
signature.asc
Description: OpenPGP digital signature
-- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
