You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pagespeed.apache.org by GitBox <gi...@apache.org> on 2018/05/08 09:20:05 UTC

[GitHub] ebaystaticfile opened a new issue #1555: centos 6.9 Installing nginx with 1.13.35.1-beta fails

ebaystaticfile opened a new issue #1555: centos 6.9 Installing nginx with 1.13.35.1-beta fails
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1555
 
 
   # **history command**
   
   > cd /www/server/nginx/
   > NPS_VERSION=1.13.35.1-beta
   > wget https://github.com/apache/incubator-pagespeed-ngx/archive/v${NPS_VERSION}.zip
   > unzip v${NPS_VERSION}.zip
   > mv incubator-pagespeed-ngx-1.13.35.1-beta/ page_speed
   > nps_dir='page_speed'
   > cd "$nps_dir"
   > NPS_RELEASE_NUMBER=${NPS_VERSION/beta/}
   > NPS_RELEASE_NUMBER=${NPS_VERSION/stable/}
   > psol_url=https://dl.google.com/dl/page-speed/psol/${NPS_RELEASE_NUMBER}.tar.gz
   > [ -e scripts/format_binary_url.sh ] && psol_url=$(scripts/format_binary_url.sh PSOL_BINARY_URL)
   > wget ${psol_url}
   > tar -xzvf $(basename ${psol_url})
   > cd ../src/
   > ./configure --user=www --group=www --prefix=/www/server/nginx --with-openssl=/www/server/nginx/src/openssl --add-module=/www/server/nginx/src/ngx_devel_kit --add-module=/www/server/nginx/src/lua_nginx_module --add-module=/www/server/nginx/src/ngx_cache_purge --add-module=/www/server/nginx/src/nginx-sticky-module --with-http_stub_status_module --with-http_ssl_module --with-http_v2_module --with-http_image_filter_module --with-http_gzip_static_module --with-http_gunzip_module --with-stream --with-stream_ssl_module --with-ipv6 --with-http_sub_module --with-http_flv_module --with-http_addition_module --with-http_realip_module --with-http_mp4_module --with-ld-opt=-Wl,-E --with-ld-opt=-ljemalloc --add-module=/www/server/nginx/page_speed
   
   # **nginx -V**
   
   > nginx version: nginx/1.12.2
   > built by gcc 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC)
   > built with OpenSSL 1.0.2l  25 May 2017
   > TLS SNI support enabled
   > configure arguments: --user=www --group=www --prefix=/www/server/nginx --with-openssl=/www/server/nginx/src/openssl --add-module=/www/server/nginx/src/ngx_devel_kit --add-module=/www/server/nginx/src/lua_nginx_module --add-module=/www/server/nginx/src/ngx_cache_purge --add-module=/www/server/nginx/src/nginx-sticky-module --with-http_stub_status_module --with-http_ssl_module --with-http_v2_module --with-http_image_filter_module --with-http_gzip_static_module --with-http_gunzip_module --with-stream --with-stream_ssl_module --with-ipv6 --with-http_sub_module --with-http_flv_module --with-http_addition_module --with-http_realip_module --with-http_mp4_module --with-ld-opt=-Wl,-E --with-ld-opt=-ljemalloc
   
   # **page_speed path**
   
   > /www/server/nginx/page_speed
   
   # **psol path**
   
   > /www/server/nginx/page_speed/psol
   
   # **ll /www/server/nginx/page_speed/psol**
   
   > total 12
   > drwxr-xr-x 10 www mysql 4096 Nov  3  2017 include
   > -rw-rw-r--  1 www mysql  136 Nov  3  2017 include_history.txt
   > drwxrwxr-x  3 www mysql 4096 Nov  3  2017 lib
   
   # **gcc -v** 
   
   > Using built-in specs.
   > COLLECT_GCC=gcc
   > COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-unknown-linux-gnu/5.3.0/lto-wrapper
   > Target: x86_64-unknown-linux-gnu
   > Configured with: ../configure -enable-checking=release -enable-languages=c,c++ -disable-multilib
   > Thread model: posix
   > gcc version 5.3.0 (GCC)
   
   # **libuuid-devel**
   
   > Package libuuid-devel-2.17.2-12.28.el6_9.2.x86_64 already installed and latest version
   
   # **Here is the error log:**
   `
   
   ----------------------------------------
   checking for C compiler
   
   
   ----------------------------------------
   checking for gcc -pipe switch
   
   
   ----------------------------------------
   checking for --with-ld-opt="-ljemalloc"
   
   
   ----------------------------------------
   checking for -Wl,-E switch
   
   
   ----------------------------------------
   checking for gcc builtin atomic operations
   
   
   ----------------------------------------
   checking for C99 variadic macros
   
   
   ----------------------------------------
   checking for gcc variadic macros
   
   
   ----------------------------------------
   checking for gcc builtin 64 bit byteswap
   
   
   ----------------------------------------
   checking for unistd.h
   
   
   ----------------------------------------
   checking for inttypes.h
   
   
   ----------------------------------------
   checking for limits.h
   
   
   ----------------------------------------
   checking for sys/filio.h
   
   objs/autotest.c:3:23: error: sys/filio.h: No such file or directory
   ----------
   
   
   #include <sys/filio.h>
   
   int main(void) {
       return 0;
   }
   
   ----------
   cc -o objs/autotest objs/autotest.c
   ----------
   
   ----------------------------------------
   checking for sys/param.h
   
   
   ----------------------------------------
   checking for sys/mount.h
   
   
   ----------------------------------------
   checking for sys/statvfs.h
   
   
   ----------------------------------------
   checking for crypt.h
   
   
   ----------------------------------------
   checking for epoll
   
   
   ----------------------------------------
   checking for EPOLLRDHUP
   
   
   ----------------------------------------
   checking for EPOLLEXCLUSIVE
   
   objs/autotest.c: In function 'main':
   objs/autotest.c:9: error: 'EPOLLEXCLUSIVE' undeclared (first use in this function)
   objs/autotest.c:9: error: (Each undeclared identifier is reported only once
   objs/autotest.c:9: error: for each function it appears in.)
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   #include <sys/epoll.h>
   
   int main(void) {
       int efd = 0, fd = 0;
                         struct epoll_event ee;
                         ee.events = EPOLLIN|EPOLLEXCLUSIVE;
                         ee.data.ptr = NULL;
                         epoll_ctl(efd, EPOLL_CTL_ADD, fd, &ee);
       return 0;
   }
   
   ----------
   cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -ljemalloc
   ----------
   
   ----------------------------------------
   checking for O_PATH
   
   objs/autotest.c: In function 'main':
   objs/autotest.c:10: error: 'O_PATH' undeclared (first use in this function)
   objs/autotest.c:10: error: (Each undeclared identifier is reported only once
   objs/autotest.c:10: error: for each function it appears in.)
   objs/autotest.c:11: error: 'AT_EMPTY_PATH' undeclared (first use in this function)
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   #include <sys/types.h>
                     #include <sys/stat.h>
                     #include <fcntl.h>
   
   int main(void) {
       int fd; struct stat sb;
                     fd = openat(AT_FDCWD, ".", O_PATH|O_DIRECTORY|O_NOFOLLOW);
                     if (fstatat(fd, "", &sb, AT_EMPTY_PATH) != 0) return 1;
       return 0;
   }
   
   ----------
   cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -ljemalloc
   ----------
   
   ----------------------------------------
   checking for sendfile()
   
   
   ----------------------------------------
   checking for sendfile64()
   
   
   ----------------------------------------
   checking for sys/prctl.h
   
   
   ----------------------------------------
   checking for prctl(PR_SET_DUMPABLE)
   
   
   ----------------------------------------
   checking for sched_setaffinity()
   
   
   ----------------------------------------
   checking for crypt_r()
   
   
   ----------------------------------------
   checking for sys/vfs.h
   
   
   ----------------------------------------
   checking for poll()
   
   
   ----------------------------------------
   checking for /dev/poll
   
   objs/autotest.c:4:25: error: sys/devpoll.h: No such file or directory
   objs/autotest.c: In function 'main':
   objs/autotest.c:7: error: storage size of 'dvp' isn't known
   objs/autotest.c:12: error: 'DP_POLL' undeclared (first use in this function)
   objs/autotest.c:12: error: (Each undeclared identifier is reported only once
   objs/autotest.c:12: error: for each function it appears in.)
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   #include <sys/devpoll.h>
   
   int main(void) {
       int  n, dp; struct dvpoll  dvp;
                     dp = 0;
                     dvp.dp_fds = NULL;
                     dvp.dp_nfds = 0;
                     dvp.dp_timeout = 0;
                     n = ioctl(dp, DP_POLL, &dvp);
                     if (n == -1) return 1;
       return 0;
   }
   
   ----------
   cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -ljemalloc
   ----------
   
   ----------------------------------------
   checking for kqueue
   
   objs/autotest.c:4:23: error: sys/event.h: No such file or directory
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   #include <sys/event.h>
   
   int main(void) {
       (void) kqueue();
       return 0;
   }
   
   ----------
   cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -ljemalloc
   ----------
   
   ----------------------------------------
   checking for crypt()
   
   /tmp/cc5Peg6c.o: In function `main':
   autotest.c:(.text+0xf): undefined reference to `crypt'
   collect2: ld returned 1 exit status
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   
   
   int main(void) {
       crypt("test", "salt");;
       return 0;
   }
   
   ----------
   cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -ljemalloc
   ----------
   
   ----------------------------------------
   checking for crypt() in libcrypt
   
   
   ----------------------------------------
   checking for F_READAHEAD
   
   objs/autotest.c: In function 'main':
   objs/autotest.c:7: error: 'F_READAHEAD' undeclared (first use in this function)
   objs/autotest.c:7: error: (Each undeclared identifier is reported only once
   objs/autotest.c:7: error: for each function it appears in.)
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   #include <fcntl.h>
   
   int main(void) {
       fcntl(0, F_READAHEAD, 1);;
       return 0;
   }
   
   ----------
   cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -ljemalloc
   ----------
   
   ----------------------------------------
   checking for posix_fadvise()
   
   
   ----------------------------------------
   checking for O_DIRECT
   
   
   ----------------------------------------
   checking for F_NOCACHE
   
   objs/autotest.c: In function 'main':
   objs/autotest.c:7: error: 'F_NOCACHE' undeclared (first use in this function)
   objs/autotest.c:7: error: (Each undeclared identifier is reported only once
   objs/autotest.c:7: error: for each function it appears in.)
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   #include <fcntl.h>
   
   int main(void) {
       fcntl(0, F_NOCACHE, 1);;
       return 0;
   }
   
   ----------
   cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -ljemalloc
   ----------
   
   ----------------------------------------
   checking for directio()
   
   objs/autotest.c: In function 'main':
   objs/autotest.c:8: error: 'DIRECTIO_ON' undeclared (first use in this function)
   objs/autotest.c:8: error: (Each undeclared identifier is reported only once
   objs/autotest.c:8: error: for each function it appears in.)
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   #include <sys/types.h>
                     #include <sys/fcntl.h>
   
   int main(void) {
       directio(0, DIRECTIO_ON);;
       return 0;
   }
   
   ----------
   cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -ljemalloc
   ----------
   
   ----------------------------------------
   checking for statfs()
   
   
   ----------------------------------------
   checking for statvfs()
   
   
   ----------------------------------------
   checking for dlopen()
   
   
   ----------------------------------------
   checking for sched_yield()
   
   
   ----------------------------------------
   checking for SO_SETFIB
   
   objs/autotest.c: In function 'main':
   objs/autotest.c:7: error: 'SO_SETFIB' undeclared (first use in this function)
   objs/autotest.c:7: error: (Each undeclared identifier is reported only once
   objs/autotest.c:7: error: for each function it appears in.)
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   #include <sys/socket.h>
   
   int main(void) {
       setsockopt(0, SOL_SOCKET, SO_SETFIB, NULL, 0);
       return 0;
   }
   
   ----------
   cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -ljemalloc
   ----------
   
   ----------------------------------------
   checking for SO_REUSEPORT
   
   
   ----------------------------------------
   checking for SO_ACCEPTFILTER
   
   objs/autotest.c: In function 'main':
   objs/autotest.c:7: error: 'SO_ACCEPTFILTER' undeclared (first use in this function)
   objs/autotest.c:7: error: (Each undeclared identifier is reported only once
   objs/autotest.c:7: error: for each function it appears in.)
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   #include <sys/socket.h>
   
   int main(void) {
       setsockopt(0, SOL_SOCKET, SO_ACCEPTFILTER, NULL, 0);
       return 0;
   }
   
   ----------
   cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -ljemalloc
   ----------
   
   ----------------------------------------
   checking for SO_BINDANY
   
   objs/autotest.c: In function 'main':
   objs/autotest.c:7: error: 'SO_BINDANY' undeclared (first use in this function)
   objs/autotest.c:7: error: (Each undeclared identifier is reported only once
   objs/autotest.c:7: error: for each function it appears in.)
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   #include <sys/socket.h>
   
   int main(void) {
       setsockopt(0, SOL_SOCKET, SO_BINDANY, NULL, 0);
       return 0;
   }
   
   ----------
   cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -ljemalloc
   ----------
   
   ----------------------------------------
   checking for IP_BIND_ADDRESS_NO_PORT
   
   objs/autotest.c: In function 'main':
   objs/autotest.c:8: error: 'IP_BIND_ADDRESS_NO_PORT' undeclared (first use in this function)
   objs/autotest.c:8: error: (Each undeclared identifier is reported only once
   objs/autotest.c:8: error: for each function it appears in.)
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   #include <sys/socket.h>
                     #include <netinet/in.h>
   
   int main(void) {
       setsockopt(0, IPPROTO_IP, IP_BIND_ADDRESS_NO_PORT, NULL, 0);
       return 0;
   }
   
   ----------
   cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -ljemalloc
   ----------
   
   ----------------------------------------
   checking for IP_TRANSPARENT
   
   
   ----------------------------------------
   checking for IP_BINDANY
   
   objs/autotest.c: In function 'main':
   objs/autotest.c:8: error: 'IP_BINDANY' undeclared (first use in this function)
   objs/autotest.c:8: error: (Each undeclared identifier is reported only once
   objs/autotest.c:8: error: for each function it appears in.)
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   #include <sys/socket.h>
                     #include <netinet/in.h>
   
   int main(void) {
       setsockopt(0, IPPROTO_IP, IP_BINDANY, NULL, 0);
       return 0;
   }
   
   ----------
   cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -ljemalloc
   ----------
   
   ----------------------------------------
   checking for IP_RECVDSTADDR
   
   objs/autotest.c: In function 'main':
   objs/autotest.c:8: error: 'IP_RECVDSTADDR' undeclared (first use in this function)
   objs/autotest.c:8: error: (Each undeclared identifier is reported only once
   objs/autotest.c:8: error: for each function it appears in.)
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   #include <sys/socket.h>
                     #include <netinet/in.h>
   
   int main(void) {
       setsockopt(0, IPPROTO_IP, IP_RECVDSTADDR, NULL, 0);
       return 0;
   }
   
   ----------
   cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -ljemalloc
   ----------
   
   ----------------------------------------
   checking for IP_PKTINFO
   
   
   ----------------------------------------
   checking for IPV6_RECVPKTINFO
   
   
   ----------------------------------------
   checking for TCP_DEFER_ACCEPT
   
   
   ----------------------------------------
   checking for TCP_KEEPIDLE
   
   
   ----------------------------------------
   checking for TCP_FASTOPEN
   
   objs/autotest.c: In function 'main':
   objs/autotest.c:9: error: 'TCP_FASTOPEN' undeclared (first use in this function)
   objs/autotest.c:9: error: (Each undeclared identifier is reported only once
   objs/autotest.c:9: error: for each function it appears in.)
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   #include <sys/socket.h>
                     #include <netinet/in.h>
                     #include <netinet/tcp.h>
   
   int main(void) {
       setsockopt(0, IPPROTO_TCP, TCP_FASTOPEN, NULL, 0);
       return 0;
   }
   
   ----------
   cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -ljemalloc
   ----------
   
   ----------------------------------------
   checking for TCP_INFO
   
   
   ----------------------------------------
   checking for accept4()
   
   
   ----------------------------------------
   checking for eventfd()
   
   
   ----------------------------------------
   checking for int size
   
   
   ----------------------------------------
   checking for long size
   
   
   ----------------------------------------
   checking for long long size
   
   
   ----------------------------------------
   checking for void * size
   
   
   ----------------------------------------
   checking for uint32_t
   
   
   ----------------------------------------
   checking for uint64_t
   
   
   ----------------------------------------
   checking for sig_atomic_t
   
   
   ----------------------------------------
   checking for sig_atomic_t size
   
   
   ----------------------------------------
   checking for socklen_t
   
   
   ----------------------------------------
   checking for in_addr_t
   
   
   ----------------------------------------
   checking for in_port_t
   
   
   ----------------------------------------
   checking for rlim_t
   
   
   ----------------------------------------
   checking for uintptr_t
   
   
   ----------------------------------------
   checking for system byte ordering
   
   
   ----------------------------------------
   checking for size_t size
   
   
   ----------------------------------------
   checking for off_t size
   
   
   ----------------------------------------
   checking for time_t size
   
   
   ----------------------------------------
   checking for AF_INET6
   
   
   ----------------------------------------
   checking for setproctitle()
   
   /tmp/ccziCNeB.o: In function `main':
   autotest.c:(.text+0xf): undefined reference to `setproctitle'
   collect2: ld returned 1 exit status
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   #include <stdlib.h>
   
   int main(void) {
       setproctitle("test");;
       return 0;
   }
   
   ----------
   cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -ljemalloc
   ----------
   
   ----------------------------------------
   checking for pread()
   
   
   ----------------------------------------
   checking for pwrite()
   
   
   ----------------------------------------
   checking for pwritev()
   
   
   ----------------------------------------
   checking for sys_nerr
   
   /tmp/ccaDU7KO.o: In function `main':
   autotest.c:(.text+0x6): warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
   135
   ----------------------------------------
   checking for localtime_r()
   
   
   ----------------------------------------
   checking for posix_memalign()
   
   
   ----------------------------------------
   checking for memalign()
   
   
   ----------------------------------------
   checking for mmap(MAP_ANON|MAP_SHARED)
   
   
   ----------------------------------------
   checking for mmap("/dev/zero", MAP_SHARED)
   
   
   ----------------------------------------
   checking for System V shared memory
   
   
   ----------------------------------------
   checking for POSIX semaphores
   
   
   ----------------------------------------
   checking for struct msghdr.msg_control
   
   
   ----------------------------------------
   checking for ioctl(FIONBIO)
   
   
   ----------------------------------------
   checking for struct tm.tm_gmtoff
   
   
   ----------------------------------------
   checking for struct dirent.d_namlen
   
   objs/autotest.c: In function 'main':
   objs/autotest.c:8: error: 'struct dirent' has no member named 'd_namlen'
   objs/autotest.c:9: error: 'struct dirent' has no member named 'd_namlen'
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   #include <dirent.h>
                     #include <stdio.h>
   
   int main(void) {
       struct dirent  dir; dir.d_namlen = 0;
                     printf("%d", (int) dir.d_namlen);
       return 0;
   }
   
   ----------
   cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -ljemalloc
   ----------
   
   ----------------------------------------
   checking for struct dirent.d_type
   
   
   ----------------------------------------
   checking for sysconf(_SC_NPROCESSORS_ONLN)
   
   
   ----------------------------------------
   checking for openat(), fstatat()
   
   
   ----------------------------------------
   checking for getaddrinfo()
   
   
   ----------------------------------------
   checking for Lua library
   
   objs/autotest.c:4:21: error: lauxlib.h: No such file or directory
   objs/autotest.c:8:5: error: #error unsupported Lua language version
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   #include <lauxlib.h>
   
   int main(void) {
       #if LUA_VERSION_NUM != 501
   #   error unsupported Lua language version
   #endif
   (void) luaL_newstate();;
       return 0;
   }
   
   ----------
   cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -ljemalloc -llua -lm
   ----------
   
   ----------------------------------------
   checking for Lua library in /usr/local/
   
   objs/autotest.c:4:21: error: lauxlib.h: No such file or directory
   objs/autotest.c:8:5: error: #error unsupported Lua language version
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   #include <lauxlib.h>
   
   int main(void) {
       #if LUA_VERSION_NUM != 501
   #   error unsupported Lua language version
   #endif
   (void) luaL_newstate();;
       return 0;
   }
   
   ----------
   cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I /usr/local/include/lua-5.1 -o objs/autotest objs/autotest.c -ljemalloc -L/usr/local/lib -llua5.1 -lm
   ----------
   
   ----------------------------------------
   checking for Lua library in /usr/local/
   
   objs/autotest.c:4:21: error: lauxlib.h: No such file or directory
   objs/autotest.c:8:5: error: #error unsupported Lua language version
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   #include <lauxlib.h>
   
   int main(void) {
       #if LUA_VERSION_NUM != 501
   #   error unsupported Lua language version
   #endif
   (void) luaL_newstate();;
       return 0;
   }
   
   ----------
   cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I /usr/local/include -o objs/autotest objs/autotest.c -ljemalloc -L/usr/local/lib -llua -lm
   ----------
   
   ----------------------------------------
   checking for Lua library in /usr/pkg/
   
   objs/autotest.c:4:21: error: lauxlib.h: No such file or directory
   objs/autotest.c:8:5: error: #error unsupported Lua language version
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   #include <lauxlib.h>
   
   int main(void) {
       #if LUA_VERSION_NUM != 501
   #   error unsupported Lua language version
   #endif
   (void) luaL_newstate();;
       return 0;
   }
   
   ----------
   cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I /usr/pkg/include/ -o objs/autotest objs/autotest.c -ljemalloc -L/usr/pkg/lib -lm -llua
   ----------
   
   ----------------------------------------
   checking for Lua library in /opt/local/
   
   objs/autotest.c:4:21: error: lauxlib.h: No such file or directory
   objs/autotest.c:8:5: error: #error unsupported Lua language version
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   #include <lauxlib.h>
   
   int main(void) {
       #if LUA_VERSION_NUM != 501
   #   error unsupported Lua language version
   #endif
   (void) luaL_newstate();;
       return 0;
   }
   
   ----------
   cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I /opt/local/include -o objs/autotest objs/autotest.c -ljemalloc -L/opt/local/lib -lm -llua
   ----------
   
   ----------------------------------------
   checking for Lua library in /usr/local/*/lua51/
   
   objs/autotest.c:4:21: error: lauxlib.h: No such file or directory
   objs/autotest.c:8:5: error: #error unsupported Lua language version
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   #include <lauxlib.h>
   
   int main(void) {
       #if LUA_VERSION_NUM != 501
   #   error unsupported Lua language version
   #endif
   (void) luaL_newstate();;
       return 0;
   }
   
   ----------
   cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I /usr/local/include/lua51 -o objs/autotest objs/autotest.c -ljemalloc -L/usr/local/lib/lua51 -llua -lm
   ----------
   
   ----------------------------------------
   checking for Lua library in /usr/
   
   objs/autotest.c:4:21: error: lauxlib.h: No such file or directory
   objs/autotest.c:8:5: error: #error unsupported Lua language version
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   #include <lauxlib.h>
   
   int main(void) {
       #if LUA_VERSION_NUM != 501
   #   error unsupported Lua language version
   #endif
   (void) luaL_newstate();;
       return 0;
   }
   
   ----------
   cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I /usr/include/lua5.1 -o objs/autotest objs/autotest.c -ljemalloc -L/usr/lib -lm -llua5.1
   ----------
   
   ----------------------------------------
   checking for LuaJIT library in /usr/local/
   
   
   ----------------------------------------
   checking for export symbols by default (-E)
   
   
   ----------------------------------------
   checking for export symbols by default (--export-all-symbols)
   
   /usr/bin/ld: unrecognized option '--export-all-symbols'
   /usr/bin/ld: use the --help option for usage information
   collect2: ld returned 1 exit status
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   #include <stdio.h>
   
   int main(void) {
       printf("hello");;
       return 0;
   }
   
   ----------
   cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -ljemalloc -Wl,--export-all-symbols
   ----------
   
   ----------------------------------------
   checking for SO_PASSCRED
   
   
   ----------------------------------------
   checking for __attribute__(constructor)
   
   
   ----------------------------------------
   checking for malloc_trim
   
   0
   ----------------------------------------
   checking for psol
   
   cc1plus: error: unrecognized command line option "-std=c++11"
   ----------
   
   #include <sys/types.h>
   #include <unistd.h>
   
   #include "pagespeed/kernel/base/string.h"
   #include "pagespeed/kernel/base/string_writer.h"
   #include "pagespeed/kernel/base/null_message_handler.h"
   #include "pagespeed/kernel/html/html_parse.h"
   #include "pagespeed/kernel/html/html_writer_filter.h"
   
   
   int main() {
       
   
     GoogleString output_buffer;
     net_instaweb::StringWriter write_to_string(&output_buffer);
   
     net_instaweb::NullMessageHandler handler;
     net_instaweb::HtmlParse html_parse(&handler);
     net_instaweb::HtmlWriterFilter html_writer_filter(&html_parse);
   
     html_writer_filter.set_writer(&write_to_string);
     html_parse.AddFilter(&html_writer_filter);
   
     html_parse.StartParse("http:example.com");
     html_parse.ParseText(
         "<html ><body ><h1 >Test</h1 ><p>Test Text</p></body></html>\n");
     html_parse.FinishParse();
   
     printf("parsed as: %s", output_buffer.c_str());
       return 0;
   }
   
   ----------
   cc -D_GLIBCXX_USE_CXX11_ABI=0 --std=c++11 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I /www/server/nginx/page_speed/psol/include -I /www/server/nginx/page_speed/psol/include/third_party/chromium/src -I /www/server/nginx/page_speed/psol/include/third_party/google-sparsehash/src/src -I /www/server/nginx/page_speed/psol/include/third_party/google-sparsehash/gen/arch/linux/x64/include -I /www/server/nginx/page_speed/psol/include/third_party/grpc/src/include -I /www/server/nginx/page_speed/psol/include/third_party/protobuf/src/src -I /www/server/nginx/page_speed/psol/include/third_party/re2/src -I /www/server/nginx/page_speed/psol/include/out/Release/obj/gen -I /www/server/nginx/page_speed/psol/include/out/Release/obj/gen/protoc_out/instaweb -I /www/server/nginx/page_speed/psol/include/third_party/apr/src/include -I /www/server/nginx/page_speed/psol/include/third_party/aprutil/src/include -I /www/server/nginx/page_speed/psol/include/third_party/apr/gen/arch/linux/x64/include -I /www/server/nginx/page_speed/psol/include/third_party/aprutil/gen/arch/linux/x64/include -I /www/server/nginx/page_speed/psol/include/url -o objs/autotest objs/autotest.cc -ljemalloc /www/server/nginx/page_speed/psol/lib/Release/linux/x64/pagespeed_automatic.a -lstdc++ -lrt -pthread -lm -luuid
   ----------
   `

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services