I am putting a LINUX/GTM?/EsiObjects system
online. However, the GTM install fails in the early
going with a problem in the "configure" script.
I receive the following response:
----
configure: ./geteuid: Permission denied
You must run Configure as root.
----
I am in root, the local path contains the "."
reference to the current directory, and the
environment variable $USER="root". The shell
state in effect is 'BASH', not csh.
Nonetheless, the program geteuid appears to be
returning a result other than "root" to the configure
script process.
The system is LINUX RedHat 7.2. Is is possible
that the LINUX o/s has evolved to become
incompatible with the 'geteuid' program?
Can I work around this obstacle by removing the IF
test that calls geteuid in the script configure? ...or,
does geteuid do something else besides just
confirm that I am running from root?
I have spent two days trying to discover the cause
as an error on my part, but no luck. It appears that
I have done everything as the GTM documentation
has directed.
Logged In: YES
user_id=97287
Hi Richard,
Did you make sure geteuid is in executable mode? When I run
geteuid command on a Linux RedHat 7.2 machine here,
everything looks normal:
>ls -l ./geteuid
-rwxr-xr-x 1 bin bin 12356 Mar 29 15:37
./geteuid
>./geteuid
root
The error you got is what you'd get if the file is not
executable:
>chmod -x geteuid
>./geteuid
bash: ./geteuid: Permission denied
^^^^^^^^^^^^^^^^^
Hope this helps,
Nergis
Logged In: YES
user_id=500445
Nergis:
I have repeated the entire download and set up. Now
configure fails at the same point, when calling geteuid.
However, the error report is different:
./geteuid: error while loading shared Libraries:
libncurses.so.4: cannot open shared object file: No
such file or directory
You must run Configure as root.
I supsect that this is evidence of a change in RH 7.2.
Do I need to redirect the attempt to open from
libncurses.so.4? I don 't have this file. I do have
libncurses.so.5 and libncurses.5.2 in /usr/lib.
If so, how can I accomplish this?
Thanks for the quick reply.
Regards,
Richard.
Logged In: YES
user_id=97877
Hi Richard. This is an installation requirement problem.
GT.M is built with the curses4 library. RedHat 7.2 installs
with the curses5 library by default although the curses4
library is on the install CDs. You have two options. You
can either install ncurses4 off of your install CDs or what
others have done is cd to /usr/lib and create a link from
curses4 to curses5. I think the following commands would do
it:
cd /usr/lib
ln -s libncurses.so.5 libncurses.so.4
and then try to do your install again. Let us know how that
works out for you.
Steve
Logged In: YES
user_id=500445
Steve:
Well done! You may have my first born son!
....please... :-)
It worked like a charm. ...only 3 days to go from the top
of page 7 to the bottom of page 8 in the GT.M A & O
guide. I feel one with glaciers. :-)
I really do appreciate the assist. ....now, this case is
closed. On to Chapter 3 - - Basic Operations.
Thanks ever so much,
Regards,
Richard.
P. S.
Also, thanks to Bhaskar for the key breakthrough on
doing a tar extraction from the distribution file. Finding
the options string needed was <-zxvf> was the key to
getting the distribution out of the archive file inside
LINUX.
R. D.