Installing on Raspberry (Raspbian)
-
Hi all,
I read in another topic that someone was able to compile the netxms agen on a raspberry i tried but failed. as the other topic is closed i am creating a new one.
Here are the steps i took:- Download Netxms Full Source from netxms site: https://www.netxms.org/download ( netxms-1.2.14.tar.gz )
- Extract on computer en transfer to Raspbian using SFTP
a) put the sources in /tmp/netxms - Open ssh to Raspberry
- sudo apt-get update
- sudo apt-get upgrade
- sudo apt-get install libssl-dev
- go to /tmp/netxms
- sudo sh configure --with-agent --libdir=/usr/lib --disable-iconv (This runs without any error)
- sudo make
Getting alot of the following errors
sender.cpp:253:80: warning: use of 'h' length modifier with 's' type character [-Wformat]
sender.cpp:253:80: warning: use of 'h' length modifier with 's' type character [-Wformat]
sender.cpp:283:102: warning: use of 'h' length modifier with 's' type character [-Wformat]
sender.cpp:283:102: warning: use of 'h' length modifier with 's' type character [-Wformat]
sender.cpp:306:102: warning: use of 'h' length modifier with 's' type character [-Wformat]
sender.cpp:306:102: warning: use of 'h' length modifier with 's' type character [-Wformat]drbd.cpp:189:66: warning: use of 'h' length modifier with 'c' type character [-Wformat]
CXX linux_la-hddinfo.lo
CXX linux_la-iostat.lo
iostat.cpp: In function 'void ParseIoStat(char*)':
iostat.cpp:118:127: warning: use of 'h' length modifier with 's' type character [-Wformat]
CXX linux_la-linux.lo
CXX linux_la-net.lo
net.cpp: In function 'LONG H_NetIfList(const char*, const char*, StringList*)':
net.cpp:413:28: warning: use of 'h' length modifier with 's' type character [-Wformat]
net.cpp:413:28: warning: use of 'h' length modifier with 's' type character [-Wformat]
net.cpp:413:28: warning: use of 'h' length modifier with 's' type character [-Wformat]
net.cpp:413:28: warning: use of 'h' length modifier with 's' type character [-Wformat]
net.cpp:413:28: warning: use of 'h' length modifier with 's' type character [-Wformat]
net.cpp:413:28: warning: use of 'h' length modifier with 's' type character [-Wformat]at the end i get this:
../../../tools/create_ssa_list.sh "" > static_subagents.cpp
/bin/bash: ../../../tools/create_ssa_list.sh: Permission denied
make[4]: *** [static_subagents.cpp] Error 126
make[4]: Leaving directory `/tmp/netxms/src/agent/core'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/netxms/src/agent'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/netxms/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/netxms'
make: *** [all] Error 2- sudo make install
- cp contrib/nxagent.conf-dist /etc/nxagentd.conf
- sudo /usr/local/bin/nxagentd –d
So after this i looked in the usr/local/bin but there is no nxagentd
am i missing something or did i forget something?
any info, tips or help is welcome

grtz,
Michiel
-
Hi!
Check that tools/create_ssa_list.sh has executable permission.
Best regards,
Victor
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login