Hello  glenn 
new environment using CentOS 7 and python 2.7.5 and still same issue 


From: [email protected]
To: [email protected]
Subject: RE: Building cloudstack with noredist profile and error on vmware : 
error: cannot find symbol
Date: Wed, 24 Feb 2016 01:17:12 +0000






Hi,



You need to have python2.7 installed on the building server 



#rpm -qa | grep python



Its easier to run Centos 7 on your building server - python 2.7 is default



Thanks

Glenn




























Glenn Wagner







Senior Consultant

, 

ShapeBlue



















d: 

 | s: +27 21 527 0091

 | 

m: 

+27 73 917 4111











e: 

[email protected] | t: 

 | 

w: 

www.shapeblue.com











a: 

2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West Cape Town 7130 South 
Africa


























Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services 
India LLP is a company incorporated in India and is operated under license from 
Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in 
Brasil and is operated
 under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or
 related companies. If you are not the intended recipient of this email, you 
must neither take any action based upon its contents, nor copy or show it to 
anyone. Please contact the sender if you believe you have received this email 
in error.














-----Original Message-----

From: Arash Shams [mailto:[email protected]] 

Sent: Tuesday, 23 February 2016 3:07 PM

To: [email protected]

Subject: Building cloudstack with noredist profile and error on vmware : error: 
cannot find symbol



Hello 



try to build 4.8 with noredist profile vmware hypervisor on Centos 6 and get 
this error with error: cannot find symbol



i added only vim.jar vim25.jar and apputils.jar to deps and building them 
(https://cwiki.apache.org/confluence/display/CLOUDSTACK/Hypervisor+VMWare) 
after that try to mvn clean and mvn install -Dnoredist everything goes fine in 
packaging step and running ./package.sh
 -d centos63 -p noredist i get so many errors : 

build env : CentOS release 6.7 (Final)

mvn : 

Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 
2015-11-10T11:41:47-05:00) Maven home: /opt/apache-maven Java version: 
1.7.0_95, vendor: Oracle Corporation Java home: 
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.95.x86_64/jre

Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: 
"2.6.32-573.el6.x86_64", arch: "amd64", family: "unix"



Error : 

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on 
project cloud-vmware-base: Compilation failure: Compilation failure:

[ERROR] 
/usr/local/src/apache-cloudstack-4.8.0-src/dist/rpmbuild/BUILD/cloudstack-4.8.0/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java:[36,23]
 error: cannot find symbol

[ERROR] symbol: class InvalidCollectorVersionFaultMsg

[ERROR] location: package com.vmware.vim25 [ERROR] 
/usr/local/src/apache-cloudstack-4.8.0-src/dist/rpmbuild/BUILD/cloudstack-4.8.0/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java:[37,23]
 error: cannot find symbol

[ERROR] symbol: class InvalidPropertyFaultMsg

[ERROR] location: package com.vmware.vim25 [ERROR] 
/usr/local/src/apache-cloudstack-4.8.0-src/dist/rpmbuild/BUILD/cloudstack-4.8.0/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java:[49,23]
 error: cannot find symbol

[ERROR] symbol: class RuntimeFaultFaultMsg

[ERROR] location: package com.vmware.vim25 [ERROR] 
/usr/local/src/apache-cloudstack-4.8.0-src/dist/rpmbuild/BUILD/cloudstack-4.8.0/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java:[341,67]
 error: cannot find symbol

[ERROR] symbol: class InvalidPropertyFaultMsg

[ERROR] location: class VmwareClient

[ERROR] 
/usr/local/src/apache-cloudstack-4.8.0-src/dist/rpmbuild/BUILD/cloudstack-4.8.0/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java:[341,92]
 error: cannot find symbol

[ERROR] symbol: class RuntimeFaultFaultMsg

[ERROR] location: class VmwareClient

[ERROR] 
/usr/local/src/apache-cloudstack-4.8.0-src/dist/rpmbuild/BUILD/cloudstack-4.8.0/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java:[341,114]
 error: cannot find symbol

[ERROR] symbol: class InvalidCollectorVersionFaultMsg

[ERROR] location: class VmwareClient

[ERROR] 
/usr/local/src/apache-cloudstack-4.8.0-src/dist/rpmbuild/BUILD/cloudstack-4.8.0/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java:[382,143]
 error: cannot find symbol

[ERROR] symbol: class InvalidPropertyFaultMsg

[ERROR] location: class VmwareClient

[ERROR] 
/usr/local/src/apache-cloudstack-4.8.0-src/dist/rpmbuild/BUILD/cloudstack-4.8.0/vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java:[383,4]
 error: cannot find symbol

[ERROR] symbol: class RuntimeFaultFaultMsg

[ERROR] location: class VmwareClient





whats the problem ? 






Find out more about ShapeBlue and our range of CloudStack related services:

IaaS Cloud Design & Build |
CSForge – rapid IaaS deployment framework

CloudStack Consulting |

CloudStack Software Engineering

CloudStack Infrastructure Support |

CloudStack Bootcamp Training Courses

                                          

Reply via email to