[rrd-users] rrdtool-1.2.10 compile problems..
Eric Cables
ecables at gmail.com
Thu Dec 15 00:40:00 MET 2005
Hello all, I have searched the forums and found a few references to this
problem, but the fix is not working for me.
Solaris 10
rrdtool-1.2.10
Below is the error message:
-----------------
make all-recursive
Making all in src
Making all in bindings
Making all in tcl
Making all in python
cd perl-piped && make
cd perl-shared && make RPATH=/usr/local/rrdtool- 1.2.10/lib
cc -c -I../../src -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8
-D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"1.201\" -DXS_VERSION=\"
1.201\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE"
-DPERLPATCHLEVEL=8 RRDs.c
cc: unrecognized option `-KPIC'
cc: language ildoff not recognized
cc: RRDs.c: linker input file unused because linking not done
rm -f blib/arch/auto/RRDs/RRDs.so
LD_RUN_PATH="" cc -G RRDs.o -L../../src/.libs/ -R/usr/local/rrdtool-1.2.10/lib
-lrrd -lm -o blib/arch/auto/RRDs/RRDs.so
cc: RRDs.o: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `blib/arch/auto/RRDs/RRDs.so'
Current working directory /root/packages/rrdtool-1.2.10/bindings/perl-shared
*** Error code 1
make: Fatal error: Command failed for target `perl_shared'
Current working directory /root/packages/rrdtool-1.2.10 /bindings
*** 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='tcl python'; 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"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /root/packages/rrdtool- 1.2.10/bindings
*** 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"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /root/packages/rrdtool- 1.2.10
*** Error code 1
make: Fatal error: Command failed for target `all'
-----------------
The previous "solution" was to link cc to gcc, but I am getting an invalid
option "cc: unrecognized option `-KPIC'". If anyone has a workaround for
this, please let me know. I have also exported CC=gcc, but that didn't do
much either.
Thanks,
--
Eric Cables
Network Engineer, CCIE #12799
--
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