[rrd-users] Compilation hint on aix 5.2

FIGARO Nicolas nfigaro at effigie.fr
Mon May 9 10:06:50 MEST 2005


Hi, 

The compilation of rrdtool (1.2.4) on aix 5.2 (using gcc 3.3.2) stops
with this message : 
root at host # make
[snip]
creating rrdtool
        gcc -DHAVE_CONFIG_H -DMAKE_TIMESTAMP=\"""\" -I. -I. -I..
-DRRD_DEFAULT_FONT=\"/usr/local//share/rrdtool/fonts/DejaVuSansMono-Roma
n.ttf\"  -I/usr/include/freetype2 -I/usr/include/libart-2.0
-I/usr/local/include -I/usr/local/include/freetype2
-I/usr/local/include/libart-2.0   -g -O2  -DPIC -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -W -DSTANDALONE -c -o rrdupdate.o
gcc: no input files
make: The error code from the last command is 1.


Stop.
make: The error code from the last command is 1.


Stop.
make: The error code from the last command is 2.


Stop.
root at host #


Watching the output of earlier rrdtool versions compilations, I added a
"rrd_update.c" at the end of the previous gcc, and it works. 
gcc -DHAVE_CONFIG_H -DMAKE_TIMESTAMP=\"""\" -I. -I. -I..
-DRRD_DEFAULT_FONT=\"/usr/local//share/rrdtool/fonts/DejaVuSansMono-Roma
n.ttf\"  -I/usr/include/freetype2 -I/usr/include/libart-2.0
-I/usr/local/include -I/usr/local/include/freetype2
-I/usr/local/include/libart-2.0   -g -O2  -DPIC -Wall -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -W -DSTANDALONE -c -o rrdupdate.o rrd_update.c


I saw a specific portion of the Makefile for the rrd_update, but I think
it would be better to modify the configure script rather than the
Makefile directly. 

The configure ran using those options : 
./configure --prefix=/usr/local --disable-pthread 

I hope this would help people having problems compiling rrdtool on aix. 

Nicolas Figaro 

--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list