According to Lachlan Andrew:
> 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 :(

They point it to /var/www/html/htdig.  Actually, they do lots of really
dumb things in their RPM package.  First of all they set common_dir
and image_dir to the same thing, then they move /var/www/html/htdig
to /usr/share/htdig.  In previous RPMs, they then made a symlink from
/var/www/html/htdig (in the htdig-web package) over to /usr/share/htdig,
so that htsearch et al. only found the common files if you had installed
both htdig and htdig-web packages, and htsearch's images would only load
if you configure httpd to follow symlinks.  Now, to resolve the latter
problem, they use an Apache Alias instead of a symlink, so the images
load, but nothing will find the common files unless you fix common_dir
in your htdig.conf.  Maybe in another year or two they'll finally get
it right.

I can send you their .spec file if you're interested.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. Physiology, U. of Manitoba  Winnipeg, MB  R3E 3J7  (Canada)


-------------------------------------------------------
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

Reply via email to