RE: netxms-2.7 build script issues

From: Victor Kirhenshtein <victor_at_DOMAIN_REMOVED>
Date: Mon, 7 Nov 2005 10:34:02 +0200

Hi!

I supposed that install-exec-hook target executes after all other
installation operations, including library installation. It it right?
Does anybody has experience with it?

Regards,
Victor

-----Original Message-----
From: current_at_myrealbox.com [mailto:current_at_myrealbox.com]
Sent: Sunday, November 06, 2005 5:37 PM
To: bugs_at_netxms.org
Subject: netxms-2.7 build script issues

Hello,

when building netxms in a sandboxed environment the following happens:

   RFC1155-SMI
   PACCESS DENIED open_wr: /usr/share/netxms/mibs/netxms.mib
erfHist-TC-MIB
   NOKIA-IPSO-SYSTEM-MIB
ERROR: Cannot save output file /usr/share/netxms/mibs/netxms.mib (File
I/O
error)
make[3]: Leaving directory
`/var/tmp/portage/netxms-0.2.7/work/netxms-0.2.7'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory
`/var/tmp/portage/netxms-0.2.7/work/netxms-0.2.7'
make[1]: Leaving directory
`/var/tmp/portage/netxms-0.2.7/work/netxms-0.2.7'
man:
making executable: /usr/lib/libnetxms.so.0.0.2
making executable: /usr/lib/libnsm_linux.so.0.0.0
making executable: /usr/lib/libnsm_ping.so.0.0.0
making executable: /usr/lib/libnsm_portCheck.so.0.0.0
making executable: /usr/lib/libnsm_skeleton.so.0.0.0
making executable: /usr/lib/libnxcl.so.0.0.2
making executable: /usr/lib/libnxcore.so.0.0.2
making executable: /usr/lib/libnxcscp.so.0.0.2
making executable: /usr/lib/libnxddr_odbc.so.0.0.2
making executable: /usr/lib/libnxddr_pgsql.so.0.0.2
making executable: /usr/lib/libnxsms_generic.so.0.0.2
making executable: /usr/lib/libnxsnmp.so.0.0.2
making executable: /usr/lib/libnxsrv.so.0.0.2
>>> Completed installing netxms-0.2.7
into /var/tmp/portage/netxms-0.2.7/image/

--------------------------- ACCESS VIOLATION SUMMARY
---------------------------
LOG FILE =
"/var/log/sandbox/sandbox-net-analyzer_-_netxms-0.2.7-32222.log"

open_wr: /usr/share/netxms/mibs/netxms.mib
------------------------------------------------------------------------
--------

The attached patch fixes this, but reveals the next problem:

make install-exec-hook
make[3]: Entering directory
`/var/tmp/portage/netxms-0.2.7/work/netxms-0.2.7'
if test "xyes" = "xyes";
then /var/tmp/portage/netxms-0.2.7/image///usr/bin/nxmibc
-d /var/tmp/portage/netxms-0.2.7/image///usr/share/netxms/mibs
-o
/var/tmp/portage/netxms-0.2.7/image///usr/share/netxms/mibs/netxms.mib;
fi
/var/tmp/portage/netxms-0.2.7/image///usr/bin/nxmibc: error while
loading
shared libraries: libnetxms.so.0: cannot open shared object file: No
such
file or directory

You make the libs executable after trying to access them...

Regards,
Carsten Lohrke
Received on Mon Nov 07 2005 - 10:34:02 EET

This archive was generated by hypermail 2.2.0 : Mon Nov 07 2005 - 10:46:41 EET