Control Web Panel
		WebPanel => PHP => Topic started by: lu-ark on September 14, 2023, 05:57:49 PM
		
			
			- 
				When compiling php-fpm it throws CMAKE errors
 
 checking for grep that handles long lines and -e... /usr/bin/grep
 checking for egrep... /usr/bin/grep -E
 checking for a sed that does not truncate output... /usr/bin/sed
 checking build system type... x86_64-unknown-linux-gnu
 checking host system type... x86_64-unknown-linux-gnu
 checking target system type... x86_64-unknown-linux-gnu
 shtool:echo:Warning: unable to determine terminal sequence for bold mode
 shtool:echo:Warning: unable to determine terminal sequence for bold mode
 checking for cc... no
 checking for gcc... no
 configure: error: in `/usr/local/src/php-build/php-7.0.33':
 configure: error: no acceptable C compiler found in $PATH
 See `config.log' 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
 Skipping as php build failed
 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
 Skipping as php build failed
 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
 Skipping as php build failed
 exe:/opt/alt/php-fpm70/usr/sbin/php-fpm
 
- 
				Opposite of TMI (too much information); too little information to help you properly! Are you trying to build php 7.0? If so, why? Why not 7.4, which granted is EOL, but at least more current and secure than 7.0. 
			
- 
				I'm trying to compile several under PHP, I have those in use on that server, I need 7 and up, but it doesn't matter which one I compile, they all give the same error.
 
 I only put the end because the rest, the provisioning etc. did not throw errors.