Author Topic: PHP-FPM 8.0 not building.  (Read 783 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
PHP-FPM 8.0 not building.
« on: June 02, 2022, 09:55:08 PM »
Facing similar issue while installing php 8.1 through FPM selector.

checking for if_indextoname... yes

checking netinet/tcp.h usability... yes

checking netinet/tcp.h presence... yes

checking for netinet/tcp.h... yes

checking sys/un.h usability... yes

checking sys/un.h presence... yes

checking for sys/un.h... yes

checking sys/sockio.h usability... no

checking sys/sockio.h presence... no

checking for sys/sockio.h... no

checking for field ss_family in struct sockaddr_storage... yes

checking if getaddrinfo supports AI_V4MAPPED... yes

checking if getaddrinfo supports AI_ALL... yes

checking if getaddrinfo supports AI_IDN... yes

checking for sodium support... no

checking whether flush should be called explicitly after a buffered io... no

checking for crypt... yes

checking for crypt_r... yes

checking which data struct is used by crypt_r... struct_crypt_data

checking for standard DES crypt... yes

checking for extended DES crypt... no

checking for MD5 crypt...

yes

checking for Blowfish crypt... no

checking for SHA512 crypt... yes

checking for SHA256 crypt... yes

checking whether the compiler supports aligned attribute... yes

checking for working POSIX fnmatch... yes

checking for fork... (cached) yes

checking if your OS can spawn processes with inherited handles... yes

checking for res_nsearch... no

checking for __res_nsearch... no

checking for res_nsearch in -lresolv... no

checking for __res_nsearch in -lresolv... yes

checking for res_ndestroy... no

checking for __res_ndestroy... no

checking for res_ndestroy in -lresolv... no

checking for __res_ndestroy in -lresolv... no

checking for res_ndestroy in -lbind... no

checking for __res_ndestroy in -lbind... no

checking for res_ndestroy in -lsocket... no

checking for __res_ndestroy in -lsocket... no

checking for dns_search... no

checking for __dns_search... no

checking for dns_search in -lresolv... no

checking for __dns_search in -lresolv...

no

checking for dns_search in -lbind... no

checking for __dns_search in -lbind... no

checking for dns_search in -lsocket... no

checking for __dns_search in -lsocket... no

checking for dn_expand... no

checking for __dn_expand... yes

checking for dn_skipname... no

checking for __dn_skipname... yes

checking for res_search... no

checking for __res_search... yes

checking whether strptime() declaration fails... yes

checking whether arc4random_buf is declared... no

checking for Argon2 support... yes

checking for Argon2 library... found in /usr

checking for argon2id_hash_raw in -largon2...

yes

checking for net/if.h... yes

checking for usable getifaddrs... yes

checking whether to enable System V IPC support... yes

checking sys/msg.h usability... yes

checking sys/msg.h presence... yes

checking for sys/msg.h... yes

checking whether to enable System V semaphore support... yes

checking for union semun... no

checking whether to enable System V shared memory support... yes

checking for TIDY support... yes

checking for tidyOptGetDoc in -ltidy... yes

checking for tidyReleaseDate in -ltidy... yes

checking whether to enable tokenizer support... yes

checking whether to enable XML support... yes

checking whether to build with expat support... no

checking for libxml-2.0 >= 2.9.0... yes

checking whether to enable XMLReader support... yes

checking for libxml-2.0 >= 2.9.0... yes

checking whether to enable XMLWriter support... yes

checking for libxml-2.0 >= 2.9.0... yes

checking whether to build with XSL support... yes

checking for libxslt >= 1.1.0... yes

checking for libexslt... yes

checking whether to enable zend-test extension... no

checking for zip archive read/write support... yes

checking for libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0... no

configure: error: Package requirements (libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0) were not met:

No package 'libzip' found

No package 'libzip' found

No package 'libzip' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you

installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBZIP_CFLAGS

and LIBZIP_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more details.

make: *** No targets specified and no makefile found. Stop.

make: *** No rule to make target `install'. Stop.

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

* base: centos.crazyfrogs.org

* epel: mirror.in2p3.fr

* extras: centos.crazyfrogs.org

* remi-safe: remirepo.reloumirrors.net

* updates: centos.crazyfrogs.org

Package ImageMagick-6.9.10.68-6.el7_9.x86_64 already installed and latest version

Package ImageMagick-devel-6.9.10.68-6.el7_9.x86_64 already installed and latest version

Package ImageMagick-perl-6.9.10.68-6.el7_9.x86_64 already installed and latest version

Nothing to do

chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

Cloning into 'imagick'...

/usr/local/cwpsrv/htdocs/resources/conf/el7/php_selector/external_modules/8.0/imagick.sh: line 8: /opt/alt/php80/usr/bin/phpize: No such file or directory

ln: failed to create symbolic link '/usr/local/include/ImageMagick': File exists

/usr/local/cwpsrv/htdocs/resources/conf/el7/php_selector/external_modules/8.0/imagick.sh: line 10: ./configure: No such file or directory

cat clean.sh >clean

chmod a+x clean

make: *** No targets specified and no makefile found. Stop.

make: *** No rule to make target `install'. Stop.

/usr/local/cwpsrv/htdocs/resources/conf/el7/php_selector/external_modules/8.0/imagick.sh: line 16: /opt/alt/php80/usr/bin/php-config: No such file or directory

ERROR: Missing extension file /imagick.so

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

* base: centos.crazyfrogs.org

* epel: mirror.in2p3.fr

* extras: centos.crazyfrogs.org

* remi-safe: remirepo.reloumirrors.net

* updates: centos.crazyfrogs.org

Package libsodium-1.0.18-1.el7.x86_64 already installed and latest version

Package libsodium-devel-1.0.18-1.el7.x86_64 already installed and latest version

Nothing to do

chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 28505 100 28505 0 0 53225 0 --:--:-- --:--:-- --:--:-- 53180

/usr/local/cwpsrv/htdocs/resources/conf/el7/php_selector/external_modules/8.0/sodium.sh: line 9: /opt/alt/php80/usr/bin/phpize: No such file or directory

/usr/local/cwpsrv/htdocs/resources/conf/el7/php_selector/external_modules/8.0/sodium.sh: line 10: ./configure: No such file or directory

make: *** No targets specified and no makefile found. Stop.

make: *** No rule to make target `install'. Stop.

/usr/local/cwpsrv/htdocs/resources/conf/el7/php_selector/external_modules/8.0/sodium.sh: line 14: /opt/alt/php80/usr/bin/php-config: No such file or directory

ERROR: Missing extension file /sodium.so

Build Completed

###################

Error:Can't add notification!

Offline
*
Re: PHP-FPM 8.0 not building.
« Reply #1 on: August 02, 2022, 03:39:08 AM »
I'm having same issue. Disabling the Sodium module in configuration before build solves that error but it raises another one related with opcache and jit

In my case I'm trying to build php 8.1 without success

Offline
*
Re: PHP-FPM 8.0 not building.
« Reply #2 on: August 26, 2022, 10:40:05 PM »
the same.

U build php 8.0 with no success.