这是我第一次尝试以普通用户(非root用户)的身份在我的计算机上本地安装Apache HTTP服务器。
我已经下载了Apache HTTP服务器http://httpd.apache.org/download.cgi.的Apache2.4.1版本然而,当我尝试在我的机器中本地构建和安装时,我得到了以下错误:
httpd/httpd-2.4.1 1059> ./configure
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking for grep that handles l
我用的是nginx,而不是apache。刚从18.04升级到20.04,因此php7.2升级到php7.4。但是php7.4-fpm无法启动。这是我的日志。
ian@thebeb:/etc/php/7.4/fpm$ sudo /etc/init.d/php7.4-fpm restart
Restarting php7.4-fpm (via systemctl): php7.4-fpm.serviceJob for php7.4-fpm.service failed because the control process exited with error code.
See "syst
我正在尝试用下面的配置选项编译Nginx,但它总是失败,并出现错误:
checking for kqueue AIO support ... not found
checking for Linux AIO support ... not found
checking for Linux AIO support (SYS_eventfd) ... not found
./configure: no supported file AIO was found
Currently file AIO is supported on FreeBSD 4.3+ and Linux 2.6.22+ on
我刚刚升级到Mojave,正在尝试安装phalcon,它是在macOS以前的版本(高塞拉)上用标准编译安装顺利安装的。
git clone git://github.com/phalcon/cphalcon.git
cd cphalcon/build
sudo ./install
对于Mojave,它会给出跟随错误。
In file included from /usr/include/php/ext/spl/spl_iterators.h:27:
/usr/include/php/ext/pcre/php_pcre.h:29:10: fatal error: 'pcre.h'
我是linux新手,我试图在Ubuntu14.04上安装PCRE 8.37,但是遇到了以下错误:
sudo ./configure && make && make install
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checki
我尝试在OS X Lion (sudo pecl install apc)上安装带有pecl的APC,它抱怨缺少一个pcre.h文件:
In file included from /private/tmp/pear/temp/APC/apc.c:44:
/usr/include/php/ext/pcre/php_pcre.h:29:10: fatal error: 'pcre.h' file not found
#include "pcre.h"
所以我使用MacPorts安装了pcre包(sudo port install pcre),但是它仍然报错。我该如何
我写了一个C程序,在Windows 7和Linux上运行良好,但当我在Windows XP上执行它时,我得到以下错误:
"_except_handler4_common could not be located in the dynamic link library msvcrt.dll"
我研究了一下,有人建议删除我没有的动态链接库"dwmapi.dll“,所以这不是我的问题。
有人告诉我使用depends walker(depends.exe)来找出谁在使用msvcrt.dll。我发现pcre库正在使用它,但它确实存在问题,但我不知道如何解决这个问题。有人能帮我吗?
我自制的ag安装失败了,原因如下:
$ ag
dyld: Library not loaded: /usr/local/lib/libpcre.1.dylib
Referenced from: /usr/local/bin/ag
Reason: image not found
Trace/BPT trap: 5
我该怎么做才能解决这个问题?
我试着在我的mac电脑上安装openswoole。我在安装它时有这个问题。
/usr/local/Cellar/php@7.4/7.4.29/include/php/ext/pcre/php_pcre.h:25:10: fatal error: pcre2.h: No such file or directory
#include "pcre2.h"
按照其他人的建议,我使用命令brew install pcre修复了这个问题,但结果总是一样。我试图打开文件夹pcre,我只看到其中一个php_pcre.h文件。
我从linux上下载了nginx (我用的是ubuntu10.4),.I解压了nginx-1.0.6.tar.gz,在这个目录下有一个配置文件。所以我在shell中输入了"./configure“命令。当我输入“right.After”命令时,它似乎已经被配置好了,它显示了这个错误:
make -f objs/Makefile
make[1]: Entering directory `/usr/local/nginx'
cd ./auto/lib/pcre/ \
&& if [ -f Makefile ]; then make distclean; fi
我已经设法完全打破了我的终端,我害怕重新启动。我使用dpkg强制删除了一些东西,因为我安装了一个没有工作的.rpm,并且意外地删除了错误的一个。我打开了一个终端,但是每次我输入sudo,我都会得到这个:
sed: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory
ls: error while loading shared libraries: libpcre.so.3: cannot open shared object f
当我尝试运行apache时,我得到了这个错误:
./httpd: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory
当我搜索lib时,收到的信息如下:
/usr/lib/libpcre.so.1
/usr/lib/libpcre.so.1.2.1
/usr/lib/libpcre16.so.0
/usr/lib/libpcre16.so.0.2.1
/usr/lib/libpcre32.so.0
/usr/lib/libpcr
我正在尝试使用Ubuntu14.04 32位VM交叉编译ARM系统的Apache。我能够构建所有所需的库(PCRE、APR、APR、Libtool),配置脚本将运行良好。但是,当我运行make命令时,会收到以下错误。在这一点上,我完全不知道该做什么来解决这个问题。
util.c: In function ‘ap_parse_token_list_strict’:
util.c:1528:14: error: ‘T_HTTP_TOKEN_STOP’ undeclared (first use in this
function)
util.c:1528:14: note: each undecl