Unable to install NetXMS on Linux
-
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++ compilerThanks,
JP -
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 -
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.hCan I install NetXMS without Oracle client (with Oracle DB only)?
-
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-agentBest regards,
Victor -
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 supportAlso, 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 -
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-agentBest regards,
Victor -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login