[rrd-users] Can't compile 1.2.13

Simon Hobson linux at thehobsons.co.uk
Mon Jul 10 12:41:58 MEST 2006

I'm trying to compile rrdtool 1.2.13 but hitting a problem ...

I cd to the source directory and type :
./configure --prefix=/usr/local/rrdtool-1.2.13 && make && make install

It fails with :
Audit Compilation Environment
checking for gcc... gcc
checking for C compiler default output file name... configure: error: 
C compiler cannot create executables
See `config.log' for more details.

And in the log file I find :
configure:2495: $? = 0
configure:2497: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configured with: ../src/configure -v 
--prefix=/usr --mandir=/
usr/share/man --infodir=/usr/share/info 
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared 
t --with-system-zlib --enable-nls --without-included-gettext 
--enable-clocale=gnu --enable-debug --enable-java-gc=boehm
--enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-13)
configure:2500: $? = 0
configure:2502: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2505: $? = 1
configure:2528: checking for C compiler default output file name
configure:2531: gcc    conftest.c  >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2534: $? = 1
configure: failed program was:
| /* confdefs.h.  */

Is it something I'm doing wrong, or something else I need to install, or what ?

I installed gcc by doing "apt-get install gcc". The OS is Debian Sarge.


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