It looks like the rrdtool does not check that tcl is available and if not will 
fail.

[EMAIL PROTECTED] COS4 bin]# uname -a
Linux ams03.wl0.org 2.6.9-22.0.1.EL #1 Thu Oct 27 12:26:11 CDT 2005 i686 athlon 
i386 GNU/Linux

The build error is shown below:

gsize.o librrd_th_la-rrd_create.o librrd_th_la-rrd_diff.o 
librrd_th_la-rrd_dump.o librrd_th_la-rrd_info.o librrd_th_la-rrd_error.o 
librrd_th_la-rrd_fetch.olibrrd_th_la-rrd_format.o librrd_th_la-rrd_graph.o 
librrd_th_la-rrd_graph_helper.o librrd_th_la-rrd_last.o 
librrd_th_la-rrd_first.o librrd_th_la-rrd_open.olibrrd_th_la-rrd_resize.o 
librrd_th_la-rrd_restore.o librrd_th_la-rrd_rpncalc.o librrd_th_la-rrd_tune.o 
librrd_th_la-rrd_update.o librrd_th_la-rrd_version.o librrd_th_la-rrd_xport.o 
librrd_th_la-rrd_nan_inf.o librrd_th_la-art_rgba_svp.o librrd_th_la-rrd_gfx.o 
librrd_th_la-rrd_afm.o librrd_th_la-rrd_afm_data.o librrd_th_la-rrd_tool.o 
librrd_th_la-rrd_thread_safe.o
ranlib .libs/librrd_th.a
creating librrd_th.la
(cd .libs && rm -f librrd_th.la && ln -s ../librrd_th.la librrd_th.la)
/bin/sh ../libtool --tag=CC --mode=link /openpkg/bin/cc  -O2 -pipe  -fPIC -DPIC 
-Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes 
-Wmissing-declarations -Wnested-externs -Winline -W   -o rrdtool   librrd.la 
-lfreetype -lpng -lz -lart_lgpl -lm
/openpkg/bin/cc -O2 -pipe -fPIC -DPIC -Wall -pedantic -Wshadow -Wpointer-arith 
-Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs 
-Winline -W -o rrdtool  ./.libs/librrd.a /openpkg/lib/libfreetype.a -lpng -lz 
-lart_lgpl -lm
/openpkg/bin/cc -DHAVE_CONFIG_H -DMAKE_TIMESTAMP=\""Sat Dec 17 09:31:28 CET 
2005"\" -I. -I. -I..  
-DRRD_DEFAULT_FONT=\"/openpkg/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf\" 
-DNUMVERS=1.2011 -I/openpkg/include/libart -I/openpkg/include 
-I/usr/include/libart-2.0 -I/usr/include/freetype2  -O2 -pipe  -fPIC -DPIC-Wall 
-pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes 
-Wmissing-declarations -Wnested-externs -Winline -W -DSTANDALONE -c -o 
rrdupdate.o rrd_update.c
/bin/sh ../libtool --tag=CC --mode=link /openpkg/bin/cc  -O2 -pipe  -fPIC -DPIC 
-Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes 
-Wmissing-declarations -Wnested-externs -Winline -W   -o rrdupdate   
rrdupdate.o librrd.la -lfreetype -lpng -lz -lart_lgpl -lm
/openpkg/bin/cc -O2 -pipe -fPIC -DPIC -Wall -pedantic -Wshadow -Wpointer-arith 
-Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs 
-Winline -W -o rrdupdate rrdupdate.o  ./.libs/librrd.a 
/openpkg/lib/libfreetype.a -lpng -lz -lart_lgpl -lm
Making all in bindings
Making all in tcl
echo "package ifneeded Rrd 1.2.11 \"load /openpkg/lib/tclrrd1.2.11[info 
sharedlibextension]\"" > pkgIndex.tcl
/openpkg/bin/cc -O2 -pipe  -fPIC -DPIC -Wall -pedantic -Wshadow -Wpointer-arith 
-Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs 
-Winline -W -O2 -pipe  -fPIC -DPIC -Wall -pedantic -Wshadow -Wpointer-arith 
-Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs 
-Winline -W -fPIC -I/usr/include -I../../src -c tclrrd.c -DVERSION=\"1.2.11\"
tclrrd.c:15:17: error: tcl.h: No such file or directory
tclrrd.c:19: error: syntax error before '*' token
tclrrd.c:59: error: syntax error before 'ClientData'
tclrrd.c:59: warning: type defaults to 'int' in declaration of 'clientData'
tclrrd.c:59: warning: data definition has no type or storage class
tclrrd.c:60: error: syntax error before '*' token
tclrrd.c:60: warning: type defaults to 'int' in declaration of 'interp'
tclrrd.c:60: warning: data definition has no type or storage class
tclrrd.c:63: error: syntax error before '{' token
tclrrd.c:66: warning: type defaults to 'int' in declaration of 'argv2'
tclrrd.c:66: warning: initialization makes integer from pointer without a cast
tclrrd.c:66: error: initializer element is not constant
tclrrd.c:66: warning: data definition has no type or storage class
tclrrd.c:67: warning: type defaults to 'int' in declaration of 'rrd_create'
tclrrd.c:67: warning: parameter names (without types) in function declaration
tclrrd.c:67: warning: data definition has no type or storage class
tclrrd.c:68: warning: type defaults to 'int' in declaration of 'getopt_cleanup'
tclrrd.c:68: warning: parameter names (without types) in function declaration
tclrrd.c:68: error: conflicting types for 'getopt_cleanup'
tclrrd.c:46: error: previous definition of 'getopt_cleanup' was here
tclrrd.c:68: warning: data definition has no type or storage class
tclrrd.c:70: error: syntax error before 'if'
tclrrd.c:73: warning: type defaults to 'int' in declaration of 'rrd_clear_error'
tclrrd.c:73: error: conflicting types for 'rrd_clear_error'
../../src/rrd.h:124: error: previous declaration of 'rrd_clear_error' was here
tclrrd.c:73: warning: data definition has no type or storage class
tclrrd.c:74: error: syntax error before 'return'
tclrrd.c:84: error: syntax error before 'ClientData'
tclrrd.c:84: warning: type defaults to 'int' in declaration of 'clientData'
tclrrd.c:84: warning: data definition has no type or storage class
tclrrd.c:85: error: syntax error before '*' token
tclrrd.c:85: warning: type defaults to 'int' in declaration of 'interp'
tclrrd.c:85: warning: data definition has no type or storage class
tclrrd.c:88: error: syntax error before '{' token
tclrrd.c:91: warning: type defaults to 'int' in declaration of 'argv2'
tclrrd.c:91: error: redefinition of 'argv2'
tclrrd.c:66: error: previous definition of 'argv2' was here
tclrrd.c:91: warning: initialization makes integer from pointer without a cast
tclrrd.c:91: error: initializer element is not constant
tclrrd.c:91: warning: data definition has no type or storage class
tclrrd.c:92: warning: type defaults to 'int' in declaration of 'rrd_dump'
tclrrd.c:92: warning: parameter names (without types) in function declaration
tclrrd.c:92: warning: data definition has no type or storage class
tclrrd.c:93: warning: type defaults to 'int' in declaration of 'getopt_cleanup'
tclrrd.c:93: warning: parameter names (without types) in function declaration
tclrrd.c:93: warning: data definition has no type or storage class
tclrrd.c:97: error: syntax error before 'if'
tclrrd.c:100: warning: type defaults to 'int' in declaration of 
'rrd_clear_error'
tclrrd.c:100: error: conflicting types for 'rrd_clear_error'
../../src/rrd.h:124: error: previous declaration of 'rrd_clear_error' was here
tclrrd.c:100: warning: data definition has no type or storage class
tclrrd.c:101: error: syntax error before 'return'
tclrrd.c:111: error: syntax error before 'ClientData'
tclrrd.c:111: warning: type defaults to 'int' in declaration of 'clientData'
tclrrd.c:111: warning: data definition has no type or storage class
tclrrd.c:112: error: syntax error before '*' token
tclrrd.c:112: warning: type defaults to 'int' in declaration of 'interp'
tclrrd.c:112: warning: data definition has no type or storage class
tclrrd.c:115: error: syntax error before '{' token
tclrrd.c:117: error: conflicting types for 'argv2'
tclrrd.c:66: error: previous definition of 'argv2' was here
tclrrd.c:119: warning: type defaults to 'int' in declaration of 'argv2'
tclrrd.c:119: error: redefinition of 'argv2'
tclrrd.c:66: error: previous definition of 'argv2' was here
tclrrd.c:119: warning: initialization makes integer from pointer without a cast
tclrrd.c:119: error: initializer element is not constant
tclrrd.c:119: warning: data definition has no type or storage class
tclrrd.c:120: warning: type defaults to 'int' in declaration of 't'
tclrrd.c:120: warning: passing argument 2 of 'rrd_last' makes pointer from 
integer without a cast
tclrrd.c:120: error: initializer element is not constant
tclrrd.c:120: warning: data definition has no type or storage class
tclrrd.c:121: warning: type defaults to 'int' in declaration of 'getopt_cleanup'
tclrrd.c:121: warning: parameter names (without types) in function declaration
tclrrd.c:121: warning: data definition has no type or storage class
tclrrd.c:124: error: syntax error before 'if'
tclrrd.c:127: warning: type defaults to 'int' in declaration of 
'rrd_clear_error'
tclrrd.c:127: error: conflicting types for 'rrd_clear_error'
../../src/rrd.h:124: error: previous declaration of 'rrd_clear_error' was here
tclrrd.c:127: warning: data definition has no type or storage class
tclrrd.c:128: error: syntax error before 'return'
tclrrd.c:131: error: syntax error before '(' token
tclrrd.c:131: warning: type defaults to 'int' in declaration of 'Tcl_SetIntObj'
tclrrd.c:131: warning: type defaults to 'int' in declaration of 't'
tclrrd.c:131: error: syntax error before ')' token
tclrrd.c:140: error: syntax error before 'ClientData'
tclrrd.c:140: warning: type defaults to 'int' in declaration of 'clientData'
tclrrd.c:140: warning: data definition has no type or storage class
tclrrd.c:141: error: syntax error before '*' token
tclrrd.c:141: warning: type defaults to 'int' in declaration of 'interp'
tclrrd.c:141: warning: data definition has no type or storage class
tclrrd.c:144: error: syntax error before '{' token
tclrrd.c:147: warning: type defaults to 'int' in declaration of 'argv2'
tclrrd.c:147: error: redefinition of 'argv2'
tclrrd.c:66: error: previous definition of 'argv2' was here
tclrrd.c:147: warning: initialization makes integer from pointer without a cast
tclrrd.c:147: error: initializer element is not constant
tclrrd.c:147: warning: data definition has no type or storage class
tclrrd.c:148: warning: type defaults to 'int' in declaration of 'rrd_update'
tclrrd.c:148: warning: parameter names (without types) in function declaration
tclrrd.c:148: warning: data definition has no type or storage class
tclrrd.c:149: warning: type defaults to 'int' in declaration of 'getopt_cleanup'
tclrrd.c:149: warning: parameter names (without types) in function declaration
tclrrd.c:149: warning: data definition has no type or storage class
tclrrd.c:151: error: syntax error before 'if'
tclrrd.c:154: warning: type defaults to 'int' in declaration of 
'rrd_clear_error'
tclrrd.c:154: error: conflicting types for 'rrd_clear_error'
../../src/rrd.h:124: error: previous declaration of 'rrd_clear_error' was here
tclrrd.c:154: warning: data definition has no type or storage class
tclrrd.c:155: error: syntax error before 'return'
tclrrd.c:165: error: syntax error before 'ClientData'
tclrrd.c:165: warning: type defaults to 'int' in declaration of 'clientData'
tclrrd.c:165: warning: data definition has no type or storage class
tclrrd.c:166: error: syntax error before '*' token
tclrrd.c:166: warning: type defaults to 'int' in declaration of 'interp'
tclrrd.c:166: warning: data definition has no type or storage class
tclrrd.c:169: error: syntax error before '{' token
tclrrd.c:174: error: syntax error before '*' token
tclrrd.c:174: warning: type defaults to 'int' in declaration of 'listPtr'
tclrrd.c:174: warning: data definition has no type or storage class
tclrrd.c:176: error: conflicting types for 'argv2'
tclrrd.c:66: error: previous definition of 'argv2' was here
tclrrd.c:178: warning: type defaults to 'int' in declaration of 'argv2'
tclrrd.c:178: error: redefinition of 'argv2'
tclrrd.c:66: error: previous definition of 'argv2' was here
tclrrd.c:178: warning: initialization makes integer from pointer without a cast
tclrrd.c:178: error: initializer element is not constant
tclrrd.c:178: warning: data definition has no type or storage class
tclrrd.c:179: error: syntax error before 'if'
tclrrd.c:182: warning: type defaults to 'int' in declaration of 'listPtr'
tclrrd.c:182: error: conflicting types for 'listPtr'
tclrrd.c:174: error: previous declaration of 'listPtr' was here
tclrrd.c:182: warning: implicit declaration of function 'Tcl_GetObjResult'
tclrrd.c:182: error: initializer element is not constant
tclrrd.c:182: warning: data definition has no type or storage class
tclrrd.c:183: error: syntax error before 'for'
tclrrd.c:187: error: syntax error before '(' token
tclrrd.c:191: warning: type defaults to 'int' in declaration of 'free'
tclrrd.c:191: warning: parameter names (without types) in function declaration
tclrrd.c:191: error: conflicting types for 'free'
/usr/include/stdlib.h:597: error: previous declaration of 'free' was here
tclrrd.c:191: warning: data definition has no type or storage class
tclrrd.c:192: warning: type defaults to 'int' in declaration of 'free'
tclrrd.c:192: warning: parameter names (without types) in function declaration
tclrrd.c:192: error: conflicting types for 'free'
/usr/include/stdlib.h:597: error: previous declaration of 'free' was here
tclrrd.c:192: warning: data definition has no type or storage class
tclrrd.c:193: error: syntax error before '}' token
tclrrd.c:194: warning: type defaults to 'int' in declaration of 'getopt_cleanup'
tclrrd.c:194: warning: parameter names (without types) in function declaration
tclrrd.c:194: warning: data definition has no type or storage class
tclrrd.c:196: error: syntax error before 'if'
tclrrd.c:199: warning: type defaults to 'int' in declaration of 
'rrd_clear_error'
tclrrd.c:199: error: conflicting types for 'rrd_clear_error'
../../src/rrd.h:124: error: previous declaration of 'rrd_clear_error' was here
tclrrd.c:199: warning: data definition has no type or storage class
tclrrd.c:200: error: syntax error before 'return'
tclrrd.c:210: error: syntax error before 'ClientData'
tclrrd.c:210: warning: type defaults to 'int' in declaration of 'clientData'
tclrrd.c:210: warning: data definition has no type or storage class
tclrrd.c:211: error: syntax error before '*' token
tclrrd.c:211: warning: type defaults to 'int' in declaration of 'interp'
tclrrd.c:211: warning: data definition has no type or storage class
tclrrd.c:214: error: syntax error before '{' token
tclrrd.c:218: error: syntax error before '*' token
tclrrd.c:218: warning: type defaults to 'int' in declaration of 'listPtr'
tclrrd.c:218: warning: data definition has no type or storage class
tclrrd.c:219: error: conflicting types for 'argv2'
tclrrd.c:66: error: previous definition of 'argv2' was here
tclrrd.c:221: warning: type defaults to 'int' in declaration of 'calcpr'
tclrrd.c:221: warning: initialization makes integer from pointer without a cast
tclrrd.c:221: warning: data definition has no type or storage class
tclrrd.c:223: warning: type defaults to 'int' in declaration of 'argv2'
tclrrd.c:223: error: redefinition of 'argv2'
tclrrd.c:66: error: previous definition of 'argv2' was here
tclrrd.c:223: warning: initialization makes integer from pointer without a cast
tclrrd.c:223: error: initializer element is not constant
tclrrd.c:223: warning: data definition has no type or storage class
tclrrd.c:224: error: syntax error before 'if'
tclrrd.c:226: error: syntax error before '(' token
tclrrd.c:227: error: syntax error before '(' token
tclrrd.c:240: warning: type defaults to 'int' in declaration of 'getopt_cleanup'
tclrrd.c:240: warning: parameter names (without types) in function declaration
tclrrd.c:240: warning: data definition has no type or storage class
tclrrd.c:242: error: syntax error before 'if'
tclrrd.c:245: warning: type defaults to 'int' in declaration of 
'rrd_clear_error'
tclrrd.c:245: error: conflicting types for 'rrd_clear_error'
../../src/rrd.h:124: error: previous declaration of 'rrd_clear_error' was here
tclrrd.c:245: warning: data definition has no type or storage class
tclrrd.c:246: error: syntax error before 'return'
tclrrd.c:256: error: syntax error before 'ClientData'
tclrrd.c:256: warning: type defaults to 'int' in declaration of 'clientData'
tclrrd.c:256: warning: data definition has no type or storage class
tclrrd.c:257: error: syntax error before '*' token
tclrrd.c:257: warning: type defaults to 'int' in declaration of 'interp'
tclrrd.c:257: warning: data definition has no type or storage class
tclrrd.c:260: error: syntax error before '{' token
tclrrd.c:263: warning: type defaults to 'int' in declaration of 'argv2'
tclrrd.c:263: error: redefinition of 'argv2'
tclrrd.c:66: error: previous definition of 'argv2' was here
tclrrd.c:263: warning: initialization makes integer from pointer without a cast
tclrrd.c:263: error: initializer element is not constant
tclrrd.c:263: warning: data definition has no type or storage class
tclrrd.c:264: warning: type defaults to 'int' in declaration of 'rrd_tune'
tclrrd.c:264: warning: parameter names (without types) in function declaration
tclrrd.c:264: warning: data definition has no type or storage class
tclrrd.c:265: warning: type defaults to 'int' in declaration of 'getopt_cleanup'
tclrrd.c:265: warning: parameter names (without types) in function declaration
tclrrd.c:265: warning: data definition has no type or storage class
tclrrd.c:267: error: syntax error before 'if'
tclrrd.c:270: warning: type defaults to 'int' in declaration of 
'rrd_clear_error'
tclrrd.c:270: error: conflicting types for 'rrd_clear_error'
../../src/rrd.h:124: error: previous declaration of 'rrd_clear_error' was here
tclrrd.c:270: warning: data definition has no type or storage class
tclrrd.c:271: error: syntax error before 'return'
tclrrd.c:281: error: syntax error before 'ClientData'
tclrrd.c:281: warning: type defaults to 'int' in declaration of 'clientData'
tclrrd.c:281: warning: data definition has no type or storage class
tclrrd.c:282: error: syntax error before '*' token
tclrrd.c:282: warning: type defaults to 'int' in declaration of 'interp'
tclrrd.c:282: warning: data definition has no type or storage class
tclrrd.c:285: error: syntax error before '{' token
tclrrd.c:288: warning: type defaults to 'int' in declaration of 'argv2'
tclrrd.c:288: error: redefinition of 'argv2'
tclrrd.c:66: error: previous definition of 'argv2' was here
tclrrd.c:288: warning: initialization makes integer from pointer without a cast
tclrrd.c:288: error: initializer element is not constant
tclrrd.c:288: warning: data definition has no type or storage class
tclrrd.c:289: warning: type defaults to 'int' in declaration of 'rrd_resize'
tclrrd.c:289: warning: parameter names (without types) in function declaration
tclrrd.c:289: warning: data definition has no type or storage class
tclrrd.c:290: warning: type defaults to 'int' in declaration of 'getopt_cleanup'
tclrrd.c:290: warning: parameter names (without types) in function declaration
tclrrd.c:290: warning: data definition has no type or storage class
tclrrd.c:292: error: syntax error before 'if'
tclrrd.c:295: warning: type defaults to 'int' in declaration of 
'rrd_clear_error'
tclrrd.c:295: error: conflicting types for 'rrd_clear_error'
../../src/rrd.h:124: error: previous declaration of 'rrd_clear_error' was here
tclrrd.c:295: warning: data definition has no type or storage class
tclrrd.c:296: error: syntax error before 'return'
tclrrd.c:306: error: syntax error before 'ClientData'
tclrrd.c:306: warning: type defaults to 'int' in declaration of 'clientData'
tclrrd.c:306: warning: data definition has no type or storage class
tclrrd.c:307: error: syntax error before '*' token
tclrrd.c:307: warning: type defaults to 'int' in declaration of 'interp'
tclrrd.c:307: warning: data definition has no type or storage class
tclrrd.c:310: error: syntax error before '{' token
tclrrd.c:313: warning: type defaults to 'int' in declaration of 'argv2'
tclrrd.c:313: error: redefinition of 'argv2'
tclrrd.c:66: error: previous definition of 'argv2' was here
tclrrd.c:313: warning: initialization makes integer from pointer without a cast
tclrrd.c:313: error: initializer element is not constant
tclrrd.c:313: warning: data definition has no type or storage class
tclrrd.c:314: warning: type defaults to 'int' in declaration of 'rrd_restore'
tclrrd.c:314: warning: parameter names (without types) in function declaration
tclrrd.c:314: warning: data definition has no type or storage class
tclrrd.c:315: warning: type defaults to 'int' in declaration of 'getopt_cleanup'
tclrrd.c:315: warning: parameter names (without types) in function declaration
tclrrd.c:315: warning: data definition has no type or storage class
tclrrd.c:317: error: syntax error before 'if'
tclrrd.c:320: warning: type defaults to 'int' in declaration of 
'rrd_clear_error'
tclrrd.c:320: error: conflicting types for 'rrd_clear_error'
../../src/rrd.h:124: error: previous declaration of 'rrd_clear_error' was here
tclrrd.c:320: warning: data definition has no type or storage class
tclrrd.c:321: error: syntax error before 'return'
tclrrd.c:335: error: syntax error before 'Tcl_CmdProc'
tclrrd.c:335: warning: no semicolon at end of struct or union
tclrrd.c:336: warning: type defaults to 'int' in declaration of 'CmdInfo'
tclrrd.c:336: warning: data definition has no type or storage class
tclrrd.c:338: error: syntax error before 'rrdCmds'
tclrrd.c:338: warning: type defaults to 'int' in declaration of 'rrdCmds'
tclrrd.c:339: warning: braces around scalar initializer
tclrrd.c:339: warning: (near initialization for 'rrdCmds[0]')
tclrrd.c:339: warning: initialization makes integer from pointer without a cast
tclrrd.c:339: error: 'Rrd_Create' undeclared here (not in a function)
tclrrd.c:339: warning: excess elements in scalar initializer
tclrrd.c:339: warning: (near initialization for 'rrdCmds[0]')
tclrrd.c:340: warning: braces around scalar initializer
tclrrd.c:340: warning: (near initialization for 'rrdCmds[1]')
tclrrd.c:340: warning: initialization makes integer from pointer without a cast
tclrrd.c:340: error: 'Rrd_Dump' undeclared here (not in a function)
tclrrd.c:340: warning: excess elements in scalar initializer
tclrrd.c:340: warning: (near initialization for 'rrdCmds[1]')
tclrrd.c:341: warning: braces around scalar initializer
tclrrd.c:341: warning: (near initialization for 'rrdCmds[2]')
tclrrd.c:341: warning: initialization makes integer from pointer without a cast
tclrrd.c:341: error: 'Rrd_Last' undeclared here (not in a function)
tclrrd.c:341: warning: excess elements in scalar initializer
tclrrd.c:341: warning: (near initialization for 'rrdCmds[2]')
tclrrd.c:342: warning: braces around scalar initializer
tclrrd.c:342: warning: (near initialization for 'rrdCmds[3]')
tclrrd.c:342: warning: initialization makes integer from pointer without a cast
tclrrd.c:342: error: 'Rrd_Update' undeclared here (not in a function)
tclrrd.c:342: warning: excess elements in scalar initializer
tclrrd.c:342: warning: (near initialization for 'rrdCmds[3]')
tclrrd.c:343: warning: braces around scalar initializer
tclrrd.c:343: warning: (near initialization for 'rrdCmds[4]')
tclrrd.c:343: warning: initialization makes integer from pointer without a cast
tclrrd.c:343: error: 'Rrd_Fetch' undeclared here (not in a function)
tclrrd.c:343: warning: excess elements in scalar initializer
tclrrd.c:343: warning: (near initialization for 'rrdCmds[4]')
tclrrd.c:344: warning: braces around scalar initializer
tclrrd.c:344: warning: (near initialization for 'rrdCmds[5]')
tclrrd.c:344: warning: initialization makes integer from pointer without a cast
tclrrd.c:344: error: 'Rrd_Graph' undeclared here (not in a function)
tclrrd.c:344: warning: excess elements in scalar initializer
tclrrd.c:344: warning: (near initialization for 'rrdCmds[5]')
tclrrd.c:345: warning: braces around scalar initializer
tclrrd.c:345: warning: (near initialization for 'rrdCmds[6]')
tclrrd.c:345: warning: initialization makes integer from pointer without a cast
tclrrd.c:345: error: 'Rrd_Tune' undeclared here (not in a function)
tclrrd.c:345: warning: excess elements in scalar initializer
tclrrd.c:345: warning: (near initialization for 'rrdCmds[6]')
tclrrd.c:346: warning: braces around scalar initializer
tclrrd.c:346: warning: (near initialization for 'rrdCmds[7]')
tclrrd.c:346: warning: initialization makes integer from pointer without a cast
tclrrd.c:346: error: 'Rrd_Resize' undeclared here (not in a function)
tclrrd.c:346: warning: excess elements in scalar initializer
tclrrd.c:346: warning: (near initialization for 'rrdCmds[7]')
tclrrd.c:347: warning: braces around scalar initializer
tclrrd.c:347: warning: (near initialization for 'rrdCmds[8]')
tclrrd.c:347: warning: initialization makes integer from pointer without a cast
tclrrd.c:347: error: 'Rrd_Restore' undeclared here (not in a function)
tclrrd.c:347: warning: excess elements in scalar initializer
tclrrd.c:347: warning: (near initialization for 'rrdCmds[8]')
tclrrd.c:348: warning: braces around scalar initializer
tclrrd.c:348: warning: (near initialization for 'rrdCmds[9]')
tclrrd.c:348: warning: initialization makes integer from pointer without a cast
tclrrd.c:348: error: 'Tcl_CmdProc' undeclared here (not in a function)
tclrrd.c:348: error: syntax error before ')' token
tclrrd.c:348: warning: excess elements in scalar initializer
tclrrd.c:348: warning: (near initialization for 'rrdCmds[9]')
tclrrd.c:349: warning: data definition has no type or storage class
tclrrd.c:355: error: syntax error before 'Tcl_Interp'
tclrrd.c:355: warning: type defaults to 'int' in declaration of 'interp'
tclrrd.c:355: warning: data definition has no type or storage class
tclrrd.c:357: error: syntax error before '{' token
tclrrd.c:359: warning: type defaults to 'int' in declaration of 'info'
tclrrd.c:359: warning: data definition has no type or storage class
tclrrd.c:365: error: syntax error before string constant
tclrrd.c:365: warning: type defaults to 'int' in declaration of 'Tcl_SetVar2'
tclrrd.c:365: warning: data definition has no type or storage class
tclrrd.c:378: error: syntax error before '->' token
{standard input}: Assembler messages:
{standard input}:48: Error: symbol `argv2' is already defined
{standard input}:54: Error: symbol `argv2' is already defined
{standard input}:60: Error: symbol `argv2' is already defined
{standard input}:78: Error: symbol `argv2' is already defined
{standard input}:84: Error: symbol `argv2' is already defined
{standard input}:91: Error: symbol `argv2' is already defined
{standard input}:97: Error: symbol `argv2' is already defined
{standard input}:103: Error: symbol `argv2' is already defined
make[3]: *** [tclrrd.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.24221 (%build)


RPM build errors:
    Bad exit status from /openpkg/RPM/TMP/rpm-tmp.24221 (%build)

Installed package information:

Openpkg
=======

make-3.80-2.5.0
binutils-2.16.1-2.5.0
zlib-1.2.3-2.5.0
bison-2.1-2.5.0
readline-5.0.5-2.5.0
ncurses-5.5.20051015-2.5.0
diffutils-2.8.7-2.5.0
grep-2.5.1a-2.5.0
m4-1.4.3-2.5.0
ncftp-3.1.9-2.5.0
openpkg-tools-0.8.47-2.5.0
amavisd-2.3.3-2.5.0
perl-db-5.8.7-2.5.1
perl-mail-5.8.7-2.5.0
perl-net-5.8.7-2.5.0
perl-ds-5.8.7-2.5.0
perl-sys-5.8.7-2.5.0
pine-4.64L-2.5.0
perl-parse-5.8.7-2.5.0
perl-stats-5.8.7-2.5.0
perl-util-5.8.7-2.5.0
clamav-0.87-2.5.0
pkgconfig-0.19-2.5.0
libart-2.3.17-2.5.0
tcl-8.4.11-2.5.0
gpg-pubkey-63c4cb9f-3c591eda
openpkg-registry-0.2.5-20051129
fsl-1.6.1-2.5.0
gcc-4.0.2-2.5.0
bzip2-1.0.3-2.5.0
openssl-0.9.8a-2.5.0
gmp-4.1.4-2.5.0
expat-1.95.8-2.5.0
sed-4.1.4-2.5.0
sharutils-4.5.1-2.5.0
texinfo-4.8-2.5.1
pcre-6.4-2.5.0
gzip-1.3.5-2.5.0
lzo-2.01-2.5.0
db-4.3.29.0-2.5.0
procmail-3.22-2.5.0
emacs-21.4a-2.5.0
perl-5.8.7-2.5.1
perl-comp-5.8.7-2.5.0
perl-conv-5.8.7-2.5.0
spamassassin-3.1.0-2.5.0
perl-crypto-5.8.7-2.5.0
perl-dns-5.8.7-2.5.0
perl-time-5.8.7-2.5.0
postfix-2.2.5-2.5.0
perl-openpkg-5.8.7-2.5.0
perl-xml-5.8.7-2.5.0
perl-term-5.8.7-2.5.0
curl-7.15.0-2.5.1
openpkg-2.5.1-2.5.1
png-1.2.8-2.5.0
freetype-2.1.10-2.5.0

CentOS
======

[EMAIL PROTECTED] COS4 bin]# rpm -qa | grep tcl
tcl-8.4.7-2
tclx-8.3.5-4

Adding a buildrequires for tcl to the rrdtool and installing OpenPKG
tcl does NOT work.

I finally installed RHEL4's tcl-devel and then rebuilt rrdtool and it
built successfully.

Hope this information is useful.

Regards,

Simon
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to