NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

/usr/pkgsrc/x11/kdelibs4/work/kdelibs-4.14.38/kimgio/exr.cpp:15:10: fatal error: ImfRgbaFile.h: No such file or directory whyle trying to install KDE4 from source on NetBSD 9.2



Hello.

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.
nothing to do.

2)

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 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 -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

What can I do ?

--
Mario.


Home | Main Index | Thread Index | Old Index