[rrd-users] Re: Bug in 1.0.46 makefiles?

Chan Chi Hung chihung at mc-3.org
Thu Feb 26 10:32:13 MET 2004


I just download the 1.0.46 and encountered the same issue.

The quick fix is :
1. cd to tcl directory
2. edit the Makefile at line 323 to replace the leading 8 spaces with a 
tab. The leading tab tells the Make to execute those commands
3. the 'make' still complain about cannot find rrd_tool.h and rrd_format.h.
4. edit tclrrd.c at line 16 and 17
    replace [#include <rrd_tool.h>] with [#include "../src/rrd_tool.h"]
    replace [#include <rrd_format.h>] with [#include "../src/rrd_format.h"]
5. do a make again

It works for me on my RH Linux 2.4.20-8 with Tcl 8.3.5

Cheers.
--Chi Hung

Alex van den Bogaerdt wrote:

> Hi,
> 
> Getting the following message:
> 
>   Making all in tcl
>   make[2]: Entering directory `/var/src/redhat/BUILD/rrdtool-1.0.46/tcl'
>   Makefile:323: *** missing separator (did you mean TAB instead of 8 spaces?).  Stop.
>   make[2]: Leaving directory `/var/src/redhat/BUILD/rrdtool-1.0.46/tcl'
> 
> Makefile is a generated file.
> 
> Makefile.am has a problem in line 25, Makefile.in has a problem in line 323
> 
> Did I do something stupid or is this in the distro?
> 
> cheers,
> Alex

-- 

CHAN CHI HUNG
Managed Computing Competency Centre
NTU, MPE, Blk N3, #01c-10
50 Nanyang Avenue, Singapore 639798
Tel: +65 6790 4420 (O), +65 9731 7462 (Hp)
Fax: +65 6316 0042
Email: chihung at mc-3.org   URL: www.mc-3.org

--
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