[htdig] Re: htdig compile issue


Subject: [htdig] Re: htdig compile issue
From: Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Date: Thu Aug 17 2000 - 11:36:20 PDT


According to Hunter Morris:
> I remember now that you helped me out a little while back with some issues
> with ht://Dig 3.2.0b2.

So you did know about the htdig@htdig.org mailing list 3 weeks ago, right? ;-)

> I'm trying to compile on a newly installed Red Hat
> 6.2 machine with all the updates from updates.redhat.com (kernel 2.2.16-3).
> I don't know very much about Red Hat or linux because I deal mostly with
> HPUX and BSD out here. However, I'd like to test the 3.2 phrase searching
> capabilities. I get the following error when compiling:
>
> ../os/os_dir.c: In function `__os_dirlist':
> ../os/os_dir.c:52: `DIR' undeclared (first use in this function)
> ../os/os_dir.c:52: (Each undeclared identifier is reported only once
> ../os/os_dir.c:52: for each function it appears in.)
> ../os/os_dir.c:52: `dirp' undeclared (first use in this function)
> ../os/os_dir.c:53: parse error before `int'
> ../os/os_dir.c:61: `names' undeclared (first use in this function)
> ../os/os_dir.c:62: `arraysz' undeclared (first use in this function)
> ../os/os_dir.c:62: `cnt' undeclared (first use in this function)
> ../os/os_dir.c:62: warning: assignment makes pointer from integer without a
> cast
> ../os/os_dir.c:65: `ret' undeclared (first use in this function)
> ../os/os_dir.c:69: dereferencing pointer to incomplete type
> make[2]: *** [os_dir.o] Error 1
> make[2]: Leaving directory `/usr/local/src/htdig-3.2.0b2/db/dist'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/local/src/htdig-3.2.0b2/db'
> make: *** [all-recursive] Error 1
>
> I can't find the DIR structure declaration anywhere (none of the kernel
> include files or anything), but then again, I don't know much about linux.
> If you have any ideas, please let me know.

Not really. That's why the list isn't such a bad idea after all. Maybe
someone else will.

I never ran into anything like this on 6.0 or 6.1, but I haven't had a chance
to build htdig 3.2 recently, so I can't rule out a recent bug in the db code
or its configure script.

-- 
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 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 Aug 17 2000 - 11:36:30 PDT