On 20 April 2013 05:37, Joe Brockmeier <[email protected]> wrote: > On Fri, Apr 19, 2013, at 06:48 PM, Preethi Natarajan wrote: >> Hi Joe, >> >> Thanks for getting back. >> >> dpkg-buildpackage complained about unmet build dependencies for tomcat6. >> >> I don't understand since CATALINA_HOME and CATALINA_BASE are set to the >> install locations of tomcat-6.0.33 (in my HOME). Any ideas what may be >> happening? Many thanks. > > You're building a debian package - dpkg-buildpackage doesn't know about > your install of Tomcat. You need to install the dependencies as > specified in the install guide for building Debian packages: > > http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.1-incubating/html/Installation_Guide/sect-source-builddebs.html > > sudo apt-get install ant debhelper openjdk-6-jdk tomcat6 > libws-commons-util-java genisoimage python-mysqldb libcommons-codec-java > libcommons-httpclient-java liblog4j1.2-java maven3 > > You may already have some of those packages, and it's possible that > 4.2.0 requires different dependencies - but that's where I'd start. >
Or you may use the deb packages generated on our jenkins [1]. The job does the following as a bash script: $ mkdir -p dist/debian $ tar --transform 's,^\./,cloudstack-4.2.0-incubating/,' -c -z -f dist/debian/cloudstack-4.2.0-SNAPSHOT.tgz --exclude .git --exclude dist . $ ( cd dist/debian tar -xzf cloudstack-4.2.0-SNAPSHOT.tgz (cd cloudstack-4.2.0-incubating ; dpkg-buildpackage ) ) [1] http://jenkins.buildacloud.org/view/master/job/package-deb-master/
