Re: [Pound Mailing List] Unable to compile on Oracle Linux 7
Christian COMMARMOND <[email protected]> Mon, 10 Oct 2016 09:18:47 +0200
| Newsgroups | gmane.comp.web.pound.general |
|---|---|
| Message-ID | <[email protected]> |
Thanks Joe, I knew it was a newbie mistake. Thank you. I could compile it now. I will try it shortly... My todo list is long like my arm... :-( regards, Christian COMMARMOND +33 6 82 33 52 32 2016-10-09 19:36 GMT+02:00 Joe Gooch <[email protected]>: > . Makefile means you're trying to run this as a bash script. > > Instead just type "make" > > * Joe CONFIDENTIALITY STATEMENT The documents and communication included > in this email transmission may contain confidential information. All > information is intended only for the use of the above named recipient(s). > If you are not the named recipient, you are NOT authorized to read, > disclose, copy, distribute, or take any action on the information and any > action other than immediate delivery to the named recipient is strictly > prohibited. If you have received this email in error, do NOT read the > information and please immediately notify sender by telephone and email and > immediately delete this email. If you are the named recipient, you are NOT > authorized to reveal any of this information to any unauthorized person and > are hereby instructed to delete this email when no longer needed. * > > From: Christian COMMARMOND <[email protected]> > Reply-To: "[email protected]" <[email protected]> > Date: Sunday, October 9, 2016 at 10:21 AM > To: "[email protected]" <[email protected]> > Subject: [Pound Mailing List] Unable to compile on Oracle Linux 7 > > > Hello, > > I face this problem while trying to build Pound-2.7 (and 2.7f) on Oracle > Linux 7 4.1.12-37.6.1.el7uek.x86_64. > > I can not understand why I get compilation errors, since I see the headers > where Pound looks for... > > I give here the results of configure, and then Makefile. > > I am not an expert on Linux and less on compilation (being an Oracle DBA), > I am sorry to bother you with this... I suppose it is very simple to > solve... > > Best regards, > > Christian COMMARMOND > > > > *Here the result for ./configure* > ./configure > checking for gcc... gcc > checking whether the C compiler works... yes > checking for C compiler default output file name... a.out > checking for suffix of executables... > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking whether gcc understands -c and -o together... yes > checking for a BSD-compatible install... /usr/bin/install -c > checking build system type... x86_64-unknown-linux-gnu > checking host system type... x86_64-unknown-linux-gnu > checking target system type... x86_64-unknown-linux-gnu > checking gcc arguments... -g -O2 -Wstrict-prototypes -Wno-unused-result > -pipe > configure: *** Checking for threads library and/or flags *** > checking for the pthreads library -lpthreads... no > checking whether pthreads work without any flags... no > checking whether pthreads work with -Kthread... no > checking whether pthreads work with -kthread... no > checking for the pthreads library -llthread... no > checking whether pthreads work with -pthread... yes > checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE > checking if more special flags are required for pthreads... no > checking for cc_r... gcc > configure: *** Parsing options *** > configure: *** Checking for libraries *** > checking for dlopen in -ldl... yes > checking for socket in -lsocket... no > checking for hstrerror in -lresolv... yes > checking for BIO_new in -lcrypto... yes > checking for SSL_CTX_new in -lssl... yes > checking for regcomp in -lpcreposix... yes > checking for malloc in -ltcmalloc... no > checking for pthread_attr_setstacksize in LIBS=-lpcreposix -lssl -lcrypto > -lresolv -ldl -lm with CFLAGS=-g -O2 -Wstrict-prototypes > -Wno-unused-result -pipe -pthread -DUPER... OK > configure: *** Checking for header files *** > checking how to run the C preprocessor... gcc -E > checking for grep that handles long lines and -e... /usr/bin/grep > checking for egrep... /usr/bin/grep -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking arpa/inet.h usability... yes > checking arpa/inet.h presence... yes > checking for arpa/inet.h... yes > checking errno.h usability... yes > checking errno.h presence... yes > checking for errno.h... yes > checking netdb.h usability... yes > checking netdb.h presence... yes > checking for netdb.h... yes > checking netinet/in.h usability... yes > checking netinet/in.h presence... yes > checking for netinet/in.h... yes > checking netinet/tcp.h usability... yes > checking netinet/tcp.h presence... yes > checking for netinet/tcp.h... yes > checking for stdlib.h... (cached) yes > checking for string.h... (cached) yes > checking sys/socket.h usability... yes > checking sys/socket.h presence... yes > checking for sys/socket.h... yes > checking sys/un.h usability... yes > checking sys/un.h presence... yes > checking for sys/un.h... yes > checking sys/time.h usability... yes > checking sys/time.h presence... yes > checking for sys/time.h... yes > checking for unistd.h... (cached) yes > checking getopt.h usability... yes > checking getopt.h presence... yes > checking for getopt.h... yes > checking pthread.h usability... yes > checking pthread.h presence... yes > checking for pthread.h... yes > checking for sys/types.h... (cached) yes > checking sys/poll.h usability... yes > checking sys/poll.h presence... yes > checking for sys/poll.h... yes > checking openssl/ssl.h usability... yes > checking openssl/ssl.h presence... yes > checking for openssl/ssl.h... yes > checking openssl/engine.h usability... yes > checking openssl/engine.h presence... yes > checking for openssl/engine.h... yes > checking time.h usability... yes > checking time.h presence... yes > checking for time.h... yes > checking pwd.h usability... yes > checking pwd.h presence... yes > checking for pwd.h... yes > checking grp.h usability... yes > checking grp.h presence... yes > checking for grp.h... yes > checking signal.h usability... yes > checking signal.h presence... yes > checking for signal.h... yes > checking regex.h usability... yes > checking regex.h presence... yes > checking for regex.h... yes > checking ctype.h usability... yes > checking ctype.h presence... yes > checking for ctype.h... yes > checking wait.h usability... yes > checking wait.h presence... yes > checking for wait.h... yes > checking sys/wait.h usability... yes > checking sys/wait.h presence... yes > checking for sys/wait.h... yes > checking for sys/stat.h... (cached) yes > checking fcntl.h usability... yes > checking fcntl.h presence... yes > checking for fcntl.h... yes > checking stdarg.h usability... yes > checking stdarg.h presence... yes > checking for stdarg.h... yes > checking pcreposix.h usability... yes > checking pcreposix.h presence... yes > checking for pcreposix.h... yes > checking pcre/pcreposix.h usability... no > checking pcre/pcreposix.h presence... no > checking for pcre/pcreposix.h... no > checking fnmatch.h usability... yes > checking fnmatch.h presence... yes > checking for fnmatch.h... yes > configure: *** Checking for additonal information *** > checking for facilitynames presence... yes > checking return type of signal handlers... void > checking for an ANSI C-conforming const... yes > checking for uid_t in sys/types.h... yes > checking for pid_t... yes > checking whether time.h and sys/time.h may both be included... yes > checking for unsigned long long int... yes > checking for long long int... yes > checking for in_addr_t... yes > checking for in_port_t... yes > checking for time_t... yes > checking vfork.h usability... no > checking vfork.h presence... no > checking for vfork.h... no > checking for fork... yes > checking for vfork... yes > checking for working fork... yes > checking for working vfork... (cached) yes > checking for working memcmp... yes > checking sys/select.h usability... yes > checking sys/select.h presence... yes > checking for sys/select.h... yes > checking for sys/socket.h... (cached) yes > checking types of arguments for select... int,fd_set *,struct timeval * > checking return type of signal handlers... (cached) void > checking whether lstat correctly handles trailing slash... yes > checking whether stat accepts an empty string... no > checking for strftime... yes > checking for getaddrinfo... yes > checking for inet_ntop... yes > checking for memset... yes > checking for regcomp... yes > checking for poll... yes > checking for socket... yes > checking for strcasecmp... yes > checking for strchr... yes > checking for strdup... yes > checking for strerror... yes > checking for strncasecmp... yes > checking for strspn... yes > checking for strtol... yes > checking for setsid... yes > checking for X509_STORE_set_flags... yes > checking for localtime_r... yes > checking for gettimeofday... yes > configure: creating ./config.status > config.status: creating Makefile > config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir > setting > config.status: creating config.h > > > > * . Makefile* > -bash: -DVERSION="2.7f": command not found > -bash: -lssl: command not found > -bash: http.o: command not found > -bash: all:: command not found > -bash: OBJS: command not found > -bash: pound:: command not found > -bash: OBJS: command not found > -bash: LIBS: command not found > gcc: fatal error: no input files > compilation terminated. > -bash: poundctl:: command not found > -bash: LIBS: command not found > gcc: error: poundctl.o: No such file or directory > gcc: fatal error: no input files > compilation terminated. > -bash: dh512.h:: command not found > Generating DH parameters, 512 bit long safe prime, generator 5 > This is going to take a long time > ...............+.....................................+...... > .....................................+.................+.... > .....................+..........................+........... > ....+..............+.................+...................... > ........+....................+.....+..+..................... > .+...+....+....+..................+......................... > ....................+..........................+....+....... > ....................+....................................+.. > ...+..........+.......+..................................... > .........................+...+.............................. > .....+..+.............................................+..+.. > ..........................................+.......+......+.. > ...........+................................................ > ............................................................ > .+...+...................................................... > ......................+.+..................+......+..+...... > .....+..........+......................................+.... > .............+.................................+.+.+........ > ..............++*++*++*++*++*++* > -bash: dh2048.h:: command not found > Generating DH parameters, 2048 bit long safe prime, generator 5 > This is going to take a long time > ..............................+.....+....................... > ............................................................ > ....................+....................................... > .+..+.........................................+............. > ................+........................................... > .............................+.............................. > ............................................................ > ............................................................ > ...........................+....+........................... > ...........+..............................................+. > ............................................................ > ............................................................ > .......................+....................+............... > ............................................................ > ...............................+............................ > ........+................................................... > ..+......................................................... > ............................................................ > ............................................................ > ............................................................ > ............................................................ > ...............................................+............ > ..........................+................................. > ............................................................ > .................................+.......................... > ............................................................ > ............................................................ > ............................................................ > ............................................................ > ...................................+........................ > .............++*++* > -bash: svc.o:: command not found > svc.c: In function ‘t_add’: > svc.c:45:16: error: ‘LOG_WARNING’ undeclared (first use in this function) > logmsg(LOG_WARNING, "t_add() content malloc"); > ^ > svc.c:45:16: note: each undeclared identifier is reported only once for > each function it appears in > svc.c: In function ‘logmsg’: > svc.c:233:30: error: ‘LOG_INFO’ undeclared (first use in this function) > fprintf((priority == LOG_INFO || priority == LOG_DEBUG)? stdout: > stderr, "%s\n", buf); > ^ > svc.c:233:54: error: ‘LOG_DEBUG’ undeclared (first use in this function) > fprintf((priority == LOG_INFO || priority == LOG_DEBUG)? stdout: > stderr, "%s\n", buf); > ^ > svc.c: In function ‘get_backend’: > svc.c:592:16: error: ‘LOG_WARNING’ undeclared (first use in this function) > logmsg(LOG_WARNING, "get_backend() lock: %s", strerror(ret_val)); > ^ > svc.c: In function ‘upd_session’: > svc.c:673:16: error: ‘LOG_WARNING’ undeclared (first use in this function) > logmsg(LOG_WARNING, "upd_session() lock: %s", strerror(ret_val)); > ^ > svc.c: In function ‘kill_be’: > svc.c:696:16: error: ‘LOG_WARNING’ undeclared (first use in this function) > logmsg(LOG_WARNING, "kill_be() lock: %s", strerror(ret_val)); > ^ > svc.c:704:24: error: ‘LOG_NOTICE’ undeclared (first use in this function) > logmsg(LOG_NOTICE, "(%lx) BackEnd %s disabled", > pthread_self(), buf); > ^ > svc.c: In function ‘upd_be’: > svc.c:739:20: error: ‘LOG_WARNING’ undeclared (first use in this function) > logmsg(LOG_WARNING, "upd_be() lock: %s", strerror(ret_val)); > ^ > svc.c: In function ‘connect_nb’: > svc.c:933:16: error: ‘LOG_WARNING’ undeclared (first use in this function) > logmsg(LOG_WARNING, "(%lx) connect_nb: fcntl GETFL failed: %s", > pthread_self(), strerror(errno)); > ^ > svc.c: In function ‘do_resurect’: > svc.c:1042:20: error: ‘LOG_NOTICE’ undeclared (first use in this function) > logmsg(LOG_NOTICE, "BackEnd %s is dead (HA)", buf); > ^ > svc.c:1139:24: error: ‘LOG_WARNING’ undeclared (first use in this function) > logmsg(LOG_WARNING, "do_resurect() lock: %s", > strerror(ret_val)); > ^ > svc.c: In function ‘do_expire’: > svc.c:1246:24: error: ‘LOG_WARNING’ undeclared (first use in this function) > logmsg(LOG_WARNING, "do_expire() lock: %s", > strerror(ret_val)); > ^ > svc.c: In function ‘do_rescale’: > svc.c:1292:24: error: ‘LOG_WARNING’ undeclared (first use in this function) > logmsg(LOG_WARNING, "do_rescale() lock: %s", > strerror(ret_val)); > ^ > svc.c: In function ‘RSA_tmp_callback’: > svc.c:1416:16: error: ‘LOG_WARNING’ undeclared (first use in this function) > logmsg(LOG_WARNING, "RSA_tmp_callback() lock: %s", > strerror(ret_val)); > ^ > svc.c: In function ‘do_RSAgen’: > svc.c:1439:16: error: ‘LOG_WARNING’ undeclared (first use in this function) > logmsg(LOG_WARNING, "thr_RSAgen() lock: %s", strerror(ret_val)); > ^ > svc.c: In function ‘init_timer’: > svc.c:1491:20: error: ‘LOG_WARNING’ undeclared (first use in this function) > logmsg(LOG_WARNING,"RSA_generate(%d, 512) failed", n); > ^ > svc.c: In function ‘thr_control’: > svc.c:1694:20: error: ‘LOG_WARNING’ undeclared (first use in this function) > logmsg(LOG_WARNING, "thr_control() poll: %s", > strerror(errno)); > ^ > svc.c:1756:24: error: ‘LOG_INFO’ undeclared (first use in this function) > logmsg(LOG_INFO, "thr_control() bad listener %d", > cmd.listener); > ^ > svc.c: In function ‘SSLINFO_callback’: > svc.c:1848:19: error: ‘LOG_WARNING’ undeclared (first use in this function) > logmsg(LOG_WARNING,"rejecting client initiated renegotiation"); > ^ > -bash: OBJS: command not found > -bash: poundctl.o:: command not found > -bash: install:: command not found > /usr/bin/install: cannot stat ‘pound’: No such file or directory > /usr/bin/install: cannot stat ‘poundctl’: No such file or directory > -bash: clean:: command not found > -bash: OBJS: command not found > -bash: distclean:: command not found > -bash: -rm: command not found > -bash: uninstall:: command not found > -bash: -rm: command not found > > > cordialement, > > Christian COMMARMOND > +33 6 82 33 52 32 > > >