我正在尝试在Cent OS 6.5(最终版)上安装OTRS Help Desk 3.3.2.初始安装(yum install)进展顺利.下一步是重新启动httpd,但重启仍然失败.我没有在控制台中收到错误,但是当我检查错误日志时,我可以看到它每次失败都是出于同样的原因:
[Mon Dec 09 15:59:42 2013] [error] Can't locate
/opt/otrs/scripts/apache2-perl-startup.pl in @INC
(@INC contains: /usr/local/lib64/perl5
/usr/local/share/perl5
/usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl
/usr/lib64/perl5
/usr/share/perl5 . /etc/httpd) at (eval 2) line 1
[Mon Dec 09 15:59:42 2013] [error] Can't load Perl file:
/opt/otrs/scripts/apache2-perl-startup.pl
for server vsvrotrsdev.companydomain.com:0, exiting...
Run Code Online (Sandbox Code Playgroud)
我是Linux/Apache/OTRS菜鸟,所以我不知道如何处理错误.到目前为止,搜索并没有产生太大的影响.
编辑
我发现了一些@INC关于它是什么以及如何工作的帖子.我已经尝试将/ opt/otrs/scripts添加到@INC,但这似乎没有帮助.
我做:
sudo pip install --upgrade tables
Run Code Online (Sandbox Code Playgroud)
我明白了:
/usr/bin/ld: cannot find -lhdf5
collect2: ld returned 1 exit status
.. ERROR:: Could not find a local HDF5 installation.
You may need to explicitly state where your local HDF5 headers and
library can be found by setting the ``HDF5_DIR`` environment
variable or by using the ``--hdf5`` command-line option.
Complete output from command python setup.py egg_info:
/usr/bin/ld: cannot find -lhdf5
Run Code Online (Sandbox Code Playgroud)
然而:
$ echo $HDF5_DIR
/opt/hdf5/
$ ls /opt/hdf5/
bin include lib share
$ ls …Run Code Online (Sandbox Code Playgroud) 我正在构建一个针对iOS 7的应用程序,我想使用Mapbox.我补充道
pod'Mapbox'
到我的Podfile,但'pod install'响应:
[!]无法找到规格Mapbox.
我无法改回平台:ios,'5.0'因为我有其他库需要更高版本.是否有适用于iOS 7的MapBox的CocoaPod?
谢谢!
我在下面安装了protobuf编译器:从这里下载Protocol Buffers完整源代码:http://code.google.com/p/protobuf/downloads/list解 压缩并从终端1.Run ./configure 2转到提取目录.运行make 3.Run sudo make install
运行make后,错误显示.有人知道如何解决它吗?
提前致谢!!
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive全部进入.
全部在src
/ bin/sh ../libtool --tag = CXX --mode = link g ++ -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -O2 -g -DNDEBUG -D_THREAD_SAFE -o protoc main. o libprotobuf.la libprotoc.la -lz
libtool:link:找不到库2/src/libprotobuf.la' or unhandled argument2/src/libprotobuf.la'
make [2]:* [protoc]错误1
make [1]:* [all-recursive]错误1
make:* [all]错误2
我在Haskell中尝试代码.我想使用模块Control.Monad.Free.我写import Control.Monad.Free了我的test.hs. 但我有错误:

我该如何解决这个错误?
今天一直在尝试安装php,在尝试启动我的网站时遇到了这个问题:
PHP Warning: session_start(): open_basedir restriction in effect. File(C:\Windows\TEMP) is not within the allowed path(s): (C:\Users\Administrator\Desktop\website) in C:\Users\Administrator\Desktop\website\bootstrap.php on line 21
Run Code Online (Sandbox Code Playgroud)
我已经将php.ini设置为以下设置:
open_basedir = "C:\Users\Administrator\Desktop\website\"
Run Code Online (Sandbox Code Playgroud)
和
upload_tmp_dir = "C:\Windows\TEMP\"
Run Code Online (Sandbox Code Playgroud)
我尝试将目录更改为upload_temp_dir,C:\Users\Administrator\Desktop\website\temp但是错误不断告诉我这C:\Windows\TEMP是无效的-即使我更改了目录。
有任何想法吗?谢谢。
编辑:
现在我得到:
PHP Warning: session_start(): open(C:\Windows\TEMP\\sess_ca0ea257d89dfecd355e375071e30d7e, O_RDWR) failed: Permission denied (13) in C:\Users\Administrator\Desktop\website\bootstrap.php on line 21
Run Code Online (Sandbox Code Playgroud)
PHP警告:未知:open(C:\ Windows \ TEMP \ sess_ca0ea257d89dfecd355e375071e30d7e,O_RDWR)失败:0行上未知中的权限被拒绝(13)PHP警告:未知:无法写入会话数据(文件)。请在第0行的Unknown中验证session.save_path的当前设置正确(C:\ Windows \ TEMP)
我下载了Wordnet-3.0,因为它说必须已经安装了tcl和tk.所以我用以下方法检查了这个:
vidyasagar@vidyasagar-ThinkPad-Edge-E431:~/Documents/NLP/WordNet-3.0$ dpkg -s tcl
Package: tcl
Status: install ok installed
Priority: optional
Section: interpreters
Installed-Size: 51
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Multi-Arch: foreign
Source: tcltk-defaults
Version: 8.6.0+6ubuntu3
Provides: tclsh
Depends: tcl8.6 (>= 8.6.0-2)
Breaks: tcl8.3 (<< 8.3.5-15), tcl8.4 (<< 8.4.20-2), tcl8.5 (<< 8.5.14-3), tcl8.6 8.6.0-2)
Conflicts: tcl-lib, tcl8.5-lib
Description: Tool Command Language (default version) - shell
Tcl is a powerful, easy to use, embeddable, cross-platform interpreted
scripting language.
This package is a dependency package, which depends on Debian's …Run Code Online (Sandbox Code Playgroud) 我试图在Fedora 22上安装的MongoDB 3.0继官方蒙戈文档在这里,我添加了一个/etc/yum.repos.d/mongodb-org-3.0.repo包含文件:
[mongodb-org-3.0]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.0/x86_64/
gpgcheck=0
enabled=1
Run Code Online (Sandbox Code Playgroud)
当我尝试按照推荐的命令安装时,我得到这个结果:
$ sudo dnf install -y mongodb-org
Failed to synchronize cache for repo 'mongodb-org-3.0' from 'https://repo.mongodb.org/yum/redhat/22/mongodb-org/3.0/x86_64/': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried, disabling.
Last metadata expiration check performed 0:03:17 ago on Sun Aug 30 14:28:03 2015.
No package mongodb-org available.
Error: Unable to find a match.
Run Code Online (Sandbox Code Playgroud)
我该怎么做才能安装包裹?
我想我的Linux服务器上安装Xsendfile但不是很确定到底如何做到这一点.我正在按照本指南操作:
https://tn123.org/mod_xsendfile/
但不太确定如何使用ssh完全下载文件.我是说如何启动下载,一旦下载到哪里?说实话,剩下的可能是直截了当的,只是那部分我坚持下去.
我想使用"scikits.samplerate",但安装失败.我正在使用Windows10(64位)与Anaconda的Python 3.51.
首先,我遵循了这条指令:https: //scikits.appspot.com/samplerate
>pip install scikits.samplerate Collecting scikits.samplerate Using cached scikits.samplerate-0.3.3.tar.gz
Complete output from command python setup.py egg_info:
SamplerateInfo:
libraries samplerate not found in c:\users\username\anaconda3\lib
libraries samplerate not found in C:\
libraries samplerate not found in c:\users\username\anaconda3\libs
Traceback (most recent call last):
File "scikits\samplerate\setup.py", line 15, in configuration
sf_config = sf_info.get_info(2)
File "c:\users\username\anaconda3\lib\site-packages\numpy\distutils\system_info.py", line 568, in get_info
raise self.notfounderror(self.notfounderror.__doc__)
numpy.distutils.system_info.NotFoundError: Some third-party program or library is not found.
During handling of the above exception, another exception occurred: …Run Code Online (Sandbox Code Playgroud)