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 (Russian)
  3. Ошибка при компиляции сервера. Версия 4.4.1.

Ошибка при компиляции сервера. Версия 4.4.1.

Scheduled Pinned Locked Moved Support (Russian)
5 Posts 3 Posters 32.2k 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.
  • F
    F
    fuzzy
    wrote on last edited by
    #1

    Здравствуйте!
    При компиляции из исходников выдает ошибку:

    make[3]: вход в каталог «~/netxms-4.4.1/src/libnetxms»
    
      CXX      libnetxms_la-array.lo
      CXX      libnetxms_la-base32.lo
      CXX      libnetxms_la-base64.lo
      CXX      libnetxms_la-bytestream.lo
      CXX      libnetxms_la-calltbl.lo
      CXX      libnetxms_la-cc_mb.lo
      CXX      libnetxms_la-cc_ucs2.lo
      CXX      libnetxms_la-cc_ucs4.lo
      CXX      libnetxms_la-cc_utf8.lo
      CXX      libnetxms_la-cch.lo
      CXX      libnetxms_la-cert.lo
      CXX      libnetxms_la-config.lo
      CXX      libnetxms_la-crypto.lo
      CXX      libnetxms_la-debug_tag_tree.lo
      CXX      libnetxms_la-diff.lo
      CXX      libnetxms_la-dirw_unix.lo
      CXX      libnetxms_la-geolocation.lo
      CXX      libnetxms_la-getopt.lo
      CXX      libnetxms_la-getoptw.lo
      CXX      libnetxms_la-dload.lo
      CXX      libnetxms_la-hash.lo
      CXX      libnetxms_la-hashmapbase.lo
      CXX      libnetxms_la-hashsetbase.lo
      CC       libnetxms_la-ice.lo
      CXX      libnetxms_la-icmp.lo
      CXX      libnetxms_la-iconv.lo
      CXX      libnetxms_la-inet_pton.lo
      CXX      libnetxms_la-inetaddr.lo
      CXX      libnetxms_la-itoa.lo
      CXX      libnetxms_la-log.lo
      CC       libnetxms_la-lz4.lo
      CXX      libnetxms_la-main.lo
    main.cpp:26:10: фатальная ошибка: nxlibcurl.h: Нет такого файла или каталога
    
     #include <nxlibcurl.h>
    

    Сконфигурировано с параметрами:

    ./configure --with-server --with-pgsql --with-agent --prefix=/opt/netxms
    

    С параметром --without-curl ведет себя аналогично.

    1 Reply Last reply
    0
    • R
      R
      robertr
      wrote on last edited by
      #2

      I have the same compiling error.

      main.cpp:26:10: fatal error: nxlibcurl.h: No such file or directory
         26 | #include <nxlibcurl.h>
            |          ^~~~~~~~~~~~~
      compilation terminated.
      make[2]: *** [Makefile:1047: libnetxms_la-main.lo] Error 1
      

      I tried to compile only the Netxms agent on Rocky Linux 9 and Centos 7, with:

       ./configure --prefix=/opt/netxms --with-agent
      
      1 Reply Last reply
      0
      • F
        F
        Filipp Sudanov
        wrote on last edited by
        #3

        В системе должен быть установлен пакет libcurl-dev (так он называется на Debian платформах, на других дистрибутивах возможно иначе)

        Про ключ --without-curl я постараюсь уточнить, возможно он уже не актуален

        1 Reply Last reply
        0
        • R
          R
          robertr
          wrote on last edited by
          #4

          I have lib-curl installed.

          bash-5.1# dnf list installed |grep libcurl
          libcurl.x86_64                              7.76.1-23.el9_2.2                @baseos
          libcurl-devel.x86_64                        7.76.1-23.el9_2.2                @appstream
          
          1 Reply Last reply
          0
          • F
            F
            Filipp Sudanov
            wrote on last edited by
            #5

            I've just tried to compile agent on Centos 7, it was successful. I used https://netxms.org/download/releases/4.4/netxms-4.4.1.tar.gz source archive.

            I used the following commands (mariadb and postures stuff of cource are not needed for agent)

            yum install make libtool gcc gcc-c++ mariadb-devel postgresql-devel pcre-devel expat-devel sqlite-devel openssl-devel libcurl-devel zlib-devel libssh-devel mosquitto-devel

            ./configure --prefix=/opt/netxms --with-agent
            make
            make install

            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