I'm trying to install kde4 on NetBSD 9.2 but right now unsuccessfully. I tried to do that using two methods :
1)
netbsd-marietto# pkgin install kde4
kde4 is not available in the repository
calculating dependencies...done.
cd /usr/pkgsrc/meta-pkgs/kde4
[ 91%] Building CXX object kimgio/CMakeFiles/kimg_exr.dir/exr.cpp.o
/usr/pkgsrc/x11/kdelibs4/work/kdelibs-4.14.38/kimgio/exr.cpp:15:10: fatal error: ImfRgbaFile.h: No such file or directory
gmake[2]: *** [kimgio/CMakeFiles/kimg_exr.dir/build.make:90: kimgio/CMakeFiles/kimg_exr.dir/exr.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:27312: kimgio/CMakeFiles/kimg_exr.dir/all] Error 2
gmake: *** [Makefile:166: all] Error 2
it seems that it wants that I copy all the *.h files from
/usr/pkg/include/OpenEXR/
/usr/pkgsrc/x11/kdelibs4/work/kdelibs-4.14.38/kimgio/
So ok. I've copied all the *.h files there,but the compilation wasn't successful anyway :
[ 91%] Building CXX object kimgio/CMakeFiles/kimg_exr.dir/exr.cpp.o
[ 91%] Linking CXX shared module ../lib/kimg_exr.so
ld: cannot find -lIlmThread
gmake[2]: *** [kimgio/CMakeFiles/kimg_exr.dir/build.make:122: lib/kimg_exr.so] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:27312: kimgio/CMakeFiles/kimg_exr.dir/all] Error 2
gmake: *** [Makefile:166: all] Error 2