{"action":"created","issue":{"url":"https://api.github.com/repos/CESNET/Netopeer-GUI/issues/81","labels_url":"https://api.github.com/repos/CESNET/Netopeer-GUI/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/CESNET/Netopeer-GUI/issues/81/comments","events_url":"https://api.github.com/repos/CESNET/Netopeer-GUI/issues/81/events","html_url":"https://github.com/CESNET/Netopeer-GUI/issues/81","id":104764138,"number":81,"title":"error on make install command","user":{"login":"mundo9090","id":14115046,"avatar_url":"https://avatars.githubusercontent.com/u/14115046?v=3","gravatar_id":"","url":"https://api.github.com/users/mundo9090","html_url":"https://github.com/mundo9090","followers_url":"https://api.github.com/users/mundo9090/followers","following_url":"https://api.github.com/users/mundo9090/following{/other_user}","gists_url":"https://api.github.com/users/mundo9090/gists{/gist_id}","starred_url":"https://api.github.com/users/mundo9090/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mundo9090/subscriptions","organizations_url":"https://api.github.com/users/mundo9090/orgs","repos_url":"https://api.github.com/users/mundo9090/repos","events_url":"https://api.github.com/users/mundo9090/events{/privacy}","received_events_url":"https://api.github.com/users/mundo9090/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-03T19:24:41Z","updated_at":"2016-01-04T22:19:30Z","closed_at":"2015-10-27T08:51:44Z","body":"Hello,\r\n\r\nI was able to successfully install the netopeer application, and now I want to install the netopeer GUI. I have been following the instructions provided here (I had to install a number of dependencies in order to reach the point where I am at right now) but when I run 'make install', I get the following errors below (I also attached the outputs of ./bootstrap.sh and ./configure):\r\n\r\nroot@netopeer-netopeer-instance-47qkfwlcsaqy:/var/www/netopeer-gui# ls\r\napp  bin  composer.json  composer.phar  install  LICENSE  README.md  screenshots  src  web\r\nroot@netopeer-netopeer-instance-47qkfwlcsaqy:/var/www/netopeer-gui# cd install/\r\nroot@netopeer-netopeer-instance-47qkfwlcsaqy:/var/www/netopeer-gui/install# ls\r\nbootstrap.sh  configure.ac  Makefile.am  mod_netconf  netopeergui.conf.in  pyang\r\nroot@netopeer-netopeer-instance-47qkfwlcsaqy:/var/www/netopeer-gui/install# ./bootstrap.sh \r\nconfigure.ac:97: installing './compile'\r\nconfigure.ac:97: installing './config.guess'\r\nconfigure.ac:97: installing './config.sub'\r\nconfigure.ac:6: installing './install-sh'\r\nconfigure.ac:6: installing './missing'\r\nMakefile.am: installing './INSTALL'\r\nsrc/Makefile.am: installing './depcomp'\r\nconfigure.ac:6: installing './install-sh'\r\nconfigure.ac:6: installing './missing'\r\nroot@netopeer-netopeer-instance-47qkfwlcsaqy:/var/www/netopeer-gui/install# ./configure\r\nchecking for a BSD-compatible install... /usr/bin/install -c\r\nchecking whether build environment is sane... yes\r\nchecking for a thread-safe mkdir -p... /bin/mkdir -p\r\nchecking for gawk... gawk\r\nchecking whether make sets $(MAKE)... yes\r\nchecking whether make supports nested variables... yes\r\nchecking how to create a pax tar archive... gnutar\r\nchecking for rpmbuild... no\r\nchecking for httpd... no\r\nchecking for apachectl... /usr/sbin/apachectl\r\nchecking for php... /usr/bin/php\r\nchecking for php module dom... yes\r\nchecking for php module json... yes\r\nchecking for php module xml... yes\r\nchecking for php module pdo... yes\r\nchecking for php module intl... yes\r\nchecking for php module sysvsem... yes\r\nchecking for pyang... yes\r\nchecking for python... /usr/bin/python\r\nchecking for rpmbuild... (cached) no\r\nchecking that generated files are newer than configure... done\r\nconfigure: creating ./config.status\r\nconfig.status: creating Makefile\r\nconfig.status: creating netopeergui.conf\r\nconfig.status: creating pyang/Makefile\r\n=== configuring in mod_netconf (/var/www/netopeer-gui/install/mod_netconf)\r\nconfigure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  --cache-file=/dev/null --srcdir=.\r\nchecking for a BSD-compatible install... /usr/bin/install -c\r\nchecking whether build environment is sane... yes\r\nchecking for a thread-safe mkdir -p... /bin/mkdir -p\r\nchecking for gawk... gawk\r\nchecking whether make sets $(MAKE)... yes\r\nchecking whether make supports nested variables... yes\r\nchecking whether make supports nested variables... (cached) yes\r\nchecking for apxs2... /usr/bin/apxs2\r\nchecking for rpmbuild... no\r\nchecking for httpd... no\r\nchecking for apachectl... /usr/sbin/apachectl\r\nchecking for php5_module in apache... yes\r\nchecking for rpmbuild... (cached) no\r\nchecking for pkg-config... /usr/bin/pkg-config\r\nchecking pkg-config is at least version 0.9.0... yes\r\nchecking for json... yes\r\nchecking for websockets... yes\r\nchecking for apr... yes\r\nchecking for aprutil... yes\r\nchecking for netconf... yes\r\nchecking for xml... yes\r\nchecking build system type... x86_64-unknown-linux-gnu\r\nchecking host system type... x86_64-unknown-linux-gnu\r\nchecking for style of include used by make... GNU\r\nchecking for gcc... gcc\r\nchecking whether the C compiler works... yes\r\nchecking for C compiler default output file name... a.out\r\nchecking for suffix of executables... \r\nchecking whether we are cross compiling... no\r\nchecking for suffix of object files... o\r\nchecking whether we are using the GNU C compiler... yes\r\nchecking whether gcc accepts -g... yes\r\nchecking for gcc option to accept ISO C89... none needed\r\nchecking whether gcc understands -c and -o together... yes\r\nchecking dependency style of gcc... gcc3\r\nchecking for the pthreads library -lpthreads... no\r\nchecking whether pthreads work without any flags... no\r\nchecking whether pthreads work with -Kthread... no\r\nchecking whether pthreads work with -kthread... no\r\nchecking for the pthreads library -llthread... no\r\nchecking whether pthreads work with -pthread... yes\r\nchecking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE\r\nchecking if more special flags are required for pthreads... no\r\nchecking for PTHREAD_PRIO_INHERIT... yes\r\nchecking for libwebsocket_create_context in -lwebsockets... yes\r\nchecking how to run the C preprocessor... gcc -E\r\nchecking for grep that handles long lines and -e... /bin/grep\r\nchecking for egrep... /bin/grep -E\r\nchecking for ANSI C header files... yes\r\nchecking for sys/types.h... yes\r\nchecking for sys/stat.h... yes\r\nchecking for stdlib.h... yes\r\nchecking for string.h... yes\r\nchecking for memory.h... yes\r\nchecking for strings.h... yes\r\nchecking for inttypes.h... yes\r\nchecking for stdint.h... yes\r\nchecking for unistd.h... yes\r\nchecking fcntl.h usability... yes\r\nchecking fcntl.h presence... yes\r\nchecking for fcntl.h... yes\r\nchecking for stdlib.h... (cached) yes\r\nchecking for string.h... (cached) yes\r\nchecking sys/socket.h usability... yes\r\nchecking sys/socket.h presence... yes\r\nchecking for sys/socket.h... yes\r\nchecking sys/time.h usability... yes\r\nchecking sys/time.h presence... yes\r\nchecking for sys/time.h... yes\r\nchecking for unistd.h... (cached) yes\r\nchecking for int64_t... yes\r\nchecking for size_t... yes\r\nchecking for ssize_t... yes\r\nchecking for stdlib.h... (cached) yes\r\nchecking for GNU libc compatible malloc... yes\r\nchecking for stdlib.h... (cached) yes\r\nchecking for GNU libc compatible realloc... yes\r\nchecking for getdelim... yes\r\nchecking for gettimeofday... yes\r\nchecking for memset... yes\r\nchecking for socket... yes\r\nchecking for strdup... yes\r\nchecking for strerror... yes\r\nchecking that generated files are newer than configure... done\r\nconfigure: creating ./config.status\r\nconfig.status: creating Makefile\r\nconfig.status: creating config.h\r\nconfig.status: creating mod_netconf.spec\r\nconfig.status: creating conf.d/Makefile\r\nconfig.status: creating src/Makefile\r\nconfig.status: executing depfiles commands\r\n\r\n\r\n------------------------------------------------------------------------\r\nmod_netconf 1.0.2\r\n------------------------------------------------------------------------\r\n\r\n\r\nConfiguration Options Summary:\r\n\r\nDocumentation..........: \r\n\r\nCompilation............: make (or gmake)\r\n  asxs.................: \r\n  LIBS.................: -lwebsockets -ljson-c   -lwebsockets   -L/usr/local/lib -lnetconf   -lxml2  \r\n  CFLAGS...............: -I/usr/include/json-c     -I/usr/local/include   -I/usr/include/libxml2   -DWITH_NOTIFICATIONS\r\n\r\nInstallation...........: make install (as root if needed, with 'su' or 'sudo')\r\n  prefix...............: /usr/local\r\n  python module dir....: \r\n  webgui dir...........: \r\n  webgui name..........: \r\n  httpdmoduledir.......: Apache default path\r\n  httpdconfddir........: /etc/httpd/conf.d\r\nSu user for process:...............: \r\nSu group for process:..............: \r\nChown user for sock file:...............: \r\nChown group for sock file:..............: \r\n\r\n\r\n\r\n------------------------------------------------------------------------\r\nnetopeergui 1.0.0\r\n------------------------------------------------------------------------\r\n\r\n\r\nConfiguration Options Summary:\r\n\r\nDocumentation..........: \r\n\r\nCompilation............: make (or gmake)\r\n  asxs.................: \r\n  LIBS.................: \r\n  CFLAGS...............: \r\n\r\nComponents\r\n  mod_netconf..........: yes\r\n  pyang plugins........: yes\r\n\r\nInstallation...........: make install (as root if needed, with 'su' or 'sudo')\r\n  prefix...............: /usr/local\r\n  python module dir....: /usr/lib/python2.7/dist-packages/pyang/plugins\r\n  webgui dir...........: /var/www\r\n  webgui name..........: netopeer-gui\r\n  httpdmoduledir.......: Apache default path\r\n  httpdconfddir........: /etc/httpd/conf.d\r\n\r\nroot@netopeer-netopeer-instance-47qkfwlcsaqy:/var/www/netopeer-gui/install# make install\r\nMaking install in mod_netconf\r\nmake[1]: Entering directory `/var/www/netopeer-gui/install/mod_netconf'\r\nMaking install in src\r\nmake[2]: Entering directory `/var/www/netopeer-gui/install/mod_netconf/src'\r\ngcc -lwebsockets -ljson-c   -lwebsockets   -L/usr/local/lib -lnetconf   -lxml2   -I/usr/include/json-c     -I/usr/local/include   -I/usr/include/libxml2   -DWITH_NOTIFICATIONS -DHTTPD_INDEPENDENT  `apr-1-config  --cflags --cppflags --includes --link-ld` -I/usr/include/httpd  -laprutil-1 -o webgui-backend ./mod_netconf.c ./notification-server.c\r\n./mod_netconf.c:58:19: fatal error: unixd.h: No such file or directory\r\n #include <unixd.h>\r\n                   ^\r\ncompilation terminated.\r\nIn file included from ./notification-server.c:34:0:\r\n./notification_module.h:48:19: fatal error: httpd.h: No such file or directory\r\n #include <httpd.h>\r\n                   ^\r\ncompilation terminated.\r\nmake[2]: *** [webgui-backend] Error 1\r\nmake[2]: Leaving directory `/var/www/netopeer-gui/install/mod_netconf/src'\r\nmake[1]: *** [install-recursive] Error 1\r\nmake[1]: Leaving directory `/var/www/netopeer-gui/install/mod_netconf'\r\nmake: *** [install-recursive] Error 1\r\n\r\n\r\nPlease help me out here, just to point it out I installed this on Ubuntu 14.04 (and I believe that httpd is the centOS version of apache but not sure).\r\n\r\nThank you!\r\n"},"comment":{"url":"https://api.github.com/repos/CESNET/Netopeer-GUI/issues/comments/168829067","html_url":"https://github.com/CESNET/Netopeer-GUI/issues/81#issuecomment-168829067","issue_url":"https://api.github.com/repos/CESNET/Netopeer-GUI/issues/81","id":168829067,"user":{"login":"gracehllee","id":9956970,"avatar_url":"https://avatars.githubusercontent.com/u/9956970?v=3","gravatar_id":"","url":"https://api.github.com/users/gracehllee","html_url":"https://github.com/gracehllee","followers_url":"https://api.github.com/users/gracehllee/followers","following_url":"https://api.github.com/users/gracehllee/following{/other_user}","gists_url":"https://api.github.com/users/gracehllee/gists{/gist_id}","starred_url":"https://api.github.com/users/gracehllee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gracehllee/subscriptions","organizations_url":"https://api.github.com/users/gracehllee/orgs","repos_url":"https://api.github.com/users/gracehllee/repos","events_url":"https://api.github.com/users/gracehllee/events{/privacy}","received_events_url":"https://api.github.com/users/gracehllee/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T22:19:30Z","updated_at":"2016-01-04T22:19:30Z","body":"I have the same problem in Ubuntu 14.04, \r\nI already installed apache2-dev , but it still not working."}}