Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Unable to install NetXMS on Linux

Unable to install NetXMS on Linux

Scheduled Pinned Locked Moved Support
7 Posts 3 Posters 18.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    R
    redro
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • C
        C
        ccawa
        wrote on last edited by
        #3

        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)?

        1 Reply Last reply
        0
        • V
          V
          Victor Kirhenshtein
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          • C
            C
            ccawa
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            • V
              V
              Victor Kirhenshtein
              wrote on last edited by
              #6

              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

              1 Reply Last reply
              0
              • C
                C
                ccawa
                wrote on last edited by
                #7

                Installation complete!
                Thanks for Your help, Victor.

                1 Reply Last reply
                0

                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
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                Powered by NodeBB Contributors
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups