enigma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Enigma-devel] Re: compiling from trunk


From: Erich Schubert
Subject: Re: [Enigma-devel] Re: compiling from trunk
Date: Mon, 18 Feb 2008 18:54:12 +0100

Hi,
> > I tried again using sudo ./autogen.sh && ./configure && make && make
> > install. but I still got the line:

You need to do "sudo make install". && separates commands, and sudo is
just a single command, it doesn't apply to a sequence of commands.
Try "sudo whoami && whoami" - the first whoami is exectued as root,
the second as your regular user.

The only step where you 'need' root (i.e. where you need sudo) is the
"make install" phase.

However, I'd even recommend to not install into /usr/local, that way
you won't even need root access.
You can just use ./configure
--prefix=/home/whatever/coding/enigma/install or whichever path you
prefer.
Then you should be able to install enigma als regular user. To run it,
just run /home/whatever/coding/enigma/install/bin/enigma
(or wherever the enigma binary would have been placed in /usr/local,
maybe it's games/enigma instead.)

This makes it especially easier to clean up afterwards - just nuke the
coding/enigma/install directory.

The --prefix option will tell enigma where to find it's files, so this
should just work (if you compile from a clean state; whenever you
change configure options, you should do a make clean first)

regards,
Erich Schubert
--
    erich@(mucl.de|debian.org)      --      GPG Key ID: 4B3A135C    (o_
  To understand recursion you first need to understand recursion.   //\
  Wo befreundete Wege zusammenlaufen, da sieht die ganze Welt für   V_/_
        eine Stunde wie eine Heimat aus. --- Herrmann Hesse




reply via email to

[Prev in Thread] Current Thread [Next in Thread]