According to [EMAIL PROTECTED]:
> I tried the 3.1.6 snapshot and got the same ps error.
> I guess I will try to find a different search utility.

There's a couple things more you can try:

1) Run the command "strings `which htmerge` | grep sort" and see if the
pathname that comes up for the sort program is the same one that
SORT_PROG is defined as in htmerge/Makefile.  If it's not, there's
something that went wrong in the compilation phase, or else you have
more than one htmerge binary installed and rundig may not be running 
the latest one.  Also, check what path is reported by "which sort".
It should be the same path again.  If there are any discrepancies in
the paths, it may also be that you have more than one sort program on
your system, and the one that htmerge is using is misbehaving.

2) Go to the directory where your db.wordlist file is, and run the
command "sort -T `pwd` db.wordlist > db.wordlist.tmp" and see if you get
the same ps error.  The command above is quite similar to how htmerge
calls sort, so theoretically it should fail the same way if you are
indeed running the same program as htmerge runs.  If it does fail, try
without the -T dir option, i.e. "sort db.wordlist > db.wordlist.tmp",
and if that works it may be your sort program doesn't like the -T option,
as the BSD sort program (see FAQ 5.9), and so you'd have to avoid using
the TMPDIR environment variable in rundig.  If sort fails in both of
these cases, obviously you need to replace it with a sort program that
works.

> According to [EMAIL PROTECTED]:
> > I looked into the file and the SORT_PROG in the LOCAL_DEFINES is
> > /usr/bin/sort. I went and looked at it and sort appears ok as far as I
> can
> > tell. I guess I have hit a wall.
...
> > According to [EMAIL PROTECTED]:
> > > I just installed htdig 3.1.5 on a Sun Solaris 8 unit. I ran rundig in
> > -vvv
> > > and it indexes the site and creates the db.wordlist and db.docdb files,
> > but
> > > then when it reaches the htmerge part of rundig I receive the following
> > > error:
> > >
> > > usage: ps [ -aAdeflcjLPy ] [ -o format ] [ -t termlist ]
> > >         [ -u userlist ] [ -U userlist ] [ -G grouplist ]
> > >         [ -p proclist ] [ -g pgrplist ] [ -s sidlist ]
> > >   'format' is one or more of:
> > >         user ruser group rgroup uid ruid gid rgid pid ppid pgid sid
> > taskid
> > >         pri opri pcpu pmem vsz rss osz nice class time etime stime
> > >         f s c lwp nlwp psr tty addr wchan fname comm args projid
> project
> > > htmerge: Word sort failed
> >
> > Well, you're certainly right that this is not the usual sort of Word sort
> > failed error that gets reported.  For some reason, it seems htmerge is
> > calling "ps" instead of "sort", either directly or indirectly.  Have a
> > look at what SORT_PROG is defined as in the LOCAL_DEFINES variable of
> > htmerge/Makefile, and see if it makes sense.  If it doesn't, it would
> > appear that the configure script messed up.  If it does seem to make
> > sense, have a look at that file (e.g. /bin/sort or whatever) to make
> > sure it isn't messed up on your system.

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

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to