我需要在我不是根用户的SuSE linux系统上构建库。包管理器zypper显然不知道log4cxx。
我下载了log4cxx和
./configure
checking for APR... no
configure: error: APR could not be located. Please use the --with-apr option.
然后我搜索libapr
find / -name libapr*
/usr/share/doc/packages/libapr-util1
/usr/share/doc/packages/libapr1
/usr/lib64/libapru
这是我第一次尝试以普通用户(非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
我正在尝试使用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
我正在尝试在我的linux机器上安装apache。但是当我尝试./configure --prefix = /usr/local/apache时,它显示了一个错误configure: error: APR not found. Please read the documentation。我试着用yum install apr apr-deve安装apr,结果显示
Package apr-1.4.6-1.fc15.x86_64 already installed and latest version No package apr-deve available.
Nothing to do我现在
对不起,如果我是哑巴,或者这是一个重复的问题(我没有找到一个有效的解决方案) 我尝试在nginx中使用静态站点,我的文件结构是这样的: root
img
some image.jpg
some image.jpg
js
some code.js
some code.js
css
some code.css
some code.css 下面是我的配置: server {
listen 80 default_server;
listen [::]:80 default_server;
我遇到了这些错误,试图用vidalia运行tor
Apr 19 21:55:15.371 [Notice] Tor v0.2.1.30. This is experimental software. Do not rely on it for strong anonymity. (Running on Linux i686)
Apr 19 21:55:15.372 [Notice] Initialized libevent version 1.4.13-stable using method epoll. Good.
Apr 19 21:55:15.373 [Notice] Opening S
我的最终目标是下载并安装awscli http://docs.aws.amazon.com/cli/latest/userguide/awscli-install-linux.html。
似乎为了完成我的目标,python和pip是必需的。
通过yum安装python并不适用于我,所以我手动下载并安装了python3,如下所示:
wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tar.xz
tar xf Python-3.6.1.tar.xz
cd Python-3.6.1.tar.xz
./configure
make
su
我在Log4cxx 12.3上静态地构建了OpenSuse,但是当我试图在Qt项目中构建它时,它在链接时失败了。根据apr、apr-util和log4cxx的顺序,错误是不同的,但是,如果我使用这个顺序构建log4cxx -lapr-1 --llog4cxx-1 -llog4cxx,则这是一些最相关的链接错误。
../../../External/Linux/static/log4cxx/lib/liblog4cxx.a(objectptr.o): In function `log4cxx::helpers::ObjectPtrBase::exchange(void**, void*)'
我想构建apache2的最新稳定版本。
我下载了源代码并将APR & APR-util放在srclib文件夹中,然后将目录更改为./srclib/apr并运行:
./configure --prefix=/usr/local/apr
sudo make
sudo make install
这似乎安装了APR,但是当我从./configure目录运行apr-util时,我会收到以下错误:
configure: error: APR could not be located. Please use the --with-apr option.
使用./configure --prefix=