Title: RE: [htdig] compiling 3.2.0b3 on Cygwin
make sure that you clean out your config.cache...that might be part of your problem.  if you already have a fully configured installation use 'make distclean' to remove all of the generated files then try re-configuring/making
 
--
David J. Graff
Broadvision/Atlanta -  Principal Consultant
mailto:[EMAIL PROTECTED]
Phone: (678) 427-5412

This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient, dissemination of this communication is prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately.

-----Original Message-----
From: Holmes, Gregory [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 15, 2001 6:08 AM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: RE: [htdig] compiling 3.2.0b3 on Cygwin

[Sorry Gilles, forgot to cc list first time...]

Hmm... there is a /usr/include/regex.h, but I renamed it to regex.h.old, ran configure and make again, and got the same error.  I've attached it in case might be useful.

There is a Regex.h (note the capital) in the htfuzzy directory and a regex.h in the htlib directory.  Is that right?

The only other regex.h on the drive is over in the 3.1.5/htlib source directory, but I don't see how that could be involved.

-----Original Message-----
From: Gilles Detillieux [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 14, 2001 5:16 PM
To: Holmes, Gregory
Cc: [EMAIL PROTECTED]
Subject: Re: [htdig] compiling 3.2.0b3 on Cygwin


According to Holmes, Gregory:
> I get an error compiling 3.2.0.b3 with Cygwin on NT 4.0.  I am using the
> latest Cygwin (just installed from net).
>
> Here is the error I get:
>
> f/htdig.conf\" -I../include -I../htlib -I../htnet -I../htcommon -I../htword
> /db -I../db -DMV=\"/usr/bin/mv\" -I/usr/include -g -O2 -Wall -fno-rtti -fno
> ptions -Wp,-MD,.deps/EndingsDB.pp -c EndingsDB.cc -o EndingsDB.o
> In file included from regex.h:20,
>                  from EndingsDB.cc:31:
> ../htlib/HtRegex.h:60: syntax error before `;'
> EndingsDB.cc: In method `void Endings::expandWord(String &, List &, Diction
> , char *, char *)':
> EndingsDB.cc:334: `regex_t' undeclared (first use this function)
> EndingsDB.cc:334: (Each undeclared identifier is reported only once
> EndingsDB.cc:334: for each function it appears in.)
> EndingsDB.cc:334: parse error before `;'
> EndingsDB.cc:340: `reg' undeclared (first use this function)
> EndingsDB.cc:340: `REG_ICASE' undeclared (first use this function)
> EndingsDB.cc:340: `REG_NOSUB' undeclared (first use this function)
> EndingsDB.cc:340: `REG_EXTENDED' undeclared (first use this function)
> EndingsDB.cc:340: implicit declaration of function `int regcomp(...)'
> EndingsDB.cc:341: implicit declaration of function `int regexec(...)'
> EndingsDB.cc:369: implicit declaration of function `int regfree(...)'
> make[1]: *** [EndingsDB.lo] Error 1
> make[1]: Leaving directory `/usr/local/src/htdig-3.2.0b3/htfuzzy'
> make: *** [all-recursive] Error 1
>
> Can anyone offer insight on this?

Very bizarre!  The error message from the compiler suggests that line 20
of regex.h is trying to include htlib/HtRegex.h, and the errors are caused
by regex.h not defining the things it should.  What is this regex.h file
on your system?  This isn't the behaviour one would get from the regex.h
in htlib, so I'd assume your system is using a different one.

David J Graff.vcf

Reply via email to