[rrd-users] RRDTool 1.2.18 fails configure on Solaris 8 Sun Studio 11

Allen Wooden awooden at harboreasthost.com
Wed Jan 24 20:55:50 CET 2007


Wednesday, January 24, 2007, 2:00:06 PM, you wrote:

> configure is failing on the IEEE math checks.

> This is with SunStudio 11 compiler.

During further attempts I got it to configure.
Seems like it did not like that arguments to cc that I was using.
'cc -fast -xarch=v8plus -xtarget=ultra'
as soon as I unset it it configured. Although I
had to set PERLCC to gcc to get the perl modules configured.

However, now when I run make it bombs:

This is using dmake from /opt/SUNWspro/bin/dmake.

 cc -DHAVE_CONFIG_H -I. -I. -I.. -DRRD_DEFAULT_FONT=\"/usr/local/rrdtool-1.2.18/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf\" -DNUMVERS=1.2018 -I/usr/include/libart-2.0 -I/usr/sfw/include -I/usr/sfw/include/freetype2 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/include/libart-2.0 -I/usr/include/freetype2 -g -KPIC -DPIC -c rrd_gfx.c  -KPIC -DPIC -o .libs/rrd_gfx.o
"rrd_tool.h", line 143: warning: modification of typedef with "int" ignored
"rrd_gfx.c", line 465: undefined symbol: FT_LOAD_TARGET_NORMAL
"rrd_gfx.c", line 466: undefined symbol: FT_LOAD_TARGET_LIGHT
"rrd_gfx.c", line 467: undefined symbol: FT_LOAD_TARGET_MONO
"rrd_gfx.c", line 502: undefined symbol: FT_RENDER_MODE_NORMAL
"rrd_gfx.c", line 503: undefined symbol: FT_RENDER_MODE_LIGHT
"rrd_gfx.c", line 504: undefined symbol: FT_RENDER_MODE_MONO
"rrd_gfx.c", line 693: undefined symbol: FT_PIXEL_MODE_GRAY
"rrd_gfx.c", line 693: non-constant case expression
"rrd_gfx.c", line 713: undefined symbol: FT_PIXEL_MODE_MONO
"rrd_gfx.c", line 713: non-constant case expression
cc: acomp failed for rrd_gfx.c
*** Error code 1
dmake: Fatal error: Command failed for target `rrd_gfx.lo'
Current working directory /usr2/build/rrdtool-1.2.18/src
Waiting for 1 job to finish
awooden-b1500 --> Job output
source='getopt1.c' object='getopt1.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/bash ../depcomp \
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I..  -DRRD_DEFAULT_FONT=\"/usr/local/rrdtool-1.2.18/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf\" -DNUMVERS=1.2018 -I/usr/include/libart-2.0 -I/usr/sfw/include -I/usr/sfw/include/freetype2 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/include/libart-2.0 -I/usr/include/freetype2   -g  -KPIC -DPIC -c -o getopt1.lo getopt1.c
 cc -DHAVE_CONFIG_H -I. -I. -I.. -DRRD_DEFAULT_FONT=\"/usr/local/rrdtool-1.2.18/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf\" -DNUMVERS=1.2018 -I/usr/include/libart-2.0 -I/usr/sfw/include -I/usr/sfw/include/freetype2 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/include/libart-2.0 -I/usr/include/freetype2 -g -KPIC -DPIC -c getopt1.c  -KPIC -DPIC -o .libs/getopt1.o
 cc -DHAVE_CONFIG_H -I. -I. -I.. -DRRD_DEFAULT_FONT=\"/usr/local/rrdtool-1.2.18/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf\" -DNUMVERS=1.2018 -I/usr/include/libart-2.0 -I/usr/sfw/include -I/usr/sfw/include/freetype2 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/usr/include/libart-2.0 -I/usr/include/freetype2 -g -KPIC -DPIC -c getopt1.c -o getopt1.o >/dev/null 2>&1
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='src bindings doc examples'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
dmake: Fatal error: Command failed for target `all-recursive'
Current working directory /usr2/build/rrdtool-1.2.18
*** Error code 1
dmake: Fatal error: Command failed for target `all'









-- 
Best regards,
 Allen                            mailto:awooden at harboreasthost.com



More information about the rrd-users mailing list