[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] RPM install on CentOS



Okay, I had to do some work to get this working. Firstly, I had to grab rrdtool-devel from DAG:
http://dag.wieers.com/packages/rrdtool/


And, I had to install pcre-devel from the CentOS CD. I also had to make a link from /usr/include/pcre/pcre.h to /usr/include/pcre.h.

Then the "rpmbuild --rebuild hobbit-4.1.0-1.src.rpm" finished and created two rpms in /usr/src/redhat/RPMS/i386. One for hobbit, one for hobbit with debug info.

Of course, this RPM installs prefectly well on the system. I'll be using this from now on to build my own RPMs for CentOS.

Thanks.

From: henrik (at) hswn.dk (Henrik Stoerner)

You can build RPM's yourself, either from the source tar.gz file by
running "cd hobbit-4.1.0; ./build/makerpm.sh 4.1.0", or by fetching the
source RPM and running "rpmbuild --rebuild hobbit-4.1.0-1.src.rpm".

I actually build the generic "i386.rpm" on a Debian-based system, and
then just do the rebuild thing on the various test systems I have.


Regards, Henrik