Re: [htdig3-dev] Htdig question: please help!


Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Mon, 29 Mar 1999 15:10:09 -0600 (CST)


According to [saram.net] Information Center:
> We're having installing htdig on our Linux box(Linux 2.0.34) running Red
> Hat 5.1 and we wonder if anyone has an idea on this.
>
> Basically this is what happens.
> 1) After extracting the software(htdig-3.1.1),
> 2) ran ./configure at the command prompt
> 3) edited CONFIG, as instructed at:
> <http://knot.queensu.ca/htdig30/doc/install.html>
> 4) ran 'make depend' (tried skipping this one too)
> 5) ran 'make' and it looked like it's doing something for a while (a minute
> or so) and returned the following error.
> -----------------------------------------------------------------------------
> unicorn: {1} % make
> make[1]: Entering directory `/usr/home/hkim/saram.net/htdig-3.1.1/db/dist'
> gcc -c -O2 -I. -I./../include ../os/os_dir.c
> ./os/os_dir.c: In function `__os_dirlist':
> ./os/os_dir.c:53: `DIR' undeclared (first use this function)
> ./os/os_dir.c:53: (Each undeclared identifier is reported only once
> ./os/os_dir.c:53: for each function it appears in.)
> ./os/os_dir.c:53: `dirp' undeclared (first use this function)
> ./os/os_dir.c:54: parse error before `int'
> ./os/os_dir.c:62: `names' undeclared (first use this function)
> ./os/os_dir.c:63: `arraysz' undeclared (first use this function)
> ./os/os_dir.c:63: `cnt' undeclared (first use this function)
> ./os/os_dir.c:63: warning: assignment makes pointer from integer without a
> cast
> ./os/os_dir.c:66: `ret' undeclared (first use this function)
> ./os/os_dir.c:70: dereferencing pointer to incomplete type
> make[1]: *** [os_dir.o] Error 1
> make[1]: Leaving directory `/usr/home/hkim/saram.net/htdig-3.1.1/db/dist'
> make: *** [all] Error 1
> unicorn: {2} %
> -----------------------------------------------------------------------------
> Would anyone have any idea what we're doing wrong here?
> Your help will greatly be appreciated.
> Thanks in advance.

Red Hat Linux should have everything you need to build htdig successfully,
provided you actually installed it all! You obviously installed the gcc
package, but you'll also need: egcs-c++, libstdc++-devel, glibc-devel &
kernel-headers. Use rpm -q to check for the presence of each of these
packages, and if any is missing, you should install it from your Red
Hat 5.1 distribution.

If you examined the output of ./configure, it probably would have alerted
you to the fact that some header files were missing.

You can also get a precompiled binary RPM of htdig-3.1.1 from

        http://www.htdig.org/files/binaries/htdig-3.1.1-1glibc.i386.rpm
or
        http://www.scrc.umanitoba.ca/htdig/rpms/htdig-3.1.1-1glibc.i386.rpm

If you plan to run htdig/htmerge or rundig from a cron job, please note:

There's an obscure bug in vixie-cron on Red Hat 5.0 and 5.1 systems,
in its SIGCHLD signal handling. It causes htmerge to fail consistently
with a "Word sort failed" error, when run from a cron job. It could
potentially cause similar problems with other jobs. I recommend upgrading
to the latest vixie-cron from the 5.2 distribution:

        vixie-cron-3.0.1-26.i386.rpm

Unfortunately, even though Red Hat discovered and fixed the problem back
in June, they did not mention it in their errata or issue update RPMs.
They can be obtained from any Red Hat Linux distribution mirror site, or
along with the htdig RPMs from my www.scrc.umanitoba.ca web site above.

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
htdig3-dev@htdig.org containing the single word "unsubscribe" in
the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Mon Mar 29 1999 - 13:31:32 PST