草庐IT

install-configuration

全部标签

ruby-on-rails - 如何构建任务 'gems:install'

我正在将我的Rails应用程序部署到Linux服务器,但我缺少一些rake任务,包括rakegems:安装和rakedb我正在从GEM运行rails2.3.4。这是为什么?我该如何解决这个问题?我能以某种方式更新吗?rake-T列表中缺少它们rakeapache2#BuildApache2modulerakeclean#Removecompiledfilesrakeclobber#Removeallgeneratedfilesrakedefault#Buildeverythingrakedoc#Generatealldocumentationrakedoxygen#GenerateDo

php - 尝试安装 xdebug : configure file not found

我正在按照这些说明下载xdebug:http://xdebug.org/wizard.php.向导的输出是这样的:SummaryXdebuginstalled:noServerAPI:Apache2.0HandlerWindows:noZendServer:noPHPVersion:5.4.17ZendAPInr:220100525PHPAPInr:20100525DebugBuild:noThreadSafeBuild:noConfigurationFilePath:/bitnami/mampstack-osx-x64/output/php/libConfigurationFile:

linux - 安装 dsc21 时出错 : "dsc21 : Depends: cassandra (= 2.1.8) but 2.2.0 is to be installed"

因此,我正在尝试使用过去几个月一直对我有用的方法来安装dsc21。我使用的命令如下echo"debhttp://debian.datastax.com/communitystablemain"|tee-a/etc/apt/sources.list.d/cassandra.sources.listcurl-Lhttp://debian.datastax.com/debian/repo_key|apt-keyadd-apt-get-q-yinstalldsc21今天这对我不起作用,我收到一条错误消息Readingpackagelists...DoneBuildingdependencytr

在运行 configure 时配置不同于默认的编译器

我正在编译glibc库。在此之前,我需要运行configure。但是,为了编译glibc,我需要使用gcc编译器,它不是机器上的默认编译器。manual说了以下内容。ItmayalsobeusefultosettheCCandCFLAGSvariablesintheenvironmentwhenrunningconfigure.CCselectstheCcompilerthatwillbeused,andCFLAGSsetsoptimizationoptionsforthecompiler.现在我的问题是我在那台机器上没有任何管理权限。那么我该如何使用与默认编译器不同的编译器。

linux - ./configure for libtorrent 在 Linux 上的问题

该死,我在安装libtorrent时遇到了非常困难的时间,我不确定问题出在哪里。我在网上看到很多类似的错误,但解决方案没有帮助,而且我很确定错误消息太模糊,无法进行比较。当我运行./configure时,我得到**Buildinglibtorrent-rasterbar0.16.5CheckingforaC/C++compilertouse:checkingforgcc...gcccheckingwhethertheCcompilerworks...yescheckingforCcompilerdefaultoutputfilename...a.outcheckingforsuffix

linux - docker build error (apt-utils is not installed, cannot remove '/var/lib/apt/lists' : Directory not empty)

我正在尝试使用以下命令构建一个docker镜像dockerbuild-tblog.和Dockerfile:FROMruby:2.4RUNapt-getupdate-yqq\&&apt-getinstall-yqq--no-install-recommends\postgresql-client\&&rm-rf/var/lib/apt/listsWORKDIR/usr/src/appCOPYGemfile*.RUNbundleinstallCOPY..EXPOSE3000CMDrailsserver-b0.0.0.0我得到的结果如下:Step1:FROMruby:2.4--->ef296

linux - 如何为 Qt 应用程序创建 'install' 包?

通常在您使用的基于linux的操作系统上安装软件包./configuremakemakeinstall这是如何运作的?以及如何创建可以通过这种方式安装的包?我的应用程序使用Qt框架,我想我的目标是“MyPackage.tar.gz”之类的东西 最佳答案 您可以从您的项目中创建一个debian包。据我了解,您想创建一个用于分发的包,因此我建议您从您的项目中创建一个debian包。Here是对Debian打包系统的介绍。在文章中,他们在某些时候描述了如何创建处于构建过程核心的“规则”文件。这是我通常用于我的Qt/KDE项目的示例:#!/

linux - 桥实用程序 "add bridge failed: Package not installed"

关闭。这个问题是off-topic.它目前不接受答案。想改进这个问题吗?Updatethequestion所以它是on-topic用于堆栈溢出。关闭11年前。Improvethisquestion我已经为ARM交叉编译了bridge-utils。但是,在执行“brctladdbr”时,出现错误:addbridgefailed:Packagenotinstalled我不知道它的依赖关系。

python - sudo pip install python-Levenshtein 失败,错误代码为 1

我正在尝试在linux上安装python-Levenshtein库,但每当我尝试通过以下方式安装它时:sudopipinstallpython-Levenshtein我收到这个错误:Command"/usr/bin/python-c"importsetuptools,tokenize;file='/tmp/pip-build-LAmG4b/python-Levenshtein/setup.py';exec(compile(getattr(tokenize,'open',open)(file).read().replace('\r\n','\n'),file,'exec'))"insta

ruby - Make error installing ruby​​ gem json v1.8.3 : BFD (GNU Binutils for Debian) 2. 22 内部错误

当我尝试安装rubygemjson1.8.3时,我看到了类似于C编译器错误的内容这是我正在运行的命令:geminstalljson-v'1.8.3'我的输出是:Buildingnativeextensions.Thiscouldtakeawhile...ERROR:Errorinstallingjson:ERROR:Failedtobuildgemnativeextension./usr/local/rvm/rubies/ruby-2.2.1/bin/ruby-r./siteconf20160327-27188-189i1cj.rbextconf.rbcreatingMakefilem