teddysun / lamp

Install LAMP (Linux + Apache + MySQL/MariaDB + PHP) for AlmaLinux/RockyLinux/CentOS/Debian/Ubuntu

Home Page:https://lamp.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue on instalation

brinsleyparagao opened this issue · comments

config.status: creating Makefile
/usr/local/apache/bin/apxs -c -I/usr/local/pcre/include -I/usr/include/python3.8 -DNDEBUG -Wc,-g -Wc,-O2 src/server/mod_wsgi.c src/server/wsgi_*.c -L/usr/lib -L/usr/lib/python3.8/config -lpython3.8 -lcrypt -lpthread -ldl -lutil -lm -lm
/usr/local/apache/build/libtool --silent --mode=compile gcc -prefer-pic -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthread -I/usr/local/apache/include -I/usr/local/apache/include -I/usr/local/apache/include -g -O2 -I/usr/local/pcre/include -I/usr/include/python3.8 -DNDEBUG -c -o src/server/mod_wsgi.lo src/server/mod_wsgi.c && touch src/server/mod_wsgi.slo
In file included from src/server/mod_wsgi.c:22:
src/server/wsgi_python.h:26:10: fatal error: Python.h: No such file or directory
26 | #include <Python.h>
| ^~~~~~~~~~
compilation terminated.
apxs:Error: Command failed with rc=65536
.
make: *** [Makefile:31: src/server/mod_wsgi.la] Error 1

+------------------+
| ERROR DETECTED |
+------------------+
Installation mod_wsgi-4.9.1 failed.
The Full Log is available at /lamp/lamp.log
Please visit website: https://lamp.sh/faq.html for help

This error show in debian 10 - debian 11and ubuntu 20