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. Ошибки при сборке nxhttpd

Ошибки при сборке nxhttpd

Scheduled Pinned Locked Moved Support (Russian)
3 Posts 2 Posters 16.1k 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.
  • D
    D
    Danpiel
    wrote on last edited by
    #1

    Всё собираеться нормально за исключением веб интерфейса а именно такие ошибки при сборке make и make install

    make[4]: Entering directory `/root/netxms-0.2.21/src/nxhttpd'
    g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include  -D_GNU_SOURCE -I/usr/local/include -D_THREAD_SAFE -DPREFIX=\"/opt\" -DPREFIXW=L\"/opt\" -DDATADIR=\"/opt/share/netxms\" -DLIBDIR=\"/opt/lib\"  -g -O2 -fno-rtti -fno-exceptions -fno-const-strings -Wno-deprecated -MT piechart.o -MD -MP -MF .deps/piechart.Tpo -c -o piechart.o piechart.cpp
    mv -f .deps/piechart.Tpo .deps/piechart.Po
    /bin/sh ../../libtool --tag=CXX   --mode=link g++  -g -O2 -fno-rtti -fno-exceptions -fno-const-strings -Wno-deprecated  -L/usr/local/lib -lpthread -o nxhttpd messages.o alarm.o ctrlpanel.o client.o dataview.o html.o httprequest.o httpresponse.o log.o nxhttpd.o object.o piechart.o session.o smgr.o tools.o ../libnetxms/libnetxms.la ../libnxmap/libnxmap.la ../libnxcl/libnxcl.la -lgd -ldl -lcrypto -lcrypto -lcrypto -lcrypto
    g++ -g -O2 -fno-rtti -fno-exceptions -fno-const-strings -Wno-deprecated -o .libs/nxhttpd messages.o alarm.o ctrlpanel.o client.o dataview.o html.o httprequest.o httpresponse.o log.o nxhttpd.o object.o piechart.o session.o smgr.o tools.o  -L/usr/local/lib -lpthread ../libnetxms/.libs/libnetxms.so ../libnxmap/.libs/libnxmap.so ../libnxcl/.libs/libnxcl.so /usr/lib64/libgd.so -ldl -lcrypto  -Wl,--rpath -Wl,/opt/lib
    piechart.o: In function `PieChart::Build()':
    /root/netxms-0.2.21/src/nxhttpd/piechart.cpp:215: undefined reference to `gdImagePngPtr'
    collect2: ld returned 1 exit status
    make[4]: *** [nxhttpd] Error 1
    make[4]: Leaving directory `/root/netxms-0.2.21/src/nxhttpd'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/root/netxms-0.2.21/src/nxhttpd'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/root/netxms-0.2.21/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/netxms-0.2.21'
    make: *** [all] Error 2
    

    во время первой установки попросил GD, поствил gd-2.0.35 и запустил заново с начала.

    крутиться всё на Gentoo 2.6.24 r8.


    config.log

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

      Похоже GD собран без поддержки png. Попробуйте перемерджить gd с USE=png.

      1 Reply Last reply
      0
      • D
        D
        Danpiel
        wrote on last edited by
        #3

        Большое спасибо, помогло

        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