From: Gilles D. <gr...@sc...> - 2002-12-02 23:44:37
|
According to Brian H. Marston: > Jim Cole wrote: > > I think the next step would be to check those files and > > see if 'DIR' is in fact defined somewhere, and if it is wrapped in some > > sort of #ifdef that might be excluding it. > > > >From /usr/include/dirent.h: > > /* This is the data type of directory stream objects. > The actual structure is opaque to users. */ > typedef struct __dirstream DIR; > > > Jim Cole wrote: > > You should also try searching the ht://Dig site for 'DIR undeclared'. > > There are a few other posts involving the same error message. The > > implication seems to be that they were due to missing packages, but > > whether that is the problem you are running into, I don't know. > > Based on Gilles Detillieux's advice at > http://www.htdig.org/htdig-dev/1999/03/0104.html: > > rpm -q returns: > package egcs-c++ is not installed > libstdc++-devel-2.96-113 > glibc-devel-2.2.5-42 > package kernel-headers is not installed > glibc-kernheaders-2.4-7.16 > > According to > http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/release-notes/x86/, > the glibc-kernheaders package replaced the kernel-headers package in Red Hat > Linux 7.3. > > Is the problem that I don't have the egcs-c++ package installed? If so, can > I fix the problem without root access? The egcs-c++ was part of Red Hat 6.x releases. Red Hat 7.x and 8.0 went back to using gcc-c++. Your ./configure output shows that it found a working c++ so I don't think this is the problem. However, your ./configure output shows a whole lot of entries labeled "(cached)", which leads me to suspect that this wasn't a clean installation straight from the original htdig-3.1.6.tar.gz distribution. Can you try reinstalling from scratch? I've certainly had no difficulty building this package on Red Hat 7.2, so I don't see why 7.3 would pose a problem. As for your request for pre-compiled binaries, you could always download the "rh72" RPMs from http://www.htdig.org/files/binaries/ and install them even without root access using "rpm2cpio package.rpm | cpio -idmv". This will unpack the whole thing under your current directory. You'd then need to use the -c option to all the programs as the compiled-in CONFIG_DIR setting wouldn't be appropriate for your setup. You'd also need to run htsearch within a wrapper script, as described in http://www.htdig.org/FAQ.html#q5.30, but you'd need to do that with any pre-compiled binary of htsearch unless it was pre-configured to your specifications (which you never specified). It's always better if you can compile your own. -- Gilles R. Detillieux E-mail: <gr...@sc...> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/ Dept. Physiology, U. of Manitoba Winnipeg, MB R3E 3J7 (Canada) |