Ошибки при сборке nxhttpd
-
Всё собираеться нормально за исключением веб интерфейса а именно такие ошибки при сборке 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.
-
Похоже GD собран без поддержки png. Попробуйте перемерджить gd с USE=png.
-
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