![]() |
|
NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
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 |
|
||||
![]()
See https://mail-index.netbsd.org/pkgsrc...msg237932.html. Providing this is not included in 2021Q2, you may apply the patch yourself using LOCALPATCHES or switch to pkgsrc-current packages
__________________
“Mi casa tendrá dos piernas y mis sueños no tendrán fronteras„ |
|
|||
![]()
thanks. The files that I should patch are already patched,probably because yesterday I did : cd /usr/pkgsrc && cvs up -dPA ? BTW,the problem is still there.
|
|
|||
![]()
I can understand you,but the problem is that sometimes I'm not able to install a package with pkgin,because...it isn't in the repository. So I'm forced to compile it from source,if I want to have it. what's the solution of this ? maybe installing everything from the source ? because as I see,from the source I've always found everything,as binary no.
|
|
|||
![]()
How can I upgrade the binary packages to the current stage to sync them with the pkgsrc current ?
|
|
||||
![]() Quote:
You find various current pbulks here (I had already linked this above); naturally you can't expect even the latest one to be in sync with most recent pkgsrc-current changes. My personal recommendation however (I'm not really a fan of cutting edge) is to either replace your pkgsrc tree with pkgsrc-2021Q2, and build from that (so that you'll be 100% sure it's in sync with stable binary packages, which currently are based on 2021Q2), or compile everything from source with current. There are tool to automatize the process, such as pkg_comp. If you decide to stay with stable quarterly packages, you can still apply the patch you want with LOCALPATCHES, as I showed you above, and see if this fixes the problem
__________________
“Mi casa tendrá dos piernas y mis sueños no tendrán fronteras„ |
![]() |
Tags |
compile, kde kde4, pkgsrc |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
cannot open cd0a:/etc/random.seed: No such file or directory | Amithapr | OpenBSD Installation and Upgrading | 11 | 28th September 2017 09:57 AM |
deleting a file or directory | divadgnol67 | OpenBSD General | 7 | 1st April 2011 03:31 PM |
NetBSD 5.0.2 , kde4 , kdm startup | robbtek | NetBSD Package System (pkgsrc) | 1 | 3rd March 2010 12:18 PM |
Archiving a log file to a directory with the date incorporated in the new name | J65nko | Programming | 1 | 6th February 2010 03:02 AM |
Jails - mount: /usr/home: No such file or directory | chris | FreeBSD General | 6 | 6th August 2008 10:47 PM |