This won't build for me (make: *** [Makefile:156: all] Error 2);
[ 93%] Building C object CMakeFiles/dnet.dir/src/tun-linux.c.o\
[100%] Linking C static library libdnet.a\
[100%] Built target dnet\
[ 26%] Performing install step for '_libdnet'\
[100%] Built target dnet\
Install the project...\
-- Install configuration: ""\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/lib/libdnet.a\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/include/dnet/dnet/addr.h\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/include/dnet/dnet/arp.h\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/include/dnet/dnet/blob.h\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/include/dnet/dnet/eth.h\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/include/dnet/dnet/fw.h\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/include/dnet/dnet/icmp.h\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/include/dnet/dnet/intf.h\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/include/dnet/dnet/ip.h\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/include/dnet/dnet/ip6.h\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/include/dnet/dnet/ndisc.h\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/include/dnet/dnet/os.h\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/include/dnet/dnet/rand.h\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/include/dnet/dnet/route.h\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/include/dnet/dnet/sctp.h\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/include/dnet/dnet/tcp.h\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/include/dnet/dnet/tun.h\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/include/dnet/dnet/udp.h\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/include/dnet/dnet.h\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/include/dnet/err.h\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/include/dnet/queue.h\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/include/dnet/config.h\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/lib/cmake/dnet/dnetTargets.cmake\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/lib/cmake/dnet/dnetTargets-noconfig.cmake\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/lib/cmake/dnet/dnetConfig.cmake\
-- Installing: /home/bran/.cache/paru/clone/opencpn/src/OpenCPN-Release_5.10.2/build/libdnet-src/installed/lib/cmake/dnet/dnetConfigVersion.cmake\
[ 26%] No test step for '_libdnet'\
[ 26%] Completed '_libdnet'\
[ 26%] Built target _libdnet\
[ 26%] Built target GARMINHOST\
make: *** [Makefile:156: all] Fel 2\
==> FEL: Ett fel uppstod i build().\
Avbryter...\
fel: misslyckades med att bygga 'opencpn-5.10.2-3':\
fel: bygge misslyckat för paket: opencpn-5.10.2-3\
Pinned Comments
cybuzuma commented on 2022-09-29 08:33 (UTC) (edited on 2025-04-19 17:51 (UTC) by cybuzuma)
Please note that when using this package, you will not be able to use the Plugin Manager but have to install plugins via the aur or compile them yourself. If you need a plugin that is not in the aur, feel free to contact me for help.
If you added a plugin to an existing install before 5.10.2-3 or compiled a plugin yourself and can not see it in the plugin list, add the following to your
~/.opencpn/opencpn.conf
file (thanks to @zimm):You can find the correct name by looking at the files in
/usr/lib/opencpn
.If you encounter errors with plugins after an opencpn update, you might need to rebuild the affected plugin, for example using
makepkg -fi
.