I am trying to upgrade my Zenoss 2.1.0 installation to 2.1.3, unfortumately the 
upgrade fails when it attempts to install the nagios plugins. The error would 
appear to be with the check_pgsql module. Does anyone have any idea how I can 
complete the installation?

The error log shows the following:

gcc -g -O2 -o check_users check_users.o utils.o popen.o  
-L/home/zenoss/zenoss-2.1.3/build/nagios-plugins-1.4.5/plugins 
../lib/libnagiosplug.a ../lib/libcoreutils.a -ldl -lssl -lcrypto
if gcc -DLOCALEDIR=\"/usr/local/zenoss/share/locale\" -DHAVE_CONFIG_H -I. -I. 
-I.. -I.. -I../lib -I../intl  -I/usr/include/postgresql -I/usr/include    -g 
-O2 -MT negate.o -MD -MP -MF ".deps/negate.Tpo" -c -o negate.o negate.c; \
        then mv -f ".deps/negate.Tpo" ".deps/negate.Po"; else rm -f 
".deps/negate.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2  -L. -o negate  negate.o 
utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a popen.o -ldl -lssl 
-lcrypto 
gcc -g -O2 -o negate negate.o utils.o popen.o  
-L/home/zenoss/zenoss-2.1.3/build/nagios-plugins-1.4.5/plugins 
../lib/libnagiosplug.a ../lib/libcoreutils.a -ldl -lssl -lcrypto
if gcc -DLOCALEDIR=\"/usr/local/zenoss/share/locale\" -DHAVE_CONFIG_H -I. -I. 
-I.. -I.. -I../lib -I../intl  -I/usr/include/postgresql -I/usr/include    -g 
-O2 -MT urlize.o -MD -MP -MF ".deps/urlize.Tpo" -c -o urlize.o urlize.c; \
        then mv -f ".deps/urlize.Tpo" ".deps/urlize.Po"; else rm -f 
".deps/urlize.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2  -L. -o urlize  urlize.o 
utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a popen.o -ldl -lssl 
-lcrypto 
gcc -g -O2 -o urlize urlize.o utils.o popen.o  
-L/home/zenoss/zenoss-2.1.3/build/nagios-plugins-1.4.5/plugins 
../lib/libnagiosplug.a ../lib/libcoreutils.a -ldl -lssl -lcrypto
if gcc -DLOCALEDIR=\"/usr/local/zenoss/share/locale\" -DHAVE_CONFIG_H -I. -I. 
-I.. -I.. -I../lib -I../intl  -I/usr/include/postgresql -I/usr/include    -g 
-O2 -MT check_pgsql.o -MD -MP -MF ".deps/check_pgsql.Tpo" -c -o check_pgsql.o 
check_pgsql.c; \
        then mv -f ".deps/check_pgsql.Tpo" ".deps/check_pgsql.Po"; else rm -f 
".deps/check_pgsql.Tpo"; exit 1; fi
check_pgsql.c:71: error: ‘NAMEDATALEN’ undeclared here (not in a function)
make[2]: *** [check_pgsql.o] Error 1
make[2]: Leaving directory 
`/home/zenoss/zenoss-2.1.3/build/nagios-plugins-1.4.5/plugins'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory 
`/home/zenoss/zenoss-2.1.3/build/nagios-plugins-1.4.5'


Regards,
Dave.




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=18493#18493

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to