You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./configure: line 84230: /usr/bin/file: No such file or directory
The build succeeds regardless, so it's not a huge issue.
file does not live in /usr/bin on NixOS, as the binaries depend on the environment. Instead, they can be looked up with /usr/bin/env. /usr/bin/env file conftest.o works as expected, but it seems that passing further arguments to env is not portable. Maybe we can just depend on file being provided in the current $PATH?
@petk I already pinged on on Slack about this, but you might not be very active there. 🙂
PHP Version
PHP 8.2+
Operating System
NixOS
The text was updated successfully, but these errors were encountered:
Description
./configure
emits an error onNixOS
when executing/usr/bin/file conftest.o
:php-src/build/libtool.m4
Line 623 in b438e2b
The build succeeds regardless, so it's not a huge issue.
file
does not live in/usr/bin
on NixOS, as the binaries depend on the environment. Instead, they can be looked up with/usr/bin/env
./usr/bin/env file conftest.o
works as expected, but it seems that passing further arguments toenv
is not portable. Maybe we can just depend onfile
being provided in the current$PATH
?@petk I already pinged on on Slack about this, but you might not be very active there. 🙂
PHP Version
PHP 8.2+
Operating System
NixOS
The text was updated successfully, but these errors were encountered: