lua-users home
lua-l archive

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


Glenn:

On Fri, Feb 23, 2018 at 6:43 PM, Glenn Travis <travplays@comcast.net> wrote:
> Actually, I feel that it should be right up there in the initial instructions or else it will not be installed properly given the root and wheel system properties of /usr/ . . .. I searched around on the internet, and most bash > lua won’t work command concern were fairly old, and most replies were of the fix the PATH sort of things.

That may be because most people making a global install on a unix-like
system read teh manual and insured they had the right permissions.

Note "sudo make install" is not the only way, you may have logged in
as root, or used sudo -i, or plain su, or have some permissions in
your user over the system dirs ( I do not use the staff group, but
I've noticed this in my Debian install:

folarte@p:~/tmp/lua-5.3.4$ ls -ld /usr/local/{,share,man,lib,bin}
drwxrwsr-x 10 root staff 4096 Apr 24  2014 /usr/local/
drwxrwsr-x  2 root staff 4096 Apr 24  2014 /usr/local/bin
drwxrwsr-x  4 root staff 4096 Jul 24  2017 /usr/local/lib
lrwxrwxrwx  1 root staff    9 Apr 24  2014 /usr/local/man -> share/man
drwxrwsr-x  9 root staff 4096 Jul 24  2017 /usr/local/share

)

> I used the sudo make install combined command, so I do not know if Sudo make or sudo install will do it or if one needs the combined command, but I DO know that it will install and get folks up and running; the admin password is necessary and get the right permissions going.

mmm, you seem to have some misunderstanding of how it works. Command
lines are case sensitive, I do not know about your FS, it may be not,
but is is sudo, not Sudo.
Also, "make install" is a single command, it calls make, the building
program, and tells it to process the install target. Casually the
install target uses the install command a lot if available, but that's
a single command.

Francisco Olarte.