[rrd-users] Re: Building an rrdtool rpm on RHEL3

Tom Diehl tdiehl at rogueind.com
Mon Feb 16 14:18:06 MET 2004


On Mon, 16 Feb 2004, Hugo van der Kooij wrote:

> On Mon, 16 Feb 2004, Tom Diehl wrote:
> 
> > Making all in tcl
> > make[2]: Entering directory `/usr/src/redhat/BUILD/rrdtool-1.0.46/tcl'
> > gcc -O2 -g -march=i386 -mcpu=i686 -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -fPIC  -c tclrrd.c -DVERSION=\"1.0.46\"
> > tclrrd.c:16:22: rrd_tool.h: No such file or directory
> > tclrrd.c:17:24: rrd_format.h: No such file or directory
> 
> There is your problem.

I saw that but where does it come from? How can I have the header files
installed if I do not have rrdtool installed? I see the following in the src
and build trees:

/usr/src/redhat/BUILD/rrdtool-1.0.46/src/rrd_tool.h
/usr/src/redhat/SOURCES/rrdtool-1.0.46/src/rrd_tool.h

/usr/src/redhat/BUILD/rrdtool-1.0.46/src/rrd_format.h
/usr/src/redhat/SOURCES/rrdtool-1.0.46/src/rrd_format.h

So the header files are there. Where do I go from here?
Is this a problem with the makefile looking in the wrong place?

BTW: I am not a programmer, so please go easy on me.

> 
> Does the system allow building of packages? I know rrdtool builds wwell on
> Red Hat Linux 8 and Fedora Core 1 so I see no reason why it would not
> build on RHEL3.

Sure I build packages on this machine all of the time.

> Just did an rpmbuild --rebuild on the source package.

Well at least there is hope. ;)

Tom

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list