Hi, Andrew I guess the install-non-oss.sh has something incorrect. I shared RPM packages (actually yum repo) here: http://pan.baidu.com/share/link?shareid=431835&uk=1261729203#dir/path=%2Fcs-book%2Fdist-nonoss%2FRPMS
You can try this, if it's ok for your installation, I'll share the build steps. It's exactly the same as official 4.0.2 release with nonoss support. On Fri, May 31, 2013 at 7:53 AM, Andrew White <andywh...@gmail.com> wrote: > Hmm, I have tried those instructions now (not sure how I missed them). > > The instructions still have incubator references, which I have removed > > I don't think I need ant steps if not doing dev ? i just want to build, > get running, so these steps are just to get the rpms done to install on a > new mgmt server. > > git clone https://git-wip-us.apache.org/repos/asf/cloudstack.git > git checkout 4.0.2 > cd cloudstack > mvn -P deps > > cd deps > ./install-non-oss.sh > cd .. > > mvn -P deps -D nonoss > > wget > > http://people.apache.org/~jzb/cloudstack/dist/releases/4.0.2/nonoss.cloud.spec > cp nonoss.cloud.spec cloud.spec > > > All good so far > > > ./waf rpm > > > errors with > > > error: Installed (but unpackaged) file(s) found: > /usr/share/java/axis-1.4.jar > /usr/share/java/axis-jaxrpc-1.4.jar > /usr/share/java/cloud-plugin-f5.jar > /usr/share/java/cloud-plugin-netapp.jar > /usr/share/java/cloud-plugin-netscaler.jar > /usr/share/java/cloud-plugin-srx.jar > /usr/share/java/cloud-vmware-base.jar > /usr/share/java/cloud-vmware.jar > /usr/share/java/commons-lang-2.1.jar > /usr/share/java/jetty-6.1.26.jar > /usr/share/java/jetty-util-6.1.26.jar > /usr/share/java/junit-4.10.jar > /usr/share/java/mysql-connector-java-5.1.21.jar > /usr/share/java/vmware-apputils-1.0.jar > /usr/share/java/vmware-apputils.jar > /usr/share/java/vmware-vim-1.0.jar > /usr/share/java/vmware-vim.jar > /usr/share/java/vmware-vim25-1.0.jar > /usr/share/java/vmware-vim25.jar > > > . I will try again tomorrow, as doing this in work , is behind proxy > servers, that may be tainting my setup. > > > On Thu, May 30, 2013 at 7:04 AM, Chiradeep Vittal < > chiradeep.vit...@citrix.com> wrote: > > > Not sure how you can build 4.0.2 without ant. > > Try this link > > https://cwiki.apache.org/CLOUDSTACK/building.html > > > > > > On 5/28/13 1:34 PM, "Andrew White" <andywh...@gmail.com> wrote: > > > > >As suggested on the user@ forum, i'm posting here. > > > > > >Hi, I built 4.0.2 on centos 6.4, and worked my way through the issues. > > > > > >I think I have correctly created the rpms required to integrate with > > >netscaler and vsphere. However when I try to connect to vsphere I get > an > > >error '431 Could not find corresponding resource manager for VMware' > > > > > >I used this file to create the RPM's and notice it's missing the > > >vmware-vim.jar vmware-vim25 and vmware-apputils jar are also missing, I > > >just added them by hand > > > > http://people.apache.org/~jzb/cloudstack/dist/releases/4.0.2/nonoss.cloud > > . > > >spec > > > > > >I get no build errors at all, specifically successes > > >[INFO] Apache CloudStack Plugin - Hypervisor VMware ...... SUCCESS > > >[0.406s] > > > > > >I have seen threads such as > > > > > > http://mail-archives.apache.org/mod_mbox/incubator-cloudstack-dev/201301.m > > >box/%3ccd25c55e.5994%25mdfsdfsdfsdfin.c...@citrix.com%3E > > > > > >but can't see the mentioned files in WEB-INF or find the relevant > > >components-nonoss.xml. > > > > > >my entire history of build commands are below from a minimal install of > > >centos6.4 > > > > > >---- > > > > > >/etc/init.d/iptables stop > > >yum groupinstall "Development Tools" > > >yum install unzip createrepo ws-commons-util wget > > >java-1.6.0-openjdk-devel.x86_64 ant ant-jdepend genisoimage mysql > > >mysql-server ws-common-utils MySQL-python tomcat6 httpd.x86_64 > > > > > >wget > > > > > > http://ftp.heanet.ie/mirrors/www.apache.org/dist/maven/maven-3/3.0.5/binar > > >ies/apache-maven-3.0.5-bin.tar.gz > > >tar -zxvf apache-maven-3.0.5-bin.tar.gz > > >mv apache-maven-3.0.5 /usr/local/ > > >export PATH=/usr/local/apache-maven-3.0.5/bin:$PATH > > > > > >wget > > > > > > http://www.us.apache.org/dist/cloudstack/4.0.2/apache-cloudstack-4.0.2-src > > >.tar.bz2 > > >bunzip2 apache-cloudstack-4.0.2-src.tar.bz2 > > >tar -xvf apache-cloudstack-4.0.2-src.tar > > >cd apache-cloudstack-4.0.2-src/deps > > > > > >wget http://zooi.widodh.nl/cloudstack/build-dep/cloud-iControl.jar > > >wget http://zooi.widodh.nl/cloudstack/build-dep/cloud-manageontap.jar > > >wget http://zooi.widodh.nl/cloudstack/build-dep/vmware-vim.jar > > >wget http://zooi.widodh.nl/cloudstack/build-dep/vmware-vim25.jar > > >wget http://zooi.widodh.nl/cloudstack/build-dep/vmware-apputils.jar > > >wget > > > > > > http://community.citrix.com/download/attachments/37847122/cloud-netscaler- > > >jars.zip > > >unzip cloud-netscaler-jars.zip > > > > > >#now we are ready, lets build > > >./install-non-oss.sh > > >cd ../vmware-base/ > > >mvn install > > >cd .. > > >mvn -D nonoss -P deps > > >wget > > > > http://people.apache.org/~jzb/cloudstack/dist/releases/4.0.2/nonoss.cloud > > . > > >spec > > >cp nonoss.cloud.spec cloud.spec > > > > > >#Build RPM's and share as repo > > >./waf rpm > > >cd artifacts/rpmbuild/RPMS/x86_64 > > >createrepo ./ > > > > > >---- > > > > > >The server is built using the above repo with; > > >yum install cloud-server cloud-client > > > > > >Thanks > > > > > >Andrew > > > > > -- Gavin