View Single Post
  #1   (View Single Post)  
Old 15th September 2021
marietto2021 marietto2021 is offline
New User
 
Join Date: Jul 2021
Posts: 8
Default ImfRgbaFile.h: No such file or directory whyle installing KDE4 on NetBSD 9.2

Hello.

I'm trying to install kde4 on NetBSD 9.2 but right now unsuccesfully. I tried to do that using two methods :

1)

Code:
netbsd-marietto# pkgin install kde4

kde4 is not available in the repository

calculating dependencies...done.

nothing to do.

2)


Code:
cd /usr/pkgsrc/meta-pkgs/kde4

make

......

[ 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

#include <ImfRgbaFile.h>

^~~~~~~~~~~~~~~

compilation terminated.

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/

TO

/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 succesfull anyway :


Code:
.....

[ 91%] Building CXX object kimgio/CMakeFiles/kimg_exr.dir/exr.cpp.o

[ 91%] Linking CXX shared module ../lib/kimg_exr.so

ld: cannot find -lImath

ld: cannot find -lIlmImf

ld: cannot find -lIex

ld: cannot find -lHalf

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
Reply With Quote