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. Error libpcre32 on CentOS 6

Error libpcre32 on CentOS 6

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 13.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.
  • J
    J
    jfjunior
    wrote on last edited by
    #1

    Hello everybody

    When I try to compile version 3 from source on CentOS 6 I get the following error

    checking for pcre32_compile in -lpcre32... no
    configure: error: libpcre32 is requred

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

      Hi,

      you have to manually install newer libpcre and configure it with libpcre32 enabled. You can use this version: https://ftp.pcre.org/pub/pcre/pcre-8.43.tar.gz and configure it as following:

      ./configure --prefix=/opt/pcre --disable-static --disable-dependency-tracking --enable-pcre16 --enable-pcre32 --disable-cpp --enable-utf --enable-unicode-properties --disable-stack-for-recursion

      It will install correct pcre into /opt/pcre (you can choose different prefix of course). Then add option --with-pcre=/opt/pcre to NetXMS configure.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • J
        J
        jfjunior
        wrote on last edited by
        #3

        Hello Victor, thank you so much for your help.

        Now the following error occurs during make:

        ../../../include/nms_util.h:1930: error: address of overloaded function with no contextual type information
        ../../../include/nms_util.h: In member function ‘EnumerationCallbackResult SynchronizedSharedHashMap<K, V>::forEach(EnumerationCallbackResult (*)(const K*, const V*, C*), C*) const [with C = std::pair<wchar_t*, wchar_t*>, K = unsigned int, V = Action]’:
        actions.cpp:657:  instantiated from here
        ../../../include/nms_util.h:1918: error: address of overloaded function with no contextual type information
        ../../../include/nms_util.h: In member function ‘EnumerationCallbackResult SynchronizedSharedHashMap<K, V>::forEach(EnumerationCallbackResult (*)(const K*, const V*, C*), C*) const [with C = wchar_t, K = unsigned int, V = Action]’:
        actions.cpp:677:  instantiated from here
        ../../../include/nms_util.h:1918: error: address of overloaded function with no contextual type information
        ../../../include/nms_util.h: In member function ‘EnumerationCallbackResult SynchronizedSharedHashMap<K, V>::forEach(EnumerationCallbackResult (*)(const K*, const V*, C*), C*) const [with C = SendActionData, K = unsigned int, V = Action]’:
        actions.cpp:711:  instantiated from here
        ../../../include/nms_util.h:1918: error: address of overloaded function with no contextual type information
        ../../../include/nms_util.h: In member function ‘const shared_ptr<U>& SynchronizedSharedHashMap<K, V>::findElement(bool (*)(const K*, const V*, C*), C*) const [with C = const uuid, K = unsigned int, V = Action]’:
        actions.cpp:795:  instantiated from here
        ../../../include/nms_util.h:1930: error: address of overloaded function with no contextual type information
        At global scope:
        cc1plus: warning: unrecognized command line option "-Wno-format-truncation"
        cc1plus: warning: unrecognized command line option "-Wno-unused-result"
        make[4]: *** [libnxcore_la-actions.lo] Error 1
        make[4]: Leaving directory `/usr/local/src/netxms-3.0.2258/src/server/core'
        make[3]: *** [all-recursive] Error 1
        make[3]: Leaving directory `/usr/local/src/netxms-3.0.2258/src/server'
        make[2]: *** [all-recursive] Error 1
        make[2]: Leaving directory `/usr/local/src/netxms-3.0.2258/src'
        make[1]: *** [all-recursive] Error 1
        make[1]: Leaving directory `/usr/local/src/netxms-3.0.2258'
        make: *** [all] Error 2

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

          I suspect that compiler shipped with CentOS 6 may be too old. My recommendation is to upgrade platform to CentOS 7.

          Best regards,
          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