Re: [htdig] Directory structure "virtual environment" problems


Geoff Hutchison (ghutchis@wso.williams.edu)
Mon, 29 Mar 1999 20:09:22 -0500 (EST)


On Mon, 29 Mar 1999, Shawn Patton wrote:

> 1) Add the following line:
> VCONFIG_DIR= /usr/local/htdig/conf
> 2) Edit CONFIG_DIR in the following line from:
> LOCAL_DEFINES= -DCONFIG_DIR=\"$(CONFIG_DIR)\"
> to:
> LOCAL_DEFINES= -DCONFIG_DIR=\"$(VCONFIG_DIR)\"
> 3) Move to the Htsearch source directory and run make on the edited
> Makefile.
> 4) manually cp *new* Htsearch binary to cgi-bin directory.

OK, I see the problem here... The top-level Makefile.config defines the
default config file. It doesn't pay any attention to $(CONFIG_DIR). Edit
that and you should be set:

DEFINES= -DDEFAULT_CONFIG_FILE=\"$(DEFAULT_CONFIG_FILE)\"

(or edit the CONFIG file)
(Suggestions on Makefile cleanups are more than welcome!)

-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig@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 - 18:26:28 PST