hallo, can help me? problem upgrade cyberpanel 2.1.1
Saving to: ‘wsgi-lsapi-1.7.tgz’
100%[======================================>] 48,997 156KB/s in 0.3s
2021-05-02 15:10:01 (156 KB/s) - ‘wsgi-lsapi-1.7.tgz’ saved [48997/48997]
Done.
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,- D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size =4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -O0 - g3 -I. -I/usr/include/python3.6m -I. -I/usr/include/python3.6m -c -o main.o ma in.c
In file included from /usr/include/inttypes.h:25:0,
from ./lsapidef.h:37,
from ./lsapilib.h:41,
from main.c:34:
/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compil ing with optimization (-O) [-Wcpp]
warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
main.c:42:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
make: *** [main.o] Error 1
cp: cannot stat ‘lswsgi’: No such file or directory
Loaded plugins: copr, fastestmirror
Loading mirror speeds from cached hostfile
- base: mirror.vastspace.net
- epel: d2lzkl7pfhq30w.cloudfront.net
- extras: mirror.vastspace.net
- updates: mirror.vastspace.net
Installed Packages
lsphp74-devel.x86_64 7.4.16-2.el7 @litespeed-update
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 1247 0 0 0 0 0 0 --:–:-- 0:00:08 --:–:-- 0
Seems something wrong with upgarde, please check…
[root@server ~]#
=================
can help me?