Unable to install NetXMS on Linux

Started by redro, June 08, 2010, 01:57:07 PM

Previous topic - Next topic

redro

Hi All,

While installing NetXMS on linux, i am getting following message. Please suggest me.

[redro@localhost netxms-1.0.2]$ sh ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for aCC... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for g++... no
configure: error: *** FATAL: Cannot find any usable C++ compiler


Thanks,
JP

Victor Kirhenshtein

Hi!

You do not have C++ compiler installed. You should install g++ package. Actual package name depends on Linux distribution you are using.

Best regards,
Victor

ccawa

Hi!
I can't install NetXMS 1.0.3 on Red Hat Enterprise Linux 5.4 too. I'm using Oracle 10g R2 database. Got this error:

[oracle@oratest netxms-1.0.3]$ ./configure --with-server --with-oracle --with-agent

.....

checking for iconv declaration...
checking oci.h usability... no
checking oci.h presence... no
checking for oci.h... no
configure: error: *** Cannot find oci.h - check your Oracle client installation ***


I'm search the Oracle home directory and find oci.h file:
/u01/app/oracle/product/10.2.0/db_1/rdbms/public/oci.h

Can I install NetXMS without Oracle client (with Oracle DB only)?

Victor Kirhenshtein

Hi!

Try to run configure this way:


CPPFLAGS=-I/u01/app/oracle/product/10.2.0/db_1/rdbms/public ./configure --with-server --with-oracle --with-agent


Best regards,
Victor

ccawa

#4
Next error:
checking for oci.h... yes
checking for nzstrcpy in -lnnz11... no
checking for nzstrcpy in -lnnz10... no
checking for OCIHandleAlloc in -lclntsh... no
configure: error: libclntsh is required for Oracle support


Also, I was installed
oracle-instantclient-basic-10.2.0.3-1.i386.rpm
and
oracle-instantclient-devel-10.2.0.3-1.i386.rpm
but it was no positive effect.

And I'm discover this:

/usr/lib/oracle/10.2.0.3/client/lib/libclntsh.so.10.1
/usr/lib/oracle/10.2.0.3/client/lib/libclntsh.so
/u01/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1
/u01/app/oracle/product/10.2.0/db_1/lib/libclntsh.so

Victor Kirhenshtein

You should specify path to libraries as well. Try to run configure as follows:


CPPFLAGS=-I/u01/app/oracle/product/10.2.0/db_1/rdbms/public LDFLAGS=-L/u01/app/oracle/product/10.2.0/db_1/lib ./configure --with-server --with-oracle --with-agent


Best regards,
Victor

ccawa

Installation complete!
Thanks for Your help, Victor.