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. Проблема с установкой 1.2.1

Проблема с установкой 1.2.1

Scheduled Pinned Locked Moved Support (Russian)
11 Posts 3 Posters 37.5k 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.
  • A
    A
    Alex
    wrote on last edited by
    #1
    make[5]: Entering directory `/home/INSTALL/netxms-1.2.1/src/agent/subagents/linux'
      CXX    cpu.lo
      CXX    disk.lo
      CXX    drbd.lo
      CXX    hddinfo.lo
      CXX    iostat.lo
      CXX    linux.lo
      CXX    net.lo
      CXX    proc.lo
      CXX    system.lo
      CXXLD  linux.la
    make[5]: Leaving directory `/home/INSTALL/netxms-1.2.1/src/agent/subagents/linux'
    Making all in lmsensors
    make[5]: Entering directory `/home/INSTALL/netxms-1.2.1/src/agent/subagents/lmsensors'
      CXX    main.lo
    main.cpp: In function ‘bool getSensorValue(char*, char*, double*)’:
    main.cpp:57: error: cannot convert ‘sensors_chip_name*’ to ‘int*’ for argument ‘1’ to ‘const sensors_chip_name* sensors_get_detected_chips(int*)’
    main.cpp:58: error: expected initializer before ‘*’ token
    main.cpp:61: error: ‘feature’ was not declared in this scope
    main.cpp:61: error: ‘sensors_get_features’ was not declared in this scope
    main.cpp:73: error: ‘sensors_subfeature_type’ was not declared in this scope
    main.cpp:73: error: expected `;' before ‘types’
    main.cpp:74: error: ‘types’ was not declared in this scope
    main.cpp:74: error: ‘SENSORS_SUBFEATURE_UNKNOWN’ was not declared in this scope
    main.cpp:76: error: ‘SENSORS_FEATURE_TEMP’ was not declared in this scope
    main.cpp:77: error: ‘SENSORS_SUBFEATURE_TEMP_INPUT’ was not declared in this scope
    main.cpp:79: error: ‘SENSORS_FEATURE_IN’ was not declared in this scope
    main.cpp:80: error: ‘SENSORS_SUBFEATURE_IN_INPUT’ was not declared in this scope
    main.cpp:82: error: ‘SENSORS_FEATURE_FAN’ was not declared in this scope
    main.cpp:83: error: ‘SENSORS_SUBFEATURE_FAN_INPUT’ was not declared in this scope
    main.cpp:85: error: ‘SENSORS_FEATURE_VID’ was not declared in this scope
    main.cpp:86: error: ‘SENSORS_SUBFEATURE_VID’ was not declared in this scope
    main.cpp:88: error: ‘SENSORS_FEATURE_POWER’ was not declared in this scope
    main.cpp:94: error: ‘SENSORS_SUBFEATURE_POWER_INPUT’ was not declared in this scope
    main.cpp:95: error: ‘SENSORS_SUBFEATURE_POWER_AVERAGE’ was not declared in this scope
    main.cpp:97: error: ‘SENSORS_FEATURE_ENERGY’ was not declared in this scope
    main.cpp:98: error: ‘SENSORS_SUBFEATURE_ENERGY_INPUT’ was not declared in this scope
    main.cpp:100: error: ‘SENSORS_FEATURE_CURR’ was not declared in this scope
    main.cpp:101: error: ‘SENSORS_SUBFEATURE_CURR_INPUT’ was not declared in this scope
    main.cpp:105: error: expected initializer before ‘*’ token
    main.cpp:106: error: ‘subFeature’ was not declared in this scope
    main.cpp:107: error: ‘sensors_get_subfeature’ was not declared in this scope
    main.cpp:109: error: ‘subFeature’ was not declared in this scope
    main.cpp:111: error: ‘sensors_get_value’ was not declared in this scope
    main.cpp:113: error: ‘SENSORS_FEATURE_TEMP’ was not declared in this scope
    main.cpp:124: error: ‘sensors_free_chip_name’ was not declared in this scope
    make[5]: *** [main.lo] Error 1
    make[5]: Leaving directory `/home/INSTALL/netxms-1.2.1/src/agent/subagents/lmsensors'
    make[4]: *** [all-recursive] Error 1
    make[4]: Leaving directory `/home/INSTALL/netxms-1.2.1/src/agent/subagents'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/home/INSTALL/netxms-1.2.1/src/agent'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/INSTALL/netxms-1.2.1/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/INSTALL/netxms-1.2.1'
    make: *** [all] Error 2
    
    1 Reply Last reply
    0
    • K
      K
      kozlov_ao
      wrote on last edited by
      #2

      Держи:
      https://www.netxms.org/forum/oe-oo/ok-oe-ooe-o-1-0-7-o-1-2-0/15/

      1 Reply Last reply
      0
      • A
        A
        Alex
        wrote on last edited by
        #3

        Ага, а что делать, если мне lm_sensors необходим и деинсталлить его я не хочу??? Дело в том, что у меня CentOS 5.8, а для него нет 3-го lm_sensors. 😞

        1 Reply Last reply
        0
        • K
          K
          kozlov_ao
          wrote on last edited by
          #4

          Тогда думаю кричать:
          "Виктор и Алекс, просим помощи!!" 🙂

          1 Reply Last reply
          0
          • A
            A
            Alex
            wrote on last edited by
            #5

            Имхо написание сюда - это уже и есть крики 🙂

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

              Можно попробовать деинсталлировать только lmsensors dev пакет. На работу это влиять не будет, а configure не найдет нужных файлов и исключит lmsensors subagent из сборки. После сборки агента можно вернуть dev пакет на место если надо.

              1 Reply Last reply
              0
              • A
                A
                Alex
                wrote on last edited by
                #7

                Виктор, а возможно сделать это опционально? Указать флаг к примеру для отключения lm_sensors при сборке?

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

                  Добавил параметр --disable-lmsensors  в configure.

                  1 Reply Last reply
                  0
                  • A
                    A
                    Alex
                    wrote on last edited by
                    #9

                    Это будет в 1.2.2?

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

                      Da.

                      1 Reply Last reply
                      0
                      • A
                        A
                        Alex
                        wrote on last edited by
                        #11

                        Виктор, когда ожидается обновление?

                        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