Install into /usr/local

Richard Taubo ort at bergersen.no
Sat Feb 17 08:45:42 PST 2007


Hi!


On 17. feb. 2007, at 16.05, Christopher Weldon wrote:

>
> On Feb 17, 2007, at 7:24 AM, Richard Taubo wrote:
>>
>> On 14. feb. 2007, at 23.52, Christopher Weldon wrote:
>>> Has it even been answered whether the documentation for the  
>>> installation on Linux had the user already login as root? This  
>>> would circumvent the necessity to use sudo...
>>
>> The reference manual does mention to login as root.
>
> Then our questions (and yours) have effectively been answered.  
> Because you're logged in as root, every command you issue is  
> essentially the same as issuing it with 'sudo' as a normal user.  
> When you 'sudo' a command, for the life of the command you are  
> running it as the root user.
>
> Now, if you were to login as yourself on your linux system (and not  
> root), you need to issue the sudo command at every point the  
> instructions ask you to issue sudo on MacOS.
>
> Understand the difference between the OSes?


Oh my, oh my. I meant: Does **not** mention . . .
Not my day, I see, and I am sorry about that. :-)

By the way, the software is called Sphinx and used to speed up full  
text search in e.g. MySQL ( see http://sphinxsearch.com for more).

On 17. feb. 2007, at 16.07, Jared Earle wrote:
> It probably does, but in a too subtle manner. The two following lines
> are subtly different, for instance:
> $ sudo make install
> # make install
>
> If you need to rigidly follow the Linux instructions, just type the  
> following:
> jearle at mantaray$ sudo bash
> root at mantaray#

The install doc (sphinx.txt) have the following instructions . . . :
$ make install
$ cd /usr/local/sphinx/etc
$ cp sphinx.conf.dist sphinx.conf
$ /usr/local/sphinx/bin/searchd

. . . so it does not seem like he is installing as root.
Thanks for feedback and sorry for the confusion.

Richard Taubo


More information about the MacOSX-admin mailing list