PDA

View Full Version : Installing htdig


dubrocker
08-29-2005, 02:41 PM
I am trying to install htdig on a FQ hosted account. I got so far as to unzip the tar.gz into /tmp; I am now trying to run a configuration script. The instructions say that I should be logged in as root, but that's not possible on a shared box (right? I'm a Linux newbie). I tried to use the sudo command, but that didn't seem to work either.
The syntax I'm using is as follows:
sudo ./configure --prefix=/big/dom/xnpmhu307/htdig --with-cgi-bin-dir=/big/dom/xnpmhu307/cgi-bin/ --with-image-dir=/big/dom/xnpmhu307/www/htdig/images --with-image-url-prefix=/htdig/images --with-search-dir=/big/dom/xnpmhu307/www/htdig/sample

Which gets me:
bash: sudo: command not found

Any ideas? Has anyone out here installed this script before?

Kevin
08-29-2005, 02:44 PM
You cannot run the sudo command as it gives root privs which would be a huge security hole.

You also can't execute anything stored within /tmp. This is disabled as an additional security feature.

dubrocker
08-29-2005, 02:49 PM
So- there's just no way to install this program? Is there a recommended search utility for FQ account holders?

Kevin
08-29-2005, 02:52 PM
So- there's just no way to install this program? Is there a recommended search utility for FQ account holders?
I didn't say that. I just said you couldn't have root access to install the program at the server level (that is what sudo does) nor could you execute the configure script under the /tmp directory.

If you can do the configure and the compile within your home directory and with your user account I don't see anything that will prevent it from working.

Don
08-29-2005, 08:53 PM
Any ideas?How about Google Free (http://www.google.com/searchcode.html)?

--
Don