当前位置: 首页 > news >正文

有哪些做网站好的公司外贸网站推广方法之一

有哪些做网站好的公司,外贸网站推广方法之一,郑州网站建设如何,外贸网站如何做的好1.背景 接续https://blog.csdn.net/nanhai_happy/article/details/140566070,由于升级升级Apache过程中,发现需要使用的mod_wsgi、mod_systemd和mod_cgi模块缺失,故接着解决继续编译生成。 2. 编译mod_cgi、mod_system 2.1 安装依赖 yum …

1.背景

接续https://blog.csdn.net/nanhai_happy/article/details/140566070,由于升级升级Apache过程中,发现需要使用的mod_wsgi、mod_systemd和mod_cgi模块缺失,故接着解决继续编译生成。

2. 编译mod_cgi、mod_system

2.1 安装依赖

yum install systemd-devel
rpm -ivh httpd-devel-2.4.62-1.aarch64.rpm

2.2 编译

cd /root/rpmbuild/BUILD/httpd-2.4.62/modules/generators
apxs -i -a -c mod_cgi.c
cd /root/rpmbuild/BUILD/httpd-2.4.62/modules/arch/unix
apxs -i -a -c mod_systemd.c

3. 编译mod_wsgi

3.1 下载

wget https://github.com/GrahamDumpleton/mod_wsgi/archive/refs/tags/5.0.0.zip

3.2 编译安装

unzip mod_wsgi-5.0.0.zip
cd mod_wsgi-5.0.0/
./configure
make
make install

4.问题记录

4.1 configure: error: Apache tool ‘apxs’ or ‘apxs2’ is required to build mod_wsgi.

编译mod_wsgi模块时候出现如下错误:

checking for apxs2... no
checking for apxs... no
configure: error: Apache tool 'apxs' or 'apxs2' is required to build mod_wsgi.

通过安装httpd-devel软件包解决:

rpm -ivh httpd-devel-2.4.62-1.aarch64.rpm

4.2 mod_systemd.c:31:31: fatal error: systemd/sd-daemon.h: No such file or directory

在编译mod_systemd.so动态链接库的时候出现如下错误:

apxs -i -a -c mod_systemd.c
/usr/lib64/apr/build-1/libtool --silent --mode=compile gcc -std=gnu11 -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd  -I/usr/include/apr-1   -I/usr/include/apr-1   -c -o mod_systemd.lo mod_systemd.c && touch mod_systemd.slo
mod_systemd.c:31:31: fatal error: systemd/sd-daemon.h: No such file or directory#include "systemd/sd-daemon.h"^
compilation terminated.
apxs:Error: Command failed with rc=65536
.
(khatch-ui)[root@controller1 unix]# ls
config5.m4  Makefile.in  mod_privileges.c  mod_systemd.c  mod_unixd.c  mod_unixd.h
(khatch-ui)[root@controller1 unix]# make
make: *** No targets specified and no makefile found.  Stop.
(khatch-ui)[root@controller1 unix]# apxs -i -a -c mod_systemd.c
/usr/lib64/apr/build-1/libtool --silent --mode=compile gcc -std=gnu11 -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd  -I/usr/include/apr-1   -I/usr/include/apr-1   -c -o mod_systemd.lo mod_systemd.c && touch mod_systemd.slo
mod_systemd.c:31:31: fatal error: systemd/sd-daemon.h: No such file or directory#include "systemd/sd-daemon.h"^
compilation terminated.
apxs:Error: Command failed with rc=65536
.

由于缺少system开发库导致的,解决方法通过安装systemd开发包解决:

yum install systemd-devel
http://www.zhongyajixie.com/news/16427.html

相关文章:

  • 淘宝客推广网站怎么做网络营销的六大特征
  • 做网站千篇一律手机制作网站的软件
  • 网站建设后台什么意思郑州网站推广多少钱
  • ps网站主页按钮怎么做济南优化网络营销
  • 互联网设计师是干什么的seo是怎么优化上去
  • 重庆网站备案查询系统杭州seo网站
  • 微信小程序的推广方式seo点击排名工具
  • 男子做淫秽网站图片怎样在百度上免费做广告
  • 紫网站建设百度数据网站
  • 下什么软件做网站引擎seo如何优化
  • 南阳东莞网站建设公司企业管理咨询
  • 免费搭建商业网站最大的中文搜索引擎
  • 网站制作 网络推广品牌设计公司排名前十强
  • 河北邯郸做wap网站网站外链有多重要
  • 网站模块结构图seo优化什么意思
  • 宠物网站的设计与实现基础建站如何提升和优化
  • 网站建设费用会计科目网站关键词排名优化
  • 电子商务网站建设的认识湖南seo优化首选
  • 知乎网站怎么做推广西安seo工作室
  • 网站时间显示如何进行网络推广营销
  • 网站风格设计要素seo优化报价
  • 求个没封的w站2022成都计算机培训机构排名前十
  • 调查网站怎么做优化大师 win10下载
  • 科学城做网站公司优化整站
  • 音乐网站的色彩搭配竞价托管代运营多少钱
  • 南京建站公司网站昆明装饰企业网络推广
  • 武汉做的比较好的装修网站培训总结怎么写
  • ec2 ubuntu wordpressseo教程搜索引擎优化入门与进阶
  • 个人网站域名怎样做引流推广
  • 武汉营销型网站哪家好常用的seo网站优化排名