Hi,
I have attempted to rebuild opsview-build but am failing on the
following, does anyone have any ideas.
Regards
Mark
tar --gzip -xf check_radius_ih-1.1.tgz
cd check_radius_ih-1.1 && patch -p1 < ../patches/
check_radius_ih_makefile.patch
patching file Makefile.in
if [ `uname -s` = SunOS ] ; then \
cd check_radius_ih-1.1 && patch -p1 < ../patches/
check_radius_build_on_solaris ;\
fi
cd check_radius_ih-1.1 && ./configure --exec-prefix=/usr/local/nagios/
libexec && make
creating cache ./config.cache
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking this systems operating system... Linux
checking for socket in -lsocket... no
checking for inet_addr in -lnsl... yes
checking if to compile in debug mode... no
updating cache ./config.cache
creating ./config.status
creating Makefile
make[2]: Entering directory `/var/install/opsview-base/opsview-
base-3.1.0.2553/check_radius_ih-1.1'
gcc -Wall -O3 -c check_radius_ih.c -o check_radius_ih.o
check_radius_ih.c:147: error: 'PATH_MAX' undeclared here (not in a
function)
check_radius_ih.c: In function 'fnGatherInformation':
check_radius_ih.c:283: warning: ignoring return value of 'fgets',
declared with attribute warn_unused_result
check_radius_ih.c:306: warning: ignoring return value of 'fgets',
declared with attribute warn_unused_result
make[2]: *** [check_radius_ih.o] Error 1
make[2]: Leaving directory `/var/install/opsview-base/opsview-
base-3.1.0.2553/check_radius_ih-1.1'
make[1]: *** [check_radius_ih-1.1] Error 2
make[1]: Leaving directory `/var/install/opsview-base/opsview-
base-3.1.0.2553'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
If i commented out the section to build the above it then fails on the
following but i am unsure what it is supposed to be making thus where
to start to fix it.
tar --gzip -xf allmibs.tar.gz -C /var/install/opsview-base/opsview-
base-3.1.0.2553/debian/opsview-base//usr/local/nagios/snmp/all
chown -R nagios:nagios /var/install/opsview-base/opsview-
base-3.1.0.2553/debian/opsview-base//usr/local/nagios/snmp/all/
cd && make install
make[2]: Entering directory `/root'
make[2]: *** No rule to make target `install'. Stop.
make[2]: Leaving directory `/root'
make[1]: *** [-install] Error 2
make[1]: Leaving directory `/var/install/opsview-base/opsview-
base-3.1.0.2553'
make: *** [install] Error 2
dpkg-buildpackage: failure: fakeroot debian/rules binary gave error
exit status 2
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/listinfo/opsview-users