Solved mod_php74 - make install error

Hello,

When I run a "make install" of the mod_php74 port I get this error message.

Code:
Build complete.

Don't forget to run 'make test'.

===>  Staging for mod_php74-7.4.0

===>   mod_php74-7.4.0 depends on file: /usr/local/sbin/apxs - found

===>   Generating temporary packing list

/bin/mkdir -p /usr/ports/www/mod_php74/work/stage/usr/local/libexec/apache24

install  -s -m 0644 /usr/ports/www/mod_php74/work/php-7.4.0/libs/libphp7.so  /usr/ports/www/mod_php74/work/stage/usr/local/libexec/apache24

install: /usr/ports/www/mod_php74/work/php-7.4.0/libs/libphp7.so: No such file or directory

*** Error code 71


Stop.

make[1]: stopped in /usr/ports/www/mod_php74

I could install the package, but in this case, ZTS would not be enabled.

Can you help me?
 
Thank you for that answer.

Unfortunately, no, that's not it.
Code:
root@server2:/usr/ports/www/mod_php74 # php -v
PHP 7.4.0 (cli) (built: Dec 12 2019 17:09:42) ( ZTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
root@server2:/usr/ports/www/mod_php74 #
Just recompiled after a test with version 7.3 where I get the same error during install of mod_php73.

Whatever the options checked, the build of mod_php7.x is complete and this error appears systematically at the time of installation.

I have tested several configurations, and I still have the same error at the same time
 
Can you post the whole output from the build? It's been a while since I built anything from ports by hand (I use ports-mgmt/poudriere to build my own repositories). But what I remember is that this setting is a bit finicky to get right. You basically have to align everything correctly or else it will fail to build properly.
 
You were right about that.

An option was not checked on lang/php74 and was checked on the mod.

Everything's okay now.

Thank you very much for your help.
 
Back
Top