>I'm sorry, I misread your bug report. I take it that common_dir >*wasn't* /usr/share/htdig in the RedHat RPM, but that it should have >been. If the packagers configured it with --prefix=/usr (which the >package information says they did), then the default location for >common_dir would be /usr/share/htdig. If that isn't what it is, >they must also have overridden either --datadir=... or >--with-common-dir=... > >The point remains that the way the packagers choose to configure the >package is beyond our control. We just provide the flexibility for >them to put things wherever they want. > >Out of interest, do you know where they *did* point common_dir to? >I've tried to find out, haven't been able to :(
I am now totally baffled. I have spent too long looking at the source RPMs for the old version of htdig (which worked) and the new version (which was the one I was complaining about, specifically old: htdig-3.2.0-1.b4.0.71.i386.rpm htdig-web-3.2.0-1.b4.0.71.i386.rpm new: htdig-3.2.0-16.20021103.i386.rpm htdig-web-3.2.0-16.20021103.i386.rpm Eventually, I realized that most of what I needed was not in the source RPMs but just in these binary RPMs. If you say rpm -qpl [file.rpm] you get a complete list of all the files. They were essentially identical except for two irrelevant changes (one the position of htdig.conf, the other a specification of the /var/www/html/htdig directory in the new one). Importantly, both RPMs put the file footer.html (the source of my original problem) in /usr/share/htdig/ and that is the value of "common_dir". I did notice that, in the source RPM for the new one, but not the old one, there was a single file called htdig.conf, consisting of one line: Alias /htdig /usr/share/htdig But this should not affect anything, right? This file was just sitting there. It was not part of any directory, but it was in the root directory when you unpack the source RPM. I don't know enough about RPMs to say. The bug is that, in the old version, you do not need to specify the location of common_dir in htdig.conf, but, in the new version you do. YOU COULD FIX THE BUG by adding common_dir: /usr/share/htdig to the default htdig.conf. If this is where common_dir is supposed to be, then it would do no harm. It would be redundant. But this would make it work with the new RPM, which DOES NOT CHANGE the location of common_dir. The problem is that it does not recognize this location unless it is specified in htdig.conf. Jon ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ htdig-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/htdig-dev