1

首先我有 Pentaho EE 5.0.3 版,我正在尝试安装 C-Tools。我已经在网上查找了有关如何操作的教程,它们都与我遵循的相同;

当我运行命令时;

sh ctools-installer.sh -s "C:\Program Files\pentahoBA\server\biserver-ee\pentaho-solutions" -w "C:\Program Files\pentahoBA\server\biserver-ee\tomcat\webapps\pentaho"

我得到以下回复;

cygwin warning:
MS-DOS style path detected: C:\Program Files\pentahoBA\server\biserver-ee\pentaho-solutions
Preferred POSIX equivalent is: /cygdrive/c/Program Files/pentahoBA/server/biserver-ee/pentaho-solutions
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
which: no zip in (/cygdrive/c/Program Files (x86)/VMware/VMware vSphere
CLI/Perl/site/bin:/cygdrive/c/Program Files (x86)/VMware/VMware vSphere 
CLI/Perl/bin:/cygdrive/c/Program Files/apache-ant-1.9.2/bin:/usr/bin:/cygdrive/c/Program     Files/Java/jdk1.7.0_40/bin:/cygdrive/c/Tcl/bin:/cygdrive/c/Program Files (x86)/VMware/VMware     vSphere CLI/Perl/site/bin:/cygdrive/c/Program Files (x86)/VMware/VMware vSphere CLI/Perl
/bin:/cygdrive/c/Program Files/apache-ant-1.9.2/bin:/usr/bin:/cygdrive/c/Program     Files/Java/jdk1.7.0_40/bin:/cygdrive/c/Tcl/bin:/cygdrive/c/Program Files (x86)/VMware/VMware     vSphere CLI/Perl/site/bin:/cygdri
ve/c/Program Files (x86)/VMware/VMware vSphere CLI/Perl/bin:/cygdrive/c/Program     Files/apache-ant-1.9.2/bin:/usr/bin:/cygdrive/c/Program     Files/Java/jdk1.7.0_40/bin:/cygdrive/c/Tcl/bin:/cygdrive/c/Windows/Syst
em32:/cygdrive/c/Windows/System32:/cygdrive/c/Program Files     (x86)/GnuWin32/bin:/cygdrive/e/Davra Networks/RuBAN/jre7/bin:/cygdrive/c/Program Files     (x86)/QuickTime/QTSystem:/cygdrive/e/Davra Networks/RuBAN/jr
e7/bin:/cygdrive/c/plink.exe:/cygdrive/e/Davra Networks/RuBAN/jre7/bin:/cygdrive/e/Davra     Networks/RuBAN/jre7/bin:/cygdrive/e/Davra Networks/RuBAN/jre7/bin:/cygdrive/e/Davra     Networks/RuBAN/jre7/bin:/cygdrive/
e/Davra Networks/RuBAN/jre7/bin:/cygdrive/e/Davra     Networks/RuBAN/jre7/bin:/cygdrive/c/Windows/System32:/cygdrive/c/Program Files     (x86)/GnuWin32/bin:/cygdrive/e/Davra Networks/RuBAN/jre7/bin:/cygdrive/c/Progr
am Files (x86)/QuickTime/QTSystem:/cygdrive/e/Davra     Networks/RuBAN/jre7/bin:/cygdrive/c/plink.exe:/cygdrive/e/Davra     Networks/RuBAN/jre7/bin:/cygdrive/e/Davra Networks/RuBAN/jre7/bin:/cygdrive/e/Davra Network
s/RuBAN/jre7/bin:/cygdrive/e/Davra Networks/RuBAN/jre7/bin:/cygdrive/e/Davra     Networks/RuBAN/jre7/bin:/cygdrive/e/Davra     Networks/RuBAN/jre7/bin:/cygdrive/c/Windows/System32:/cygdrive/c/Program Files (x86)/Gnu
Win32/bin:/cygdrive/e/Davra Networks/RuBAN/jre7/bin:/cygdrive/c/Program Files     (x86)/QuickTime/QTSystem:/cygdrive/e/Davra     Networks/RuBAN/jre7/bin:/cygdrive/c/plink.exe:/cygdrive/e/Davra Networks/RuBAN/jre7/bi
n:/cygdrive/e/Davra Networks/RuBAN/jre7/bin:/cygdrive/e/Davra     Networks/RuBAN/jre7/bin:/cygdrive/e/Davra Networks/RuBAN/jre7/bin:/cygdrive/e/Davra     Networks/RuBAN/jre7/bin:/cygdrive/e/Davra Networks/RuBAN/jre7
/bin)
ERROR: Missing required 'zip' command.

所以我尝试运行命令;

sh ctools-installer.sh -s /cygdrive/c/Program Files/pentahoBA/server/biserver-ee/pentaho-solutions/ -w /cygdrive/c/Program Files/pentahoBA/server/biserver-ee/tomcat/webapps/pentaho/

每个教程都使用./ctools-installer.sh,但我使用的是 Windows,当我尝试该命令时它不起作用,所以我只是使用sh

在命令中,我提供了 pentaho-solutions 和 tomcat 目录的路径。但是,在运行此命令后,我得到以下信息;

ERROR: Supplied solution path is not a directory

如您所见,我ERROR在底部收到此消息,说提供的解决方案路径不是目录,当它是目录时

有人知道我哪里出错了吗?

4

2 回答 2

0

我还没有在 pentaho5 上使用过 ctools 安装程序,但相信有人确实让它工作了。

将 set -x 添加到脚本顶部并再次运行。

但是更好的解决方案,特别是在windoze上,只是从应该已经安装的市场安装!(如果没有,请轻松下载插件)

啊,你是ee所以它不会被安装..所以添加它。市场在ee中没有推广奇怪

于 2014-02-28T06:56:32.870 回答
0

使用此处描述的方法之一:

http://pedroalves-bi.blogspot.pt/2013/11/ctools-for-pentaho-50-is-available-cdf.html

于 2014-02-28T09:54:38.380 回答