zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nurul Choudhury <NChoudh...@sandata.com>
Subject Help with building an RPM for RHEL 6 - HELP!!!
Date Tue, 10 Apr 2012 22:52:16 GMT
Hi

I am trying to build an RPM for zookeeper-3.4.3 , I downloaded the 3.4.3 package, installed
the dependencies and ran



ant rpm

it seem to get most of the way but I get the following errors (I changed the build.xml not
to stop on errors)

observations:
It seem to do all its work on the ...nurulc/BUILD/... directory

Then suddenly it seem to think the files should be in

                  ...nurulc/BUILDROOT/...  directories

For Example:
cp /tmp/zookeeper_package_build_nurulc/BUILD/zookeeper-3.4.3/src/packages/rpm/init.d/zookeeper
/tmp/zookeeper_package_build_nurulc/BUILD/etc/init.d/zookeeper


=========================================
RPM build errors:
      [rpm] error: File not found: /tmp/zkpython_build_nurulc/BUILDROOT/zkpython-3.4.3-1.x86_64/usr
      [rpm]     File not found: /tmp/zkpython_build_nurulc/BUILDROOT/zkpython-3.4.3-1.x86_64/usr
==========================================
Later

[rpm] Processing files: zookeeper-3.4.3-1.x86_64
      [rpm] error: File not found: /tmp/zookeeper_package_build_nurulc/BUILDROOT/zookeeper-3.4.3-1.x86_64/var/log/zookeeper
      [rpm] error: File not found: /tmp/zookeeper_package_build_nurulc/BUILDROOT/zookeeper-3.4.3-1.x86_64/var/run/zookeeper
      [rpm] error: File not found: /tmp/zookeeper_package_build_nurulc/BUILDROOT/zookeeper-3.4.3-1.x86_64/etc/init.d/zookeeper
      [rpm] error: File not found by glob: /tmp/zookeeper_package_build_nurulc/BUILDROOT/zookeeper-3.4.3-1.x86_64/etc/zookeeper/*
      [rpm] error: File not found: /tmp/zookeeper_package_build_nurulc/BUILDROOT/zookeeper-3.4.3-1.x86_64/usr
      [rpm]
      [rpm]
      [rpm] RPM build errors:
      [rpm]     File not found: /tmp/zookeeper_package_build_nurulc/BUILDROOT/zookeeper-3.4.3-1.x86_64/var/log/zookeeper
      [rpm]     File not found: /tmp/zookeeper_package_build_nurulc/BUILDROOT/zookeeper-3.4.3-1.x86_64/var/run/zookeeper
      [rpm]     File not found: /tmp/zookeeper_package_build_nurulc/BUILDROOT/zookeeper-3.4.3-1.x86_64/etc/init.d/zookeeper
      [rpm]     File not found by glob: /tmp/zookeeper_package_build_nurulc/BUILDROOT/zookeeper-3.4.3-1.x86_64/etc/zookeeper/*
      [rpm]     File not found: /tmp/zookeeper_package_build_nurulc/BUILDROOT/zookeeper-3.4.3-1.x86_64/usr

==========================================




using the instructions I found on the internet, I am using
Apache Ant version 1.7.1
javac 1.6.0_31
mingw32-pthreads-2.8.0-10.el6.7.noarch
apr-devel.x86_64







This message is intended only for the use of the individual or entity to which it is addressed
and may contain information that is privileged, confidential or exempt from disclosure under
applicable law. If the reader of this message is not the intended recipient or the employee
or agent responsible for delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this communication is strictly
prohibited. If you are not the intended recipient, please contact the sender by reply email
and destroy all copies of the original message, including any attachments. Thank you.

Mime
View raw message