Cloudstack source code compilation - RPMs build failed - LDAP

2021-05-28 Thread Hemalatha Pal
Hi, I am new to this cloudstack. So I would need some pointers on how to proceed with resolving the below error. I understand from the error that the build is looking for these jars in https://repo.maven.apache.org/maven2 link and it couldn't find the cloudstack directory under org.apache dir

Re: Cloudstack source code compilation - RPMs build failed - LDAP

2021-05-28 Thread Suresh Anaparti
Hi Hemalatha Pal, You can refer to the following wiki pages, to setup dev environment and build process. The CloudStack build, using mavin (mvn), would download the required dependencies from the maven repo. Only need to download external dependency jars manually, copy to 'deps' folder and 'mvn

Re: Cloudstack source code compilation - RPMs build failed - LDAP

2021-05-29 Thread Hemalatha Pal
Hi Suresh, Thanks for your response and the links. But I didnt find answers for my specific questions from that link. I am following the below Cloudstack documentation to build the source and generate RPMS. https://docs.cloudstack.apache.org/en/latest/installguide/index.html#building-from-source

Re: Cloudstack source code compilation - RPMs build failed - LDAP

2021-05-30 Thread Hema
Hi, One of the changes that I was trying to make as mentioned below blindly, has generated the dependent jar files. Same lines were added for cloud-api, cloud-utils and cloud-framework-config for which it was throwing dependency errors. Not sure which file's changes helped in generating.. since

Re: Cloudstack source code compilation - RPMs build failed - LDAP

2021-05-30 Thread Hema
Hi, For the below error observed, here is some analysis done. And my queries are listed below the analysis. $HOME/apache-cloudstack-4.15.0.0-src/plugins/user-authenticators/ldap/src/test/java/org/apache/cloudstack/ldap/LdapUnitConnectionTest.java static final int PORT =11389; public class Ldap

Re: Cloudstack source code compilation - RPMs build failed - LDAP

2021-06-05 Thread Hema
Hi, I installed and configured LDAP as per the steps provided in the below link. https://computingforgeeks.com/install-configure-openldap-server-centos/ [root@centos8 openldap]# netstat -ltnp | grep slapd Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Fore

Re: Cloudstack source code compilation - RPMs build failed - LDAP

2021-06-06 Thread David Jumani
Hi Hema, If it helps you can try and build it from source skipping the tests. You can modify the cloud.spec to add the skip tests flag From: Hema Sent: Saturday, June 5, 2021 4:42 PM To: users@cloudstack.apache.org Subject: Re: Cloudstack source code compilation

Re: Cloudstack source code compilation - RPMs build failed - LDAP

2021-06-09 Thread Hema
Hi David, Thank you for your response and pointers. For now with your suggestion, as a work around, I was able to skip the test and proceed with just source build by adding -DskipTests in mvn command in cloud.spec file. It helped. There are some java version mismatch errors in the source build