Neal,

I ran into a little trouble with the build using the htdig-3.2.0b4-20090928 full 
snapshot. Here were the steps I used:

1. Installed MinGW 3.1.0-1 (newbie alert!!)
2. Added mingw-zlib 1.1.4-1 to my Cygwin setup (per configure's suggestion)
3. Launched Cygwin
4. export CC='gcc -mno-cygwin'
5. export CXX='gcc -mno-cygwin'
6. ./configure --host=mingw32 --build=mingw32 --target=mingw32 --prefix=c:/htdig
7. make
8. Went to lunch :-)
9. Observed  the following output leading to the error(s):

================
 gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I. -I./../htlib -g -O2 -c os_oflags.c
 -DDLL_EXPORT -DPIC -o .libs/os_oflags.o
os_oflags.c: In function `CDB___db_omode':
os_oflags.c:69: error: `S_IRGRP' undeclared (first use in this function)
os_oflags.c:69: error: (Each undeclared identifier is reported only once
os_oflags.c:69: error: for each function it appears in.)
os_oflags.c:71: error: `S_IWGRP' undeclared (first use in this function)
os_oflags.c:73: error: `S_IROTH' undeclared (first use in this function)
os_oflags.c:75: error: `S_IWOTH' undeclared (first use in this function)
make[2]: *** [os_oflags.lo] Error 1
make[2]: Leaving directory `/home/htdig320b4/htdig-3.2.0b4-20030928-Win32/db'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/htdig320b4/htdig-3.2.0b4-20030928-Win32/db'
make: *** [all-recursive] Error 1
================

Looks like the #define's at the end of db_int.h aren't happening? They appear 
dependent on some Win32 flags. Do I need another export or configure directive for 
Win32? Thanks for your patience, I'm a bit of a newbie here :)

Thanx
-Steve

>>> Neal Richter <[EMAIL PROTECTED]> 10/02/03 04:41PM >>>

Hey,
        I have produced a set of makefiles for a native windows binaries.
You do need cygwin to run 'make' (the makefiles are for GNU make).  The
makefiles use the Microsoft compiler.

        Could you get a copy of the latest snapshot and try and do the
build?  I'll work with you to get it fixed if it's still broken.

        We've tested older snapshots of HtDig compiled Win32 native and
run nearly a million documents through it....

        If this doesn't satisfy your needs, I'd be willing to put in some
time looking at the cygwin build.

Neal Richter
Knowledgebase Developer
RightNow Technologies, Inc.
Customer Service for Every Web Site
Office: 406-522-1485


__________________________________

Confidentiality Statement:
This email/fax, including attachments, may include confidential and/or proprietary 
information and may be used only by the person or entity to which it is addressed. If 
the reader of this email/fax is not the intended recipient or his or her agent, the 
reader is hereby notified that any dissemination, distribution or copying of this 
email/fax is prohibited. If you have received this email/fax in error, please notify 
the sender by replying to this message and deleting this email or destroying this 
facsimile immediately.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
ht://Dig Developer mailing list:
[EMAIL PROTECTED]
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to