[htdig] htdig-3.1.5 with the latest RedHat 7 distro.


Subject: [htdig] htdig-3.1.5 with the latest RedHat 7 distro.
From: Allan Peda (apeda@linkshare.com)
Date: Thu Oct 12 2000 - 16:37:32 PDT


I'm having trouble with compiling the latest htdig (htdig-3.1.5) with
the latest RedHat 7 distro. It looks like there is some sort of type
casting that is not quite right. Well, details follow:

thanks
/allan

Here is (make 2>&1 ) > /tmp/foo

make[1]: Entering directory `/home/apeda/src/htdig-3.1.5/db/dist'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/apeda/src/htdig-3.1.5/db/dist'
make[1]: Entering directory `/home/apeda/src/htdig-3.1.5/htlib'
c++ -c -DDEFAULT_CONFIG_FILE=\"/opt/stow/htdig3.1.5/conf/htdig.conf\"
-I../htlib -I../htcommon -I../db/dist -I../include -g -O2
Configuration.cc
/usr/include/g++-2/streambuf.h: In method `struct streampos
streambuf::pubseekoff(streamoff, enum _seek_dir, int = 3)':
In file included from /usr/include/g++-2/iostream.h:31,
                 from /usr/include/g++-2/fstream.h:30,
                 from Configuration.cc:15:
/usr/include/g++-2/streambuf.h:362: conversion from `__off64_t' to
non-scalar type `streampos' requested
/usr/include/g++-2/streambuf.h: In method `struct streampos
streambuf::pubseekpos(struct streampos, int = 3)':
/usr/include/g++-2/streambuf.h:364: `struct streampos' used where a
`__off64_t' was expected
make[1]: *** [Configuration.o] Error 1
make[1]: Leaving directory `/home/apeda/src/htdig-3.1.5/htlib'
make: *** [all] Error 1

Here is the pertinant linux info: (whoa SMP? .. gotta fix that).
==============================
Linux 2.2.17 #1 SMP Thu Oct 5 16:02:09 GMT 2000 i686 unknown
Red Hat Linux release 7.0 (Guinness)
Kernel 2.2.17 on an i686
==============================
 libc.so.5 is needed by htdig-3.1.5-0
 libm.so.5 is needed by htdig-3.1.5-0
 libstdc++.so.27 is needed by htdig-3.1.5-0

gcc info:
========================================
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs

gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
 /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/cpp -lang-c -v -undef
-D__GNUC__=2 -D__GNUC_MINOR__=91 -D__ELF__ -Dunix -Di386 -D__i386__
-Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__i386__ -D__linux__ -D__unix
-D__i386 -D__linux -Asystem(posix) -Asystem(unix) -Acpu(i386)
-Amachine(i386) -Di386 -D__i386 -D__i386__ -D__tune_i386__ c.c
/tmp/cc2xuSMa.i
GNU CPP version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) (i386
Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /usr/i386-redhat-linux/include
 /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include
 /usr/include
End of search list.
 /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/cc1 /tmp/cc2xuSMa.i
-quiet -dumpbase c.c -version -o /tmp/ccsdlLQc.s
GNU C version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
(i386-redhat-linux) compiled by GNU C version egcs-2.91.66
19990314/Linux (egcs-1.1.2 release).
 as -V -Qy -o /tmp/cc8gyN9d.o /tmp/ccsdlLQc.s
GNU assembler version 2.10.90 (i386-redhat-linux) using BFD version
2.10.0.18
 /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/collect2 -m elf_i386
-dynamic-linker /lib/ld-linux.so.2 /usr/lib/crt1.o /usr/lib/crti.o
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/crtbegin.o
-L/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66
-L/usr/i386-redhat-linux/lib /tmp/cc8gyN9d.o -lgcc -lc -lgcc
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/crtend.o /usr/lib/crtn.o

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-unsubscribe@htdig.org
You will receive a message to confirm this.
List archives: <http://www.htdig.org/mail/menu.html>
FAQ: <http://www.htdig.org/FAQ.html>



This archive was generated by hypermail 2b28 : Thu Oct 12 2000 - 16:36:54 PDT