News:

We really need your input in this questionnaire

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - franc

#1
Feature Requests / console: Execute command output
July 09, 2008, 09:43:57 PM
It is a possible to get command output of commands executed on management sever? I have some self-made scripts to
get inventory from severs and I have to show output of these commands to management console output window. Second question is to change font on output window - it is possible?

Thank You
fr
#2
It is possible to read environment variable from windows agent? I try to create template to read value of free space on system partition and I can't set agent parameter to value of %SystemDrive% variable. I can use only C:\, D:\ and so on, but not all of ours servers has assigned C:\ as system drive.

Thank You for information.
fr
#3
General Support / Problems with libtool
January 23, 2007, 12:07:14 AM
Hi guys, I'm having awful trouble building the source, it seems to stop at libtool, I've tried giving full permissions to the directory and all the residing files but that didn't sort it either, any suggestions?

Here's a dump from the shell, this is as far as I get after doing a make:

build/lib\"   -c -o config.lo `test -f 'config.cpp' || echo './'`config.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -I/usr/local/include -D_XOPEN_SOURCE=500 -D_THREAD_SAFE -DDATADIR=\"/home/netxms/netxmsbuild/share/netxms\" -DLIBDIR=\"/home/netxms/netxmsbuild/lib\" -c config.cpp  -fPIC -DPIC -o .libs/config.o
../../libtool: line 1: g++: command not found
make[3]: *** [config.lo] Error 1
make[3]: Leaving directory `/home/netxms/netxms/src/libnetxms'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/netxms/netxms/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/netxms/netxms'
make: *** [all] Error 2
[root@svr netxms]# make
make  all-recursive
make[1]: Entering directory `/home/netxms/netxms'
Making all in m4
make[2]: Entering directory `/home/netxms/netxms/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/netxms/netxms/m4'
Making all in contrib
make[2]: Entering directory `/home/netxms/netxms/contrib'
Making all in dct
make[3]: Entering directory `/home/netxms/netxms/contrib/dct'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/netxms/netxms/contrib/dct'
Making all in startup
make[3]: Entering directory `/home/netxms/netxms/contrib/startup'
Making all in gentoo
make[4]: Entering directory `/home/netxms/netxms/contrib/startup/gentoo'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/netxms/netxms/contrib/startup/gentoo'
Making all in redhat
make[4]: Entering directory `/home/netxms/netxms/contrib/startup/redhat'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/netxms/netxms/contrib/startup/redhat'
make[4]: Entering directory `/home/netxms/netxms/contrib/startup'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/netxms/netxms/contrib/startup'
make[3]: Leaving directory `/home/netxms/netxms/contrib/startup'
Making all in mibs
make[3]: Entering directory `/home/netxms/netxms/contrib/mibs'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/netxms/netxms/contrib/mibs'
Making all in backgrounds
make[3]: Entering directory `/home/netxms/netxms/contrib/backgrounds'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/netxms/netxms/contrib/backgrounds'
make[3]: Entering directory `/home/netxms/netxms/contrib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/netxms/netxms/contrib'
make[2]: Leaving directory `/home/netxms/netxms/contrib'
Making all in src
make[2]: Entering directory `/home/netxms/netxms/src'
Making all in libnetxms
make[3]: Entering directory `/home/netxms/netxms/src/libnetxms'
source='config.cpp' object='config.lo' libtool=yes \
depfile='.deps/config.Plo' tmpdepfile='.deps/config.TPlo' \
depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include  -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -I/usr/local/include -D_XOPEN_SOURCE=500 -D_THREAD_SAFE -DDATADIR=\"/home/netxms/netxmsbuild/share/netxms\" -DLIBDIR=\"/home/netxms/netxmsbuild/lib\"   -c -o config.lo `test -f 'config.cpp' || echo './'`config.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -I/usr/local/include -D_XOPEN_SOURCE=500 -D_THREAD_SAFE -DDATADIR=\"/home/netxms/netxmsbuild/share/netxms\" -DLIBDIR=\"/home/netxms/netxmsbuild/lib\" -c config.cpp  -fPIC -DPIC -o .libs/config.o
../../libtool: line 1: g++: command not found
make[3]: *** [config.lo] Error 1
make[3]: Leaving directory `/home/netxms/netxms/src/libnetxms'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/netxms/netxms/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/netxms/netxms'
make: *** [all] Error 2
You have new mail in /var/spool/mail/root
[root@svr netxms]# su
[root@svr netxms]# make
make  all-recursive
make[1]: Entering directory `/home/netxms/netxms'
Making all in m4
make[2]: Entering directory `/home/netxms/netxms/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/netxms/netxms/m4'
Making all in contrib
make[2]: Entering directory `/home/netxms/netxms/contrib'
Making all in dct
make[3]: Entering directory `/home/netxms/netxms/contrib/dct'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/netxms/netxms/contrib/dct'
Making all in startup
make[3]: Entering directory `/home/netxms/netxms/contrib/startup'
Making all in gentoo
make[4]: Entering directory `/home/netxms/netxms/contrib/startup/gentoo'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/netxms/netxms/contrib/startup/gentoo'
Making all in redhat
make[4]: Entering directory `/home/netxms/netxms/contrib/startup/redhat'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/netxms/netxms/contrib/startup/redhat'
make[4]: Entering directory `/home/netxms/netxms/contrib/startup'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/netxms/netxms/contrib/startup'
make[3]: Leaving directory `/home/netxms/netxms/contrib/startup'
Making all in mibs
make[3]: Entering directory `/home/netxms/netxms/contrib/mibs'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/netxms/netxms/contrib/mibs'
Making all in backgrounds
make[3]: Entering directory `/home/netxms/netxms/contrib/backgrounds'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/netxms/netxms/contrib/backgrounds'
make[3]: Entering directory `/home/netxms/netxms/contrib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/netxms/netxms/contrib'
make[2]: Leaving directory `/home/netxms/netxms/contrib'
Making all in src
make[2]: Entering directory `/home/netxms/netxms/src'
Making all in libnetxms
make[3]: Entering directory `/home/netxms/netxms/src/libnetxms'
source='config.cpp' object='config.lo' libtool=yes \
depfile='.deps/config.Plo' tmpdepfile='.deps/config.TPlo' \
depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include  -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -I/usr/local/include -D_XOPEN_SOURCE=500 -D_THREAD_SAFE -DDATADIR=\"/home/netxms/netxmsbuild/share/netxms\" -DLIBDIR=\"/home/netxms/netxmsbuild/lib\"   -c -o config.lo `test -f 'config.cpp' || echo './'`config.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -I/usr/local/include -D_XOPEN_SOURCE=500 -D_THREAD_SAFE -DDATADIR=\"/home/netxms/netxmsbuild/share/netxms\" -DLIBDIR=\"/home/netxms/netxmsbuild/lib\" -c config.cpp  -fPIC -DPIC -o .libs/config.o
../../libtool: line 1: g++: command not found
make[3]: *** [config.lo] Error 1
make[3]: Leaving directory `/home/netxms/netxms/src/libnetxms'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/netxms/netxms/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/netxms/netxms'
make: *** [all] Error 2
[root@svr netxms]# yum install netxms
Gathering header information file(s) from server(s)
Server: CentOS-3.1 - Addons
Server: CentOS-3.1 - Base
Server: CentOS-3.1 - Extras
Server: CentOS-3.1 - Updates
Finding updated packages
Downloading needed headers
Cannot find a package matching netxms
No actions to take
You have new mail in /var/spool/mail/root
[root@svr netxms]# make
make  all-recursive
make[1]: Entering directory `/home/netxms/netxms'
Making all in m4
make[2]: Entering directory `/home/netxms/netxms/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/netxms/netxms/m4'
Making all in contrib
make[2]: Entering directory `/home/netxms/netxms/contrib'
Making all in dct
make[3]: Entering directory `/home/netxms/netxms/contrib/dct'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/netxms/netxms/contrib/dct'
Making all in startup
make[3]: Entering directory `/home/netxms/netxms/contrib/startup'
Making all in gentoo
make[4]: Entering directory `/home/netxms/netxms/contrib/startup/gentoo'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/netxms/netxms/contrib/startup/gentoo'
Making all in redhat
make[4]: Entering directory `/home/netxms/netxms/contrib/startup/redhat'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/netxms/netxms/contrib/startup/redhat'
make[4]: Entering directory `/home/netxms/netxms/contrib/startup'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/netxms/netxms/contrib/startup'
make[3]: Leaving directory `/home/netxms/netxms/contrib/startup'
Making all in mibs
make[3]: Entering directory `/home/netxms/netxms/contrib/mibs'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/netxms/netxms/contrib/mibs'
Making all in backgrounds
make[3]: Entering directory `/home/netxms/netxms/contrib/backgrounds'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/netxms/netxms/contrib/backgrounds'
make[3]: Entering directory `/home/netxms/netxms/contrib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/netxms/netxms/contrib'
make[2]: Leaving directory `/home/netxms/netxms/contrib'
Making all in src
make[2]: Entering directory `/home/netxms/netxms/src'
Making all in libnetxms
make[3]: Entering directory `/home/netxms/netxms/src/libnetxms'
source='config.cpp' object='config.lo' libtool=yes \
depfile='.deps/config.Plo' tmpdepfile='.deps/config.TPlo' \
depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include  -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -I/usr/local/include -D_XOPEN_SOURCE=500 -D_THREAD_SAFE -DDATADIR=\"/home/netxms/netxmsbuild/share/netxms\" -DLIBDIR=\"/home/netxms/netxmsbuild/lib\"   -c -o config.lo `test -f 'config.cpp' || echo './'`config.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -I/usr/local/include -D_XOPEN_SOURCE=500 -D_THREAD_SAFE -DDATADIR=\"/home/netxms/netxmsbuild/share/netxms\" -DLIBDIR=\"/home/netxms/netxmsbuild/lib\" -c config.cpp  -fPIC -DPIC -o .libs/config.o
../../libtool: line 1: g++: command not found
make[3]: *** [config.lo] Error 1
make[3]: Leaving directory `/home/netxms/netxms/src/libnetxms'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/netxms/netxms/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/netxms/netxms'
make: *** [all] Error 2
You have new mail in /var/spool/mail/root
[root@svr netxms]#