Bug #80386 [Opn]: Configure with opcache enabled fails
| From: | oliver at erply dot com | Date: | Thu, 26 Nov 2020 15:28:47 +0000 |
| Subject: | Bug #80386 [Opn]: Configure with opcache enabled fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-230649@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=80386&edit=1
ID: 80386
User updated by: oliver at erply dot com
Reported by: oliver at erply dot com
Summary: Configure with opcache enabled fails
Status: Open
Type: Bug
Package: Compile Failure
Operating System: Centos 7
PHP Version: 8.0.0RC5
Block user comment: N
Private report: N
New Comment:
Thanks for help guys.
I managed to get it working by symlinking the missing libs:
- ln -s /usr/lib64/ruby/zlib.so /usr/lib64/libzlib.so
- ln -s /usr/lib64/libgnutls.so.28 /usr/lib64/libgnutls.so
Previous Comments:
------------------------------------------------------------------------
[2020-11-26 10:51:32] nikic@php.net
@oliver at erply dot com: Could you please share the whole config.log file somewhere (e.g
gist.github.com)? Not obvious where these -lgnutls -lzlib come from (usually it's -lz, not
-lzlib).
------------------------------------------------------------------------
[2020-11-24 15:32:36] oliver at erply dot com
You are correct, due testing with different configurations I messed up the /opt/ews-24-80/mysql/lib
folder.
But after adding the libmariadb.so to the correct folder. It still fails with the following error:
configure:52275: result: no
configure:52692: error: No supported shared memory caching support was found when configuring
opcache. Check config.log for any errors or missing dependencies.
In the config.log I still see the same error, only with out the lmariadb:
configure:51950: result: no
configure:52012: checking for mmap() using shm_open() shared memory support
configure:52087: cc -std=gnu99 -o conftest -g -O2 -fvisibility=hidden
-Wl,-rpath,/opt/ews-24-80/mysql/lib -L/opt/ews-24-80/mysql/lib conftest.c -lstdc++ -lbz2 -lutil -lrt
-lm -ldl -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lsqlite3 -lz -lcurl
-lxml2 -licuio -licui18n -licuuc -licudata -lonig -lmariadb -ldl -lm -lgnutls -lzlib >&5
/usr/bin/ld: cannot find -lgnutls
/usr/bin/ld: cannot find -lzlib
------------------------------------------------------------------------
[2020-11-24 11:46:21] nikic@php.net
Does /opt/ews-24-80/mysql/lib contain a libmariadb.so file? (Or any other library search path.)
------------------------------------------------------------------------
[2020-11-24 11:41:30] nikic@php.net
Looks like libraries that were previously added to the LIBS haven't been found:
configure:51724: cc -std=gnu99 -o conftest -g -O2 -fvisibility=hidden
-Wl,-rpath,/opt/ews-24-80/mysql/lib -L/opt/ews-24-80/mysql/lib conftest.c -lstdc++ -lbz2 -lutil -lrt
-lm -ldl -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lsqlite3 -lz -lcurl
-lxml2 -licuio -licui18n -licuuc -licudata -lonig -lmariadb -ldl -lm -lgnutls -lzlib >&5
/usr/bin/ld: cannot find -lmariadb
/usr/bin/ld: cannot find -lgnutls
/usr/bin/ld: cannot find -lzlib
------------------------------------------------------------------------
[2020-11-20 14:25:07] oliver at erply dot com
onfigure:51581: checking for sysvipc shared memory support
configure:51654: cc -std=gnu99 -o conftest -g -O2 -fvisibility=hidden
-Wl,-rpath,/opt/ews-24-80/mysql/lib -L/opt/ews-24-80/mysql/lib conftest.c -lstdc++ -lbz2 -lutil -lrt
-lm -ldl -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lsqlite3 -lz -lcurl
-lxml2 -licuio -licui18n -licuuc -licudata -lonig -lmariadb -ldl -lm -lgnutls -lzlib >&5
/usr/bin/ld: cannot find -lmariadb
/usr/bin/ld: cannot find -lgnutls
/usr/bin/ld: cannot find -lzlib
collect2: error: ld returned 1 exit status
configure:51654: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "PHP"
| #define PACKAGE_TARNAME "php"
| #define PACKAGE_VERSION "8.0.0RC5"
| #define PACKAGE_STRING "PHP 8.0.0RC5"
| #define PACKAGE_BUGREPORT "https://bugs.php.net"
| #define PACKAGE_URL "https://www.php.net"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DEV_URANDOM 1
| #define HAVE_GCC_GLOBAL_REGS 1
| #define HAVE_CPUID_COUNT 1
| #define GWINSZ_IN_SYS_IOCTL 1
| #define HAVE_PHPDBG 1
| #define PHPDBG_DEBUG 0
| #define PHP_WRITE_STDOUT 1
| #define HAVE_SOCKET 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_HTONL 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_DLOPEN 1
| #define HAVE_LIBDL 1
| #define HAVE_DLSYM 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBM 1
| #define HAVE_INET_ATON 1
| #define HAVE_STDINT_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ARPA_NAMESER_H 1
| #define HAVE_CRYPT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LANGINFO_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_POLL_H 1
| #define HAVE_PTY_H 1
| #define HAVE_PWD_H 1
| #define HAVE_RESOLV_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYSEXITS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_STATFS_H 1
| #define HAVE_SYS_STATVFS_H 1
| #define HAVE_SYS_VFS_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_IMMINTRIN_H 1
| #define HAVE_FOPENCOOKIE 1
| #define COOKIE_IO_FUNCTIONS_T cookie_io_functions_t
| #define COOKIE_SEEKER_USES_OFF64_T 1
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define MISSING_FCLOSE_DECL 0
| #define HAVE_STRUCT_FLOCK 1
| #define HAVE_SOCKLEN_T 1
| #define SIZEOF_INTMAX_T 8
| #define HAVE_INTMAX_T 1
| #define SIZEOF_SSIZE_T 8
| #define HAVE_SSIZE_T 1
| #define SIZEOF_PTRDIFF_T 8
| #define HAVE_PTRDIFF_T 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_SIZE_T 8
| #define SIZEOF_OFF_T 8
| #define HAVE_INT8_T 1
| #define HAVE_INT16_T 1
| #define HAVE_INT32_T 1
| #define HAVE_INT64_T 1
| #define HAVE_UINT8_T 1
| #define HAVE_UINT16_T 1
| #define HAVE_UINT32_T 1
| #define HAVE_UINT64_T 1
| #define PHP_HAVE_BUILTIN_EXPECT 1
| #define PHP_HAVE_BUILTIN_CLZ 1
| #define PHP_HAVE_BUILTIN_CLZL 1
| #define PHP_HAVE_BUILTIN_CLZLL 1
| #define PHP_HAVE_BUILTIN_CTZL 1
| #define PHP_HAVE_BUILTIN_CTZLL 1
| #define PHP_HAVE_BUILTIN_SMULL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SMULLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_CPU_INIT 1
| #define PHP_HAVE_BUILTIN_CPU_SUPPORTS 1
| #define HAVE_ALIGNOF 1
| #define HAVE_STRUCT_TM_TM_GMTOFF 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_ST_BLOCKS 1
| #define HAVE_SOCKADDR_STORAGE 1
| #define HAVE_FUNC_ATTRIBUTE_IFUNC 1
| #define HAVE_FUNC_ATTRIBUTE_TARGET 1
| #define HAVE_ALPHASORT 1
| #define HAVE_ASCTIME_R 1
| #define HAVE_CHROOT 1
| #define HAVE_CTIME_R 1
| #define HAVE_FLOCK 1
| #define HAVE_FTOK 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_GETCWD 1
| #define HAVE_GETLOADAVG 1
| #define HAVE_GETLOGIN 1
| #define HAVE_GETPROTOBYNAME 1
| #define HAVE_GETPROTOBYNUMBER 1
| #define HAVE_GETSERVBYNAME 1
| #define HAVE_GETSERVBYPORT 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_GMTIME_R 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETWD 1
| #define HAVE_GLOB 1
| #define HAVE_INET_NTOA 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_LCHOWN 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP 1
| #define HAVE_NICE 1
| #define HAVE_NL_LANGINFO 1
| #define HAVE_POLL 1
| #define HAVE_PUTENV 1
| #define HAVE_SCANDIR 1
| #define HAVE_SETITIMER 1
| #define HAVE_SETENV 1
| #define HAVE_SHUTDOWN 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_STATFS 1
| #define HAVE_STATVFS 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRNLEN 1
| #define HAVE_STRPTIME 1
| #define HAVE_STRTOK_R 1
| #define HAVE_SYMLINK 1
| #define HAVE_TZSET 1
| #define HAVE_UNSETENV 1
| #define HAVE_USLEEP 1
| #define HAVE_UTIME 1
| #define HAVE_VASPRINTF 1
| #define HAVE_ASPRINTF 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_MEMMEM 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_LIBRT 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_GETOPT 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_ASM_GOTO 1
| #define HAVE_OPENPTY 1
| #define HAVE_LIBUTIL 1
| #define PHP_SIGCHILD 0
| #define DEFAULT_SHORT_OPEN_TAG "1"
| #define HAVE_IPV6 1
| #define HAVE_STRTOLL 1
| #define HAVE_ATOLL 1
| #define HAVE_TIMELIB_CONFIG_H 1
| #define HAVE_LIBXML 1
| #define HAVE_LIBXML 1
| #define HAVE_OPENSSL_EXT 1
| #define HAVE_BUNDLED_PCRE 1
| #define PCRE2_CODE_UNIT_WIDTH 8
| #define HAVE_PCRE_JIT_SUPPORT 1
| #define HAVE_SQLITE3 1
| #define HAVE_SQLITE3_ERRSTR 1
| #define HAVE_ZLIB 1
| #define HAVE_BCMATH 1
| #define HAVE_BZ2 1
| #define HAVE_CALENDAR 1
| #define HAVE_CTYPE 1
| #define HAVE_CURL 1
| #define DBA_CDB_BUILTIN 1
| #define DBA_CDB_MAKE 1
| #define DBA_CDB 1
| #define DBA_INIFILE 1
| #define DBA_FLATFILE 1
| #define HAVE_DBA 1
| #define HAVE_LIBXML 1
| #define HAVE_DOM 1
| #define HAVE_EXIF 1
| #define HAVE_UTIMES 1
| #define HAVE_STRNDUP 1
| #define HAVE_LIBINTL 1
| #define HAVE_NGETTEXT 1
| #define HAVE_DNGETTEXT 1
| #define HAVE_DCNGETTEXT 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define PHP_MHASH_BC 1
| #define SIZEOF_LONG 8
| #define HAVE_ICONV 1
| #define HAVE_GLIBC_ICONV 1
| #define PHP_ICONV_IMPL "glibc"
| #define ICONV_BROKEN_IGNORE 1
| #define HAVE_JSON 1
| #define HAVE_MBSTRING 1
| #define PHP_ONIG_BAD_KOI8_ENTRY 1
| #define HAVE_MBREGEX 1
| #define HAVE_MYSQLILIB 1
| #define ODBCVER 0x0350
| #define HAVE_HUGE_CODE_PAGES 1
| #define HAVE_JIT 1
| /* end confdefs.h. */
|
| #include <sys/types.h>
| #include <sys/wait.h>
| #include <sys/ipc.h>
| #include <sys/shm.h>
| #include <unistd.h>
| #include <string.h>
|
| int main() {
| pid_t pid;
| int status;
| int ipc_id;
| char *shm;
| struct shmid_ds shmbuf;
|
| ipc_id = shmget(IPC_PRIVATE, 4096, (IPC_CREAT | SHM_R | SHM_W));
| if (ipc_id == -1) {
| return 1;
| }
|
| shm = shmat(ipc_id, NULL, 0);
| if (shm == (void *)-1) {
| shmctl(ipc_id, IPC_RMID, NULL);
| return 2;
| }
|
| if (shmctl(ipc_id, IPC_STAT, &shmbuf) != 0) {
| shmdt(shm);
| shmctl(ipc_id, IPC_RMID, NULL);
| return 3;
| }
|
| shmbuf.shm_perm.uid = getuid();
| shmbuf.shm_perm.gid = getgid();
| shmbuf.shm_perm.mode = 0600;
|
| if (shmctl(ipc_id, IPC_SET, &shmbuf) != 0) {
| shmdt(shm);
| shmctl(ipc_id, IPC_RMID, NULL);
| return 4;
| }
|
| shmctl(ipc_id, IPC_RMID, NULL);
|
| strcpy(shm, "hello");
|
| pid = fork();
| if (pid < 0) {
| return 5;
| } else if (pid == 0) {
| strcpy(shm, "bye");
| return 6;
| }
| if (wait(&status) != pid) {
| return 7;
| }
| if (!WIFEXITED(status) || WEXITSTATUS(status) != 6) {
| return 8;
| }
| if (strcmp(shm, "bye") != 0) {
| return 9;
| }
| return 0;
| }
|
configure:51666: result: no
configure:51669: checking for mmap() using MAP_ANON shared memory support
configure:51724: cc -std=gnu99 -o conftest -g -O2 -fvisibility=hidden
-Wl,-rpath,/opt/ews-24-80/mysql/lib -L/opt/ews-24-80/mysql/lib conftest.c -lstdc++ -lbz2 -lutil -lrt
-lm -ldl -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lsqlite3 -lz -lcurl
-lxml2 -licuio -licui18n -licuuc -licudata -lonig -lmariadb -ldl -lm -lgnutls -lzlib >&5
/usr/bin/ld: cannot find -lmariadb
/usr/bin/ld: cannot find -lgnutls
/usr/bin/ld: cannot find -lzlib
collect2: error: ld returned 1 exit status
configure:51724: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "PHP"
| #define PACKAGE_TARNAME "php"
| #define PACKAGE_VERSION "8.0.0RC5"
| #define PACKAGE_STRING "PHP 8.0.0RC5"
| #define PACKAGE_BUGREPORT "https://bugs.php.net"
| #define PACKAGE_URL "https://www.php.net"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DEV_URANDOM 1
| #define HAVE_GCC_GLOBAL_REGS 1
| #define HAVE_CPUID_COUNT 1
| #define GWINSZ_IN_SYS_IOCTL 1
| #define HAVE_PHPDBG 1
| #define PHPDBG_DEBUG 0
| #define PHP_WRITE_STDOUT 1
| #define HAVE_SOCKET 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_HTONL 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_DLOPEN 1
| #define HAVE_LIBDL 1
| #define HAVE_DLSYM 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBM 1
| #define HAVE_INET_ATON 1
| #define HAVE_STDINT_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ARPA_NAMESER_H 1
| #define HAVE_CRYPT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LANGINFO_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_POLL_H 1
| #define HAVE_PTY_H 1
| #define HAVE_PWD_H 1
| #define HAVE_RESOLV_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYSEXITS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_STATFS_H 1
| #define HAVE_SYS_STATVFS_H 1
| #define HAVE_SYS_VFS_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_IMMINTRIN_H 1
| #define HAVE_FOPENCOOKIE 1
| #define COOKIE_IO_FUNCTIONS_T cookie_io_functions_t
| #define COOKIE_SEEKER_USES_OFF64_T 1
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define MISSING_FCLOSE_DECL 0
| #define HAVE_STRUCT_FLOCK 1
| #define HAVE_SOCKLEN_T 1
| #define SIZEOF_INTMAX_T 8
| #define HAVE_INTMAX_T 1
| #define SIZEOF_SSIZE_T 8
| #define HAVE_SSIZE_T 1
| #define SIZEOF_PTRDIFF_T 8
| #define HAVE_PTRDIFF_T 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_SIZE_T 8
| #define SIZEOF_OFF_T 8
| #define HAVE_INT8_T 1
| #define HAVE_INT16_T 1
| #define HAVE_INT32_T 1
| #define HAVE_INT64_T 1
| #define HAVE_UINT8_T 1
| #define HAVE_UINT16_T 1
| #define HAVE_UINT32_T 1
| #define HAVE_UINT64_T 1
| #define PHP_HAVE_BUILTIN_EXPECT 1
| #define PHP_HAVE_BUILTIN_CLZ 1
| #define PHP_HAVE_BUILTIN_CLZL 1
| #define PHP_HAVE_BUILTIN_CLZLL 1
| #define PHP_HAVE_BUILTIN_CTZL 1
| #define PHP_HAVE_BUILTIN_CTZLL 1
| #define PHP_HAVE_BUILTIN_SMULL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SMULLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_CPU_INIT 1
| #define PHP_HAVE_BUILTIN_CPU_SUPPORTS 1
| #define HAVE_ALIGNOF 1
| #define HAVE_STRUCT_TM_TM_GMTOFF 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_ST_BLOCKS 1
| #define HAVE_SOCKADDR_STORAGE 1
| #define HAVE_FUNC_ATTRIBUTE_IFUNC 1
| #define HAVE_FUNC_ATTRIBUTE_TARGET 1
| #define HAVE_ALPHASORT 1
| #define HAVE_ASCTIME_R 1
| #define HAVE_CHROOT 1
| #define HAVE_CTIME_R 1
| #define HAVE_FLOCK 1
| #define HAVE_FTOK 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_GETCWD 1
| #define HAVE_GETLOADAVG 1
| #define HAVE_GETLOGIN 1
| #define HAVE_GETPROTOBYNAME 1
| #define HAVE_GETPROTOBYNUMBER 1
| #define HAVE_GETSERVBYNAME 1
| #define HAVE_GETSERVBYPORT 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_GMTIME_R 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETWD 1
| #define HAVE_GLOB 1
| #define HAVE_INET_NTOA 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_LCHOWN 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP 1
| #define HAVE_NICE 1
| #define HAVE_NL_LANGINFO 1
| #define HAVE_POLL 1
| #define HAVE_PUTENV 1
| #define HAVE_SCANDIR 1
| #define HAVE_SETITIMER 1
| #define HAVE_SETENV 1
| #define HAVE_SHUTDOWN 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_STATFS 1
| #define HAVE_STATVFS 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRNLEN 1
| #define HAVE_STRPTIME 1
| #define HAVE_STRTOK_R 1
| #define HAVE_SYMLINK 1
| #define HAVE_TZSET 1
| #define HAVE_UNSETENV 1
| #define HAVE_USLEEP 1
| #define HAVE_UTIME 1
| #define HAVE_VASPRINTF 1
| #define HAVE_ASPRINTF 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_MEMMEM 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_LIBRT 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_GETOPT 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_ASM_GOTO 1
| #define HAVE_OPENPTY 1
| #define HAVE_LIBUTIL 1
| #define PHP_SIGCHILD 0
| #define DEFAULT_SHORT_OPEN_TAG "1"
| #define HAVE_IPV6 1
| #define HAVE_STRTOLL 1
| #define HAVE_ATOLL 1
| #define HAVE_TIMELIB_CONFIG_H 1
| #define HAVE_LIBXML 1
| #define HAVE_LIBXML 1
| #define HAVE_OPENSSL_EXT 1
| #define HAVE_BUNDLED_PCRE 1
| #define PCRE2_CODE_UNIT_WIDTH 8
| #define HAVE_PCRE_JIT_SUPPORT 1
| #define HAVE_SQLITE3 1
| #define HAVE_SQLITE3_ERRSTR 1
| #define HAVE_ZLIB 1
| #define HAVE_BCMATH 1
| #define HAVE_BZ2 1
| #define HAVE_CALENDAR 1
| #define HAVE_CTYPE 1
| #define HAVE_CURL 1
| #define DBA_CDB_BUILTIN 1
| #define DBA_CDB_MAKE 1
| #define DBA_CDB 1
| #define DBA_INIFILE 1
| #define DBA_FLATFILE 1
| #define HAVE_DBA 1
| #define HAVE_LIBXML 1
| #define HAVE_DOM 1
| #define HAVE_EXIF 1
| #define HAVE_UTIMES 1
| #define HAVE_STRNDUP 1
| #define HAVE_LIBINTL 1
| #define HAVE_NGETTEXT 1
| #define HAVE_DNGETTEXT 1
| #define HAVE_DCNGETTEXT 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define PHP_MHASH_BC 1
| #define SIZEOF_LONG 8
| #define HAVE_ICONV 1
| #define HAVE_GLIBC_ICONV 1
| #define PHP_ICONV_IMPL "glibc"
| #define ICONV_BROKEN_IGNORE 1
| #define HAVE_JSON 1
| #define HAVE_MBSTRING 1
| #define PHP_ONIG_BAD_KOI8_ENTRY 1
| #define HAVE_MBREGEX 1
| #define HAVE_MYSQLILIB 1
| #define ODBCVER 0x0350
| #define HAVE_HUGE_CODE_PAGES 1
| #define HAVE_JIT 1
| /* end confdefs.h. */
|
| #include <sys/types.h>
| #include <sys/wait.h>
| #include <sys/mman.h>
| #include <unistd.h>
| #include <string.h>
|
| #ifndef MAP_ANON
| # ifdef MAP_ANONYMOUS
| # define MAP_ANON MAP_ANONYMOUS
| # endif
| #endif
| #ifndef MAP_FAILED
| # define MAP_FAILED ((void*)-1)
| #endif
|
| int main() {
| pid_t pid;
| int status;
| char *shm;
|
| shm = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0);
| if (shm == MAP_FAILED) {
| return 1;
| }
|
| strcpy(shm, "hello");
|
| pid = fork();
| if (pid < 0) {
| return 5;
| } else if (pid == 0) {
| strcpy(shm, "bye");
| return 6;
| }
| if (wait(&status) != pid) {
| return 7;
| }
| if (!WIFEXITED(status) || WEXITSTATUS(status) != 6) {
| return 8;
| }
| if (strcmp(shm, "bye") != 0) {
| return 9;
| }
| return 0;
| }
|
configure:51736: result: no=yes
configure:51744: checking for shm_open in -lrt
configure:51769: cc -std=gnu99 -o conftest -g -O2 -fvisibility=hidden
-Wl,-rpath,/opt/ews-24-80/mysql/lib -L/opt/ews-24-80/mysql/lib conftest.c -lrt -lstdc++ -lbz2
-lutil -lrt -lm -ldl -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lsqlite3 -lz
-lcurl -lxml2 -licuio -licui18n -licuuc -licudata -lonig -lmariadb -ldl -lm -lgnutls -lzlib
>&5
/usr/bin/ld: cannot find -lmariadb
/usr/bin/ld: cannot find -lgnutls
/usr/bin/ld: cannot find -lzlib
collect2: error: ld returned 1 exit status
configure:51769: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "PHP"
| #define PACKAGE_TARNAME "php"
| #define PACKAGE_VERSION "8.0.0RC5"
| #define PACKAGE_STRING "PHP 8.0.0RC5"
| #define PACKAGE_BUGREPORT "https://bugs.php.net"
| #define PACKAGE_URL "https://www.php.net"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DEV_URANDOM 1
| #define HAVE_GCC_GLOBAL_REGS 1
| #define HAVE_CPUID_COUNT 1
| #define GWINSZ_IN_SYS_IOCTL 1
| #define HAVE_PHPDBG 1
| #define PHPDBG_DEBUG 0
| #define PHP_WRITE_STDOUT 1
| #define HAVE_SOCKET 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_HTONL 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_DLOPEN 1
| #define HAVE_LIBDL 1
| #define HAVE_DLSYM 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBM 1
| #define HAVE_INET_ATON 1
| #define HAVE_STDINT_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ARPA_NAMESER_H 1
| #define HAVE_CRYPT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LANGINFO_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_POLL_H 1
| #define HAVE_PTY_H 1
| #define HAVE_PWD_H 1
| #define HAVE_RESOLV_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYSEXITS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_STATFS_H 1
| #define HAVE_SYS_STATVFS_H 1
| #define HAVE_SYS_VFS_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_IMMINTRIN_H 1
| #define HAVE_FOPENCOOKIE 1
| #define COOKIE_IO_FUNCTIONS_T cookie_io_functions_t
| #define COOKIE_SEEKER_USES_OFF64_T 1
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define MISSING_FCLOSE_DECL 0
| #define HAVE_STRUCT_FLOCK 1
| #define HAVE_SOCKLEN_T 1
| #define SIZEOF_INTMAX_T 8
| #define HAVE_INTMAX_T 1
| #define SIZEOF_SSIZE_T 8
| #define HAVE_SSIZE_T 1
| #define SIZEOF_PTRDIFF_T 8
| #define HAVE_PTRDIFF_T 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_SIZE_T 8
| #define SIZEOF_OFF_T 8
| #define HAVE_INT8_T 1
| #define HAVE_INT16_T 1
| #define HAVE_INT32_T 1
| #define HAVE_INT64_T 1
| #define HAVE_UINT8_T 1
| #define HAVE_UINT16_T 1
| #define HAVE_UINT32_T 1
| #define HAVE_UINT64_T 1
| #define PHP_HAVE_BUILTIN_EXPECT 1
| #define PHP_HAVE_BUILTIN_CLZ 1
| #define PHP_HAVE_BUILTIN_CLZL 1
| #define PHP_HAVE_BUILTIN_CLZLL 1
| #define PHP_HAVE_BUILTIN_CTZL 1
| #define PHP_HAVE_BUILTIN_CTZLL 1
| #define PHP_HAVE_BUILTIN_SMULL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SMULLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_CPU_INIT 1
| #define PHP_HAVE_BUILTIN_CPU_SUPPORTS 1
| #define HAVE_ALIGNOF 1
| #define HAVE_STRUCT_TM_TM_GMTOFF 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_ST_BLOCKS 1
| #define HAVE_SOCKADDR_STORAGE 1
| #define HAVE_FUNC_ATTRIBUTE_IFUNC 1
| #define HAVE_FUNC_ATTRIBUTE_TARGET 1
| #define HAVE_ALPHASORT 1
| #define HAVE_ASCTIME_R 1
| #define HAVE_CHROOT 1
| #define HAVE_CTIME_R 1
| #define HAVE_FLOCK 1
| #define HAVE_FTOK 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_GETCWD 1
| #define HAVE_GETLOADAVG 1
| #define HAVE_GETLOGIN 1
| #define HAVE_GETPROTOBYNAME 1
| #define HAVE_GETPROTOBYNUMBER 1
| #define HAVE_GETSERVBYNAME 1
| #define HAVE_GETSERVBYPORT 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_GMTIME_R 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETWD 1
| #define HAVE_GLOB 1
| #define HAVE_INET_NTOA 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_LCHOWN 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP 1
| #define HAVE_NICE 1
| #define HAVE_NL_LANGINFO 1
| #define HAVE_POLL 1
| #define HAVE_PUTENV 1
| #define HAVE_SCANDIR 1
| #define HAVE_SETITIMER 1
| #define HAVE_SETENV 1
| #define HAVE_SHUTDOWN 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_STATFS 1
| #define HAVE_STATVFS 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRNLEN 1
| #define HAVE_STRPTIME 1
| #define HAVE_STRTOK_R 1
| #define HAVE_SYMLINK 1
| #define HAVE_TZSET 1
| #define HAVE_UNSETENV 1
| #define HAVE_USLEEP 1
| #define HAVE_UTIME 1
| #define HAVE_VASPRINTF 1
| #define HAVE_ASPRINTF 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_MEMMEM 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_LIBRT 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_GETOPT 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_ASM_GOTO 1
| #define HAVE_OPENPTY 1
| #define HAVE_LIBUTIL 1
| #define PHP_SIGCHILD 0
| #define DEFAULT_SHORT_OPEN_TAG "1"
| #define HAVE_IPV6 1
| #define HAVE_STRTOLL 1
| #define HAVE_ATOLL 1
| #define HAVE_TIMELIB_CONFIG_H 1
| #define HAVE_LIBXML 1
| #define HAVE_LIBXML 1
| #define HAVE_OPENSSL_EXT 1
| #define HAVE_BUNDLED_PCRE 1
| #define PCRE2_CODE_UNIT_WIDTH 8
| #define HAVE_PCRE_JIT_SUPPORT 1
| #define HAVE_SQLITE3 1
| #define HAVE_SQLITE3_ERRSTR 1
| #define HAVE_ZLIB 1
| #define HAVE_BCMATH 1
| #define HAVE_BZ2 1
| #define HAVE_CALENDAR 1
| #define HAVE_CTYPE 1
| #define HAVE_CURL 1
| #define DBA_CDB_BUILTIN 1
| #define DBA_CDB_MAKE 1
| #define DBA_CDB 1
| #define DBA_INIFILE 1
| #define DBA_FLATFILE 1
| #define HAVE_DBA 1
| #define HAVE_LIBXML 1
| #define HAVE_DOM 1
| #define HAVE_EXIF 1
| #define HAVE_UTIMES 1
| #define HAVE_STRNDUP 1
| #define HAVE_LIBINTL 1
| #define HAVE_NGETTEXT 1
| #define HAVE_DNGETTEXT 1
| #define HAVE_DCNGETTEXT 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define PHP_MHASH_BC 1
| #define SIZEOF_LONG 8
| #define HAVE_ICONV 1
| #define HAVE_GLIBC_ICONV 1
| #define PHP_ICONV_IMPL "glibc"
| #define ICONV_BROKEN_IGNORE 1
| #define HAVE_JSON 1
| #define HAVE_MBSTRING 1
| #define PHP_ONIG_BAD_KOI8_ENTRY 1
| #define HAVE_MBREGEX 1
| #define HAVE_MYSQLILIB 1
| #define ODBCVER 0x0350
| #define HAVE_HUGE_CODE_PAGES 1
| #define HAVE_JIT 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char shm_open ();
| int
| main ()
| {
| return shm_open ();
| ;
| return 0;
| }
configure:51778: result: no
configure:51784: checking for __shm_open in -lrt
configure:51809: cc -std=gnu99 -o conftest -g -O2 -fvisibility=hidden
-Wl,-rpath,/opt/ews-24-80/mysql/lib -L/opt/ews-24-80/mysql/lib conftest.c -lrt -lstdc++ -lbz2
-lutil -lrt -lm -ldl -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lsqlite3 -lz
-lcurl -lxml2 -licuio -licui18n -licuuc -licudata -lonig -lmariadb -ldl -lm -lgnutls -lzlib
>&5
/usr/bin/ld: cannot find -lmariadb
/usr/bin/ld: cannot find -lgnutls
/usr/bin/ld: cannot find -lzlib
collect2: error: ld returned 1 exit status
configure:51809: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "PHP"
| #define PACKAGE_TARNAME "php"
| #define PACKAGE_VERSION "8.0.0RC5"
| #define PACKAGE_STRING "PHP 8.0.0RC5"
| #define PACKAGE_BUGREPORT "https://bugs.php.net"
| #define PACKAGE_URL "https://www.php.net"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DEV_URANDOM 1
| #define HAVE_GCC_GLOBAL_REGS 1
| #define HAVE_CPUID_COUNT 1
| #define GWINSZ_IN_SYS_IOCTL 1
| #define HAVE_PHPDBG 1
| #define PHPDBG_DEBUG 0
| #define PHP_WRITE_STDOUT 1
| #define HAVE_SOCKET 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_HTONL 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_DLOPEN 1
| #define HAVE_LIBDL 1
| #define HAVE_DLSYM 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBM 1
| #define HAVE_INET_ATON 1
| #define HAVE_STDINT_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ARPA_NAMESER_H 1
| #define HAVE_CRYPT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LANGINFO_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_POLL_H 1
| #define HAVE_PTY_H 1
| #define HAVE_PWD_H 1
| #define HAVE_RESOLV_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYSEXITS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_STATFS_H 1
| #define HAVE_SYS_STATVFS_H 1
| #define HAVE_SYS_VFS_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_IMMINTRIN_H 1
| #define HAVE_FOPENCOOKIE 1
| #define COOKIE_IO_FUNCTIONS_T cookie_io_functions_t
| #define COOKIE_SEEKER_USES_OFF64_T 1
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define MISSING_FCLOSE_DECL 0
| #define HAVE_STRUCT_FLOCK 1
| #define HAVE_SOCKLEN_T 1
| #define SIZEOF_INTMAX_T 8
| #define HAVE_INTMAX_T 1
| #define SIZEOF_SSIZE_T 8
| #define HAVE_SSIZE_T 1
| #define SIZEOF_PTRDIFF_T 8
| #define HAVE_PTRDIFF_T 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_SIZE_T 8
| #define SIZEOF_OFF_T 8
| #define HAVE_INT8_T 1
| #define HAVE_INT16_T 1
| #define HAVE_INT32_T 1
| #define HAVE_INT64_T 1
| #define HAVE_UINT8_T 1
| #define HAVE_UINT16_T 1
| #define HAVE_UINT32_T 1
| #define HAVE_UINT64_T 1
| #define PHP_HAVE_BUILTIN_EXPECT 1
| #define PHP_HAVE_BUILTIN_CLZ 1
| #define PHP_HAVE_BUILTIN_CLZL 1
| #define PHP_HAVE_BUILTIN_CLZLL 1
| #define PHP_HAVE_BUILTIN_CTZL 1
| #define PHP_HAVE_BUILTIN_CTZLL 1
| #define PHP_HAVE_BUILTIN_SMULL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SMULLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_CPU_INIT 1
| #define PHP_HAVE_BUILTIN_CPU_SUPPORTS 1
| #define HAVE_ALIGNOF 1
| #define HAVE_STRUCT_TM_TM_GMTOFF 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_ST_BLOCKS 1
| #define HAVE_SOCKADDR_STORAGE 1
| #define HAVE_FUNC_ATTRIBUTE_IFUNC 1
| #define HAVE_FUNC_ATTRIBUTE_TARGET 1
| #define HAVE_ALPHASORT 1
| #define HAVE_ASCTIME_R 1
| #define HAVE_CHROOT 1
| #define HAVE_CTIME_R 1
| #define HAVE_FLOCK 1
| #define HAVE_FTOK 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_GETCWD 1
| #define HAVE_GETLOADAVG 1
| #define HAVE_GETLOGIN 1
| #define HAVE_GETPROTOBYNAME 1
| #define HAVE_GETPROTOBYNUMBER 1
| #define HAVE_GETSERVBYNAME 1
| #define HAVE_GETSERVBYPORT 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_GMTIME_R 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETWD 1
| #define HAVE_GLOB 1
| #define HAVE_INET_NTOA 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_LCHOWN 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP 1
| #define HAVE_NICE 1
| #define HAVE_NL_LANGINFO 1
| #define HAVE_POLL 1
| #define HAVE_PUTENV 1
| #define HAVE_SCANDIR 1
| #define HAVE_SETITIMER 1
| #define HAVE_SETENV 1
| #define HAVE_SHUTDOWN 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_STATFS 1
| #define HAVE_STATVFS 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRNLEN 1
| #define HAVE_STRPTIME 1
| #define HAVE_STRTOK_R 1
| #define HAVE_SYMLINK 1
| #define HAVE_TZSET 1
| #define HAVE_UNSETENV 1
| #define HAVE_USLEEP 1
| #define HAVE_UTIME 1
| #define HAVE_VASPRINTF 1
| #define HAVE_ASPRINTF 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_MEMMEM 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_LIBRT 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_GETOPT 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_ASM_GOTO 1
| #define HAVE_OPENPTY 1
| #define HAVE_LIBUTIL 1
| #define PHP_SIGCHILD 0
| #define DEFAULT_SHORT_OPEN_TAG "1"
| #define HAVE_IPV6 1
| #define HAVE_STRTOLL 1
| #define HAVE_ATOLL 1
| #define HAVE_TIMELIB_CONFIG_H 1
| #define HAVE_LIBXML 1
| #define HAVE_LIBXML 1
| #define HAVE_OPENSSL_EXT 1
| #define HAVE_BUNDLED_PCRE 1
| #define PCRE2_CODE_UNIT_WIDTH 8
| #define HAVE_PCRE_JIT_SUPPORT 1
| #define HAVE_SQLITE3 1
| #define HAVE_SQLITE3_ERRSTR 1
| #define HAVE_ZLIB 1
| #define HAVE_BCMATH 1
| #define HAVE_BZ2 1
| #define HAVE_CALENDAR 1
| #define HAVE_CTYPE 1
| #define HAVE_CURL 1
| #define DBA_CDB_BUILTIN 1
| #define DBA_CDB_MAKE 1
| #define DBA_CDB 1
| #define DBA_INIFILE 1
| #define DBA_FLATFILE 1
| #define HAVE_DBA 1
| #define HAVE_LIBXML 1
| #define HAVE_DOM 1
| #define HAVE_EXIF 1
| #define HAVE_UTIMES 1
| #define HAVE_STRNDUP 1
| #define HAVE_LIBINTL 1
| #define HAVE_NGETTEXT 1
| #define HAVE_DNGETTEXT 1
| #define HAVE_DCNGETTEXT 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define PHP_MHASH_BC 1
| #define SIZEOF_LONG 8
| #define HAVE_ICONV 1
| #define HAVE_GLIBC_ICONV 1
| #define PHP_ICONV_IMPL "glibc"
| #define ICONV_BROKEN_IGNORE 1
| #define HAVE_JSON 1
| #define HAVE_MBSTRING 1
| #define PHP_ONIG_BAD_KOI8_ENTRY 1
| #define HAVE_MBREGEX 1
| #define HAVE_MYSQLILIB 1
| #define ODBCVER 0x0350
| #define HAVE_HUGE_CODE_PAGES 1
| #define HAVE_JIT 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char __shm_open ();
| int
| main ()
| {
| return __shm_open ();
| ;
| return 0;
| }
configure:51818: result: no
configure:51876: checking for shm_open in -lroot
configure:51901: cc -std=gnu99 -o conftest -g -O2 -fvisibility=hidden
-Wl,-rpath,/opt/ews-24-80/mysql/lib -L/opt/ews-24-80/mysql/lib conftest.c -lroot -lstdc++ -lbz2
-lutil -lrt -lm -ldl -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lsqlite3 -lz
-lcurl -lxml2 -licuio -licui18n -licuuc -licudata -lonig -lmariadb -ldl -lm -lgnutls -lzlib
>&5
/usr/bin/ld: cannot find -lroot
/usr/bin/ld: cannot find -lmariadb
/usr/bin/ld: cannot find -lgnutls
/usr/bin/ld: cannot find -lzlib
collect2: error: ld returned 1 exit status
configure:51901: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "PHP"
| #define PACKAGE_TARNAME "php"
| #define PACKAGE_VERSION "8.0.0RC5"
| #define PACKAGE_STRING "PHP 8.0.0RC5"
| #define PACKAGE_BUGREPORT "https://bugs.php.net"
| #define PACKAGE_URL "https://www.php.net"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DEV_URANDOM 1
| #define HAVE_GCC_GLOBAL_REGS 1
| #define HAVE_CPUID_COUNT 1
| #define GWINSZ_IN_SYS_IOCTL 1
| #define HAVE_PHPDBG 1
| #define PHPDBG_DEBUG 0
| #define PHP_WRITE_STDOUT 1
| #define HAVE_SOCKET 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_HTONL 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_DLOPEN 1
| #define HAVE_LIBDL 1
| #define HAVE_DLSYM 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBM 1
| #define HAVE_INET_ATON 1
| #define HAVE_STDINT_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ARPA_NAMESER_H 1
| #define HAVE_CRYPT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LANGINFO_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_POLL_H 1
| #define HAVE_PTY_H 1
| #define HAVE_PWD_H 1
| #define HAVE_RESOLV_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYSEXITS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_STATFS_H 1
| #define HAVE_SYS_STATVFS_H 1
| #define HAVE_SYS_VFS_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_IMMINTRIN_H 1
| #define HAVE_FOPENCOOKIE 1
| #define COOKIE_IO_FUNCTIONS_T cookie_io_functions_t
| #define COOKIE_SEEKER_USES_OFF64_T 1
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define MISSING_FCLOSE_DECL 0
| #define HAVE_STRUCT_FLOCK 1
| #define HAVE_SOCKLEN_T 1
| #define SIZEOF_INTMAX_T 8
| #define HAVE_INTMAX_T 1
| #define SIZEOF_SSIZE_T 8
| #define HAVE_SSIZE_T 1
| #define SIZEOF_PTRDIFF_T 8
| #define HAVE_PTRDIFF_T 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_SIZE_T 8
| #define SIZEOF_OFF_T 8
| #define HAVE_INT8_T 1
| #define HAVE_INT16_T 1
| #define HAVE_INT32_T 1
| #define HAVE_INT64_T 1
| #define HAVE_UINT8_T 1
| #define HAVE_UINT16_T 1
| #define HAVE_UINT32_T 1
| #define HAVE_UINT64_T 1
| #define PHP_HAVE_BUILTIN_EXPECT 1
| #define PHP_HAVE_BUILTIN_CLZ 1
| #define PHP_HAVE_BUILTIN_CLZL 1
| #define PHP_HAVE_BUILTIN_CLZLL 1
| #define PHP_HAVE_BUILTIN_CTZL 1
| #define PHP_HAVE_BUILTIN_CTZLL 1
| #define PHP_HAVE_BUILTIN_SMULL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SMULLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_CPU_INIT 1
| #define PHP_HAVE_BUILTIN_CPU_SUPPORTS 1
| #define HAVE_ALIGNOF 1
| #define HAVE_STRUCT_TM_TM_GMTOFF 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_ST_BLOCKS 1
| #define HAVE_SOCKADDR_STORAGE 1
| #define HAVE_FUNC_ATTRIBUTE_IFUNC 1
| #define HAVE_FUNC_ATTRIBUTE_TARGET 1
| #define HAVE_ALPHASORT 1
| #define HAVE_ASCTIME_R 1
| #define HAVE_CHROOT 1
| #define HAVE_CTIME_R 1
| #define HAVE_FLOCK 1
| #define HAVE_FTOK 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_GETCWD 1
| #define HAVE_GETLOADAVG 1
| #define HAVE_GETLOGIN 1
| #define HAVE_GETPROTOBYNAME 1
| #define HAVE_GETPROTOBYNUMBER 1
| #define HAVE_GETSERVBYNAME 1
| #define HAVE_GETSERVBYPORT 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_GMTIME_R 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETWD 1
| #define HAVE_GLOB 1
| #define HAVE_INET_NTOA 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_LCHOWN 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP 1
| #define HAVE_NICE 1
| #define HAVE_NL_LANGINFO 1
| #define HAVE_POLL 1
| #define HAVE_PUTENV 1
| #define HAVE_SCANDIR 1
| #define HAVE_SETITIMER 1
| #define HAVE_SETENV 1
| #define HAVE_SHUTDOWN 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_STATFS 1
| #define HAVE_STATVFS 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRNLEN 1
| #define HAVE_STRPTIME 1
| #define HAVE_STRTOK_R 1
| #define HAVE_SYMLINK 1
| #define HAVE_TZSET 1
| #define HAVE_UNSETENV 1
| #define HAVE_USLEEP 1
| #define HAVE_UTIME 1
| #define HAVE_VASPRINTF 1
| #define HAVE_ASPRINTF 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_MEMMEM 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_LIBRT 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_GETOPT 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_ASM_GOTO 1
| #define HAVE_OPENPTY 1
| #define HAVE_LIBUTIL 1
| #define PHP_SIGCHILD 0
| #define DEFAULT_SHORT_OPEN_TAG "1"
| #define HAVE_IPV6 1
| #define HAVE_STRTOLL 1
| #define HAVE_ATOLL 1
| #define HAVE_TIMELIB_CONFIG_H 1
| #define HAVE_LIBXML 1
| #define HAVE_LIBXML 1
| #define HAVE_OPENSSL_EXT 1
| #define HAVE_BUNDLED_PCRE 1
| #define PCRE2_CODE_UNIT_WIDTH 8
| #define HAVE_PCRE_JIT_SUPPORT 1
| #define HAVE_SQLITE3 1
| #define HAVE_SQLITE3_ERRSTR 1
| #define HAVE_ZLIB 1
| #define HAVE_BCMATH 1
| #define HAVE_BZ2 1
| #define HAVE_CALENDAR 1
| #define HAVE_CTYPE 1
| #define HAVE_CURL 1
| #define DBA_CDB_BUILTIN 1
| #define DBA_CDB_MAKE 1
| #define DBA_CDB 1
| #define DBA_INIFILE 1
| #define DBA_FLATFILE 1
| #define HAVE_DBA 1
| #define HAVE_LIBXML 1
| #define HAVE_DOM 1
| #define HAVE_EXIF 1
| #define HAVE_UTIMES 1
| #define HAVE_STRNDUP 1
| #define HAVE_LIBINTL 1
| #define HAVE_NGETTEXT 1
| #define HAVE_DNGETTEXT 1
| #define HAVE_DCNGETTEXT 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define PHP_MHASH_BC 1
| #define SIZEOF_LONG 8
| #define HAVE_ICONV 1
| #define HAVE_GLIBC_ICONV 1
| #define PHP_ICONV_IMPL "glibc"
| #define ICONV_BROKEN_IGNORE 1
| #define HAVE_JSON 1
| #define HAVE_MBSTRING 1
| #define PHP_ONIG_BAD_KOI8_ENTRY 1
| #define HAVE_MBREGEX 1
| #define HAVE_MYSQLILIB 1
| #define ODBCVER 0x0350
| #define HAVE_HUGE_CODE_PAGES 1
| #define HAVE_JIT 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char shm_open ();
| int
| main ()
| {
| return shm_open ();
| ;
| return 0;
| }
configure:51910: result: no
configure:51916: checking for __shm_open in -lroot
configure:51941: cc -std=gnu99 -o conftest -g -O2 -fvisibility=hidden
-Wl,-rpath,/opt/ews-24-80/mysql/lib -L/opt/ews-24-80/mysql/lib conftest.c -lroot -lstdc++ -lbz2
-lutil -lrt -lm -ldl -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lsqlite3 -lz
-lcurl -lxml2 -licuio -licui18n -licuuc -licudata -lonig -lmariadb -ldl -lm -lgnutls -lzlib
>&5
/usr/bin/ld: cannot find -lroot
/usr/bin/ld: cannot find -lmariadb
/usr/bin/ld: cannot find -lgnutls
/usr/bin/ld: cannot find -lzlib
collect2: error: ld returned 1 exit status
configure:51941: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "PHP"
| #define PACKAGE_TARNAME "php"
| #define PACKAGE_VERSION "8.0.0RC5"
| #define PACKAGE_STRING "PHP 8.0.0RC5"
| #define PACKAGE_BUGREPORT "https://bugs.php.net"
| #define PACKAGE_URL "https://www.php.net"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DEV_URANDOM 1
| #define HAVE_GCC_GLOBAL_REGS 1
| #define HAVE_CPUID_COUNT 1
| #define GWINSZ_IN_SYS_IOCTL 1
| #define HAVE_PHPDBG 1
| #define PHPDBG_DEBUG 0
| #define PHP_WRITE_STDOUT 1
| #define HAVE_SOCKET 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_HTONL 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_DLOPEN 1
| #define HAVE_LIBDL 1
| #define HAVE_DLSYM 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBM 1
| #define HAVE_INET_ATON 1
| #define HAVE_STDINT_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ARPA_NAMESER_H 1
| #define HAVE_CRYPT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LANGINFO_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_POLL_H 1
| #define HAVE_PTY_H 1
| #define HAVE_PWD_H 1
| #define HAVE_RESOLV_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYSEXITS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_STATFS_H 1
| #define HAVE_SYS_STATVFS_H 1
| #define HAVE_SYS_VFS_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_IMMINTRIN_H 1
| #define HAVE_FOPENCOOKIE 1
| #define COOKIE_IO_FUNCTIONS_T cookie_io_functions_t
| #define COOKIE_SEEKER_USES_OFF64_T 1
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define MISSING_FCLOSE_DECL 0
| #define HAVE_STRUCT_FLOCK 1
| #define HAVE_SOCKLEN_T 1
| #define SIZEOF_INTMAX_T 8
| #define HAVE_INTMAX_T 1
| #define SIZEOF_SSIZE_T 8
| #define HAVE_SSIZE_T 1
| #define SIZEOF_PTRDIFF_T 8
| #define HAVE_PTRDIFF_T 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_SIZE_T 8
| #define SIZEOF_OFF_T 8
| #define HAVE_INT8_T 1
| #define HAVE_INT16_T 1
| #define HAVE_INT32_T 1
| #define HAVE_INT64_T 1
| #define HAVE_UINT8_T 1
| #define HAVE_UINT16_T 1
| #define HAVE_UINT32_T 1
| #define HAVE_UINT64_T 1
| #define PHP_HAVE_BUILTIN_EXPECT 1
| #define PHP_HAVE_BUILTIN_CLZ 1
| #define PHP_HAVE_BUILTIN_CLZL 1
| #define PHP_HAVE_BUILTIN_CLZLL 1
| #define PHP_HAVE_BUILTIN_CTZL 1
| #define PHP_HAVE_BUILTIN_CTZLL 1
| #define PHP_HAVE_BUILTIN_SMULL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SMULLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_CPU_INIT 1
| #define PHP_HAVE_BUILTIN_CPU_SUPPORTS 1
| #define HAVE_ALIGNOF 1
| #define HAVE_STRUCT_TM_TM_GMTOFF 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_ST_BLOCKS 1
| #define HAVE_SOCKADDR_STORAGE 1
| #define HAVE_FUNC_ATTRIBUTE_IFUNC 1
| #define HAVE_FUNC_ATTRIBUTE_TARGET 1
| #define HAVE_ALPHASORT 1
| #define HAVE_ASCTIME_R 1
| #define HAVE_CHROOT 1
| #define HAVE_CTIME_R 1
| #define HAVE_FLOCK 1
| #define HAVE_FTOK 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_GETCWD 1
| #define HAVE_GETLOADAVG 1
| #define HAVE_GETLOGIN 1
| #define HAVE_GETPROTOBYNAME 1
| #define HAVE_GETPROTOBYNUMBER 1
| #define HAVE_GETSERVBYNAME 1
| #define HAVE_GETSERVBYPORT 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_GMTIME_R 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETWD 1
| #define HAVE_GLOB 1
| #define HAVE_INET_NTOA 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_LCHOWN 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP 1
| #define HAVE_NICE 1
| #define HAVE_NL_LANGINFO 1
| #define HAVE_POLL 1
| #define HAVE_PUTENV 1
| #define HAVE_SCANDIR 1
| #define HAVE_SETITIMER 1
| #define HAVE_SETENV 1
| #define HAVE_SHUTDOWN 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_STATFS 1
| #define HAVE_STATVFS 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRNLEN 1
| #define HAVE_STRPTIME 1
| #define HAVE_STRTOK_R 1
| #define HAVE_SYMLINK 1
| #define HAVE_TZSET 1
| #define HAVE_UNSETENV 1
| #define HAVE_USLEEP 1
| #define HAVE_UTIME 1
| #define HAVE_VASPRINTF 1
| #define HAVE_ASPRINTF 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_MEMMEM 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_LIBRT 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_GETOPT 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_ASM_GOTO 1
| #define HAVE_OPENPTY 1
| #define HAVE_LIBUTIL 1
| #define PHP_SIGCHILD 0
| #define DEFAULT_SHORT_OPEN_TAG "1"
| #define HAVE_IPV6 1
| #define HAVE_STRTOLL 1
| #define HAVE_ATOLL 1
| #define HAVE_TIMELIB_CONFIG_H 1
| #define HAVE_LIBXML 1
| #define HAVE_LIBXML 1
| #define HAVE_OPENSSL_EXT 1
| #define HAVE_BUNDLED_PCRE 1
| #define PCRE2_CODE_UNIT_WIDTH 8
| #define HAVE_PCRE_JIT_SUPPORT 1
| #define HAVE_SQLITE3 1
| #define HAVE_SQLITE3_ERRSTR 1
| #define HAVE_ZLIB 1
| #define HAVE_BCMATH 1
| #define HAVE_BZ2 1
| #define HAVE_CALENDAR 1
| #define HAVE_CTYPE 1
| #define HAVE_CURL 1
| #define DBA_CDB_BUILTIN 1
| #define DBA_CDB_MAKE 1
| #define DBA_CDB 1
| #define DBA_INIFILE 1
| #define DBA_FLATFILE 1
| #define HAVE_DBA 1
| #define HAVE_LIBXML 1
| #define HAVE_DOM 1
| #define HAVE_EXIF 1
| #define HAVE_UTIMES 1
| #define HAVE_STRNDUP 1
| #define HAVE_LIBINTL 1
| #define HAVE_NGETTEXT 1
| #define HAVE_DNGETTEXT 1
| #define HAVE_DCNGETTEXT 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define PHP_MHASH_BC 1
| #define SIZEOF_LONG 8
| #define HAVE_ICONV 1
| #define HAVE_GLIBC_ICONV 1
| #define PHP_ICONV_IMPL "glibc"
| #define ICONV_BROKEN_IGNORE 1
| #define HAVE_JSON 1
| #define HAVE_MBSTRING 1
| #define PHP_ONIG_BAD_KOI8_ENTRY 1
| #define HAVE_MBREGEX 1
| #define HAVE_MYSQLILIB 1
| #define ODBCVER 0x0350
| #define HAVE_HUGE_CODE_PAGES 1
| #define HAVE_JIT 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char __shm_open ();
| int
| main ()
| {
| return __shm_open ();
| ;
| return 0;
| }
configure:51950: result: no
configure:52012: checking for mmap() using shm_open() shared memory support
configure:52087: cc -std=gnu99 -o conftest -g -O2 -fvisibility=hidden
-Wl,-rpath,/opt/ews-24-80/mysql/lib -L/opt/ews-24-80/mysql/lib conftest.c -lstdc++ -lbz2 -lutil -lrt
-lm -ldl -lxml2 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lsqlite3 -lz -lcurl
-lxml2 -licuio -licui18n -licuuc -licudata -lonig -lmariadb -ldl -lm -lgnutls -lzlib >&5
/usr/bin/ld: cannot find -lmariadb
/usr/bin/ld: cannot find -lgnutls
/usr/bin/ld: cannot find -lzlib
/tmp/cc57pwbn.o: In function `main':
/builds/package-build/ews-24-80-build/BUILD/php-8.0.0RC5/conftest.c:272: warning: the use of
mktemp' is dangerous, better use mkstemp'
collect2: error: ld returned 1 exit status
configure:52087: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "PHP"
| #define PACKAGE_TARNAME "php"
| #define PACKAGE_VERSION "8.0.0RC5"
| #define PACKAGE_STRING "PHP 8.0.0RC5"
| #define PACKAGE_BUGREPORT "https://bugs.php.net"
| #define PACKAGE_URL "https://www.php.net"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DEV_URANDOM 1
| #define HAVE_GCC_GLOBAL_REGS 1
| #define HAVE_CPUID_COUNT 1
| #define GWINSZ_IN_SYS_IOCTL 1
| #define HAVE_PHPDBG 1
| #define PHPDBG_DEBUG 0
| #define PHP_WRITE_STDOUT 1
| #define HAVE_SOCKET 1
| #define HAVE_SOCKETPAIR 1
| #define HAVE_HTONL 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_DLOPEN 1
| #define HAVE_LIBDL 1
| #define HAVE_DLSYM 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBM 1
| #define HAVE_INET_ATON 1
| #define HAVE_STDINT_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ARPA_NAMESER_H 1
| #define HAVE_CRYPT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LANGINFO_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_POLL_H 1
| #define HAVE_PTY_H 1
| #define HAVE_PWD_H 1
| #define HAVE_RESOLV_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYSEXITS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_STATFS_H 1
| #define HAVE_SYS_STATVFS_H 1
| #define HAVE_SYS_VFS_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_IMMINTRIN_H 1
| #define HAVE_FOPENCOOKIE 1
| #define COOKIE_IO_FUNCTIONS_T cookie_io_functions_t
| #define COOKIE_SEEKER_USES_OFF64_T 1
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define MISSING_FCLOSE_DECL 0
| #define HAVE_STRUCT_FLOCK 1
| #define HAVE_SOCKLEN_T 1
| #define SIZEOF_INTMAX_T 8
| #define HAVE_INTMAX_T 1
| #define SIZEOF_SSIZE_T 8
| #define HAVE_SSIZE_T 1
| #define SIZEOF_PTRDIFF_T 8
| #define HAVE_PTRDIFF_T 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 8
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF_SIZE_T 8
| #define SIZEOF_OFF_T 8
| #define HAVE_INT8_T 1
| #define HAVE_INT16_T 1
| #define HAVE_INT32_T 1
| #define HAVE_INT64_T 1
| #define HAVE_UINT8_T 1
| #define HAVE_UINT16_T 1
| #define HAVE_UINT32_T 1
| #define HAVE_UINT64_T 1
| #define PHP_HAVE_BUILTIN_EXPECT 1
| #define PHP_HAVE_BUILTIN_CLZ 1
| #define PHP_HAVE_BUILTIN_CLZL 1
| #define PHP_HAVE_BUILTIN_CLZLL 1
| #define PHP_HAVE_BUILTIN_CTZL 1
| #define PHP_HAVE_BUILTIN_CTZLL 1
| #define PHP_HAVE_BUILTIN_SMULL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SMULLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SADDLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_SSUBLL_OVERFLOW 0
| #define PHP_HAVE_BUILTIN_CPU_INIT 1
| #define PHP_HAVE_BUILTIN_CPU_SUPPORTS 1
| #define HAVE_ALIGNOF 1
| #define HAVE_STRUCT_TM_TM_GMTOFF 1
| #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
| #define HAVE_STRUCT_STAT_ST_RDEV 1
| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
| #define HAVE_ST_BLOCKS 1
| #define HAVE_SOCKADDR_STORAGE 1
| #define HAVE_FUNC_ATTRIBUTE_IFUNC 1
| #define HAVE_FUNC_ATTRIBUTE_TARGET 1
| #define HAVE_ALPHASORT 1
| #define HAVE_ASCTIME_R 1
| #define HAVE_CHROOT 1
| #define HAVE_CTIME_R 1
| #define HAVE_FLOCK 1
| #define HAVE_FTOK 1
| #define HAVE_GAI_STRERROR 1
| #define HAVE_GETCWD 1
| #define HAVE_GETLOADAVG 1
| #define HAVE_GETLOGIN 1
| #define HAVE_GETPROTOBYNAME 1
| #define HAVE_GETPROTOBYNUMBER 1
| #define HAVE_GETSERVBYNAME 1
| #define HAVE_GETSERVBYPORT 1
| #define HAVE_GETRUSAGE 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_GMTIME_R 1
| #define HAVE_GETPWNAM_R 1
| #define HAVE_GETGRNAM_R 1
| #define HAVE_GETPWUID_R 1
| #define HAVE_GETWD 1
| #define HAVE_GLOB 1
| #define HAVE_INET_NTOA 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_LCHOWN 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MKSTEMP 1
| #define HAVE_MMAP 1
| #define HAVE_NICE 1
| #define HAVE_NL_LANGINFO 1
| #define HAVE_POLL 1
| #define HAVE_PUTENV 1
| #define HAVE_SCANDIR 1
| #define HAVE_SETITIMER 1
| #define HAVE_SETENV 1
| #define HAVE_SHUTDOWN 1
| #define HAVE_SIGPROCMASK 1
| #define HAVE_STATFS 1
| #define HAVE_STATVFS 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRNLEN 1
| #define HAVE_STRPTIME 1
| #define HAVE_STRTOK_R 1
| #define HAVE_SYMLINK 1
| #define HAVE_TZSET 1
| #define HAVE_UNSETENV 1
| #define HAVE_USLEEP 1
| #define HAVE_UTIME 1
| #define HAVE_VASPRINTF 1
| #define HAVE_ASPRINTF 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_MEMMEM 1
| #define HAVE_GETHOSTBYNAME_R 1
| #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
| #define HAVE_NANOSLEEP 1
| #define HAVE_LIBRT 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_GETOPT 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_ASM_GOTO 1
| #define HAVE_OPENPTY 1
| #define HAVE_LIBUTIL 1
| #define PHP_SIGCHILD 0
| #define DEFAULT_SHORT_OPEN_TAG "1"
| #define HAVE_IPV6 1
| #define HAVE_STRTOLL 1
| #define HAVE_ATOLL 1
| #define HAVE_TIMELIB_CONFIG_H 1
| #define HAVE_LIBXML 1
| #define HAVE_LIBXML 1
| #define HAVE_OPENSSL_EXT 1
| #define HAVE_BUNDLED_PCRE 1
| #define PCRE2_CODE_UNIT_WIDTH 8
| #define HAVE_PCRE_JIT_SUPPORT 1
| #define HAVE_SQLITE3 1
| #define HAVE_SQLITE3_ERRSTR 1
| #define HAVE_ZLIB 1
| #define HAVE_BCMATH 1
| #define HAVE_BZ2 1
| #define HAVE_CALENDAR 1
| #define HAVE_CTYPE 1
| #define HAVE_CURL 1
| #define DBA_CDB_BUILTIN 1
| #define DBA_CDB_MAKE 1
| #define DBA_CDB 1
| #define DBA_INIFILE 1
| #define DBA_FLATFILE 1
| #define HAVE_DBA 1
| #define HAVE_LIBXML 1
| #define HAVE_DOM 1
| #define HAVE_EXIF 1
| #define HAVE_UTIMES 1
| #define HAVE_STRNDUP 1
| #define HAVE_LIBINTL 1
| #define HAVE_NGETTEXT 1
| #define HAVE_DNGETTEXT 1
| #define HAVE_DCNGETTEXT 1
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
| #define PHP_MHASH_BC 1
| #define SIZEOF_LONG 8
| #define HAVE_ICONV 1
| #define HAVE_GLIBC_ICONV 1
| #define PHP_ICONV_IMPL "glibc"
| #define ICONV_BROKEN_IGNORE 1
| #define HAVE_JSON 1
| #define HAVE_MBSTRING 1
| #define PHP_ONIG_BAD_KOI8_ENTRY 1
| #define HAVE_MBREGEX 1
| #define HAVE_MYSQLILIB 1
| #define ODBCVER 0x0350
| #define HAVE_HUGE_CODE_PAGES 1
| #define HAVE_JIT 1
| /* end confdefs.h. */
|
| #include <sys/types.h>
| #include <sys/wait.h>
| #include <sys/mman.h>
| #include <sys/stat.h>
| #include <fcntl.h>
| #include <unistd.h>
| #include <string.h>
| #include <stdlib.h>
| #include <stdio.h>
|
| #ifndef MAP_FAILED
| # define MAP_FAILED ((void*)-1)
| #endif
|
| int main() {
| pid_t pid;
| int status;
| int fd;
| char *shm;
| char tmpname[4096];
|
| sprintf(tmpname,"/opcache.test.shm.%dXXXXXX", getpid());
| if (mktemp(tmpname) == NULL) {
| return 1;
| }
| fd = shm_open(tmpname, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
| if (fd == -1) {
| return 2;
| }
| if (ftruncate(fd, 4096) < 0) {
| close(fd);
| shm_unlink(tmpname);
| return 3;
| }
|
| shm = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
| if (shm == MAP_FAILED) {
| return 4;
| }
| shm_unlink(tmpname);
| close(fd);
|
| strcpy(shm, "hello");
|
| pid = fork();
| if (pid < 0) {
| return 5;
| } else if (pid == 0) {
| strcpy(shm, "bye");
| return 6;
| }
| if (wait(&status) != pid) {
| return 7;
| }
| if (!WIFEXITED(status) || WEXITSTATUS(status) != 6) {
| return 8;
| }
| if (strcmp(shm, "bye") != 0) {
| return 9;
| }
| return 0;
| }
|
configure:52275: result: no
configure:52692: error: No supported shared memory caching support was found when configuring
opcache.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=80386
--
Edit this bug report at https://bugs.php.net/bug.php?id=80386&edit=1