Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I'm trying to install pdksh as part of the required packages for Oracle SOA Suite.
When I try to "make" got the following error
CONFIG_FILES="" CONFIG_HEADERS=config.h ./config.status
creating.h is unchanged
date > stamp-h
config.h is unchanged
date > stamp-h
./siglist.sh "gcc -E -DHAVE_CONFIG -IO. -I" < ./siglist.in > tmpsiglist.out
sort: open failed: +2n: No such file or directory
make: ** [siglist.out] Error 1
What is wrong with my pdksh version. where could I download the right version?
What did you do before this? Exact steps please. Though, I would have thought centOS (being a RHEL derivative) would have either ksh with it, or an easier way of getting it than from source.
Don't bother with pdksh. Centos comes with the real ksh /bin/ksh, see contents of /etc/shells.
pdksh was only created, many years ago because it wasn't avail for free/open src on Linux. Since that changed (ksh 93 ?), you now get the real deal by default.
Thanks colucix i executed the command you said and it compiled very well.
but now i dont know what else to do to install the package.
When i tape "make install" it's supossed to install but nothing occure.
any one can help me.
When i tape "make install" it's supossed to install but nothing occure.
What do you mean for nothing occures? Did the prompt returned without any message or did you get some error?
Anyway, I'd follow the advice given by chrism01: ksh should be already installed on CentOS, otherwise you can try to install it using Add/Remove Software or yum install ksh. Why do you need pdksh?
Don't bother with pdksh. Centos comes with the real ksh /bin/ksh, see contents of /etc/shells.
pdksh was only created, many years ago because it wasn't avail for free/open src on Linux. Since that changed (ksh 93 ?), you now get the real deal by default.
Oracle SOA specifically asks for pdksh which frankly is an absolute ball ache.
Well... if you succeed in compiling pdksh, you will notice that it creates an executable called ksh, the same as the real shell ksh. Do you think the Oracle SOA will notice the difference?
Hi, this is the message i got when execute make install.. actually i use the root account
make install
./mkinstalldirs /usr/local/bin /usr/local/man/man1
/usr/bin/install -c ksh /usr/local/bin/`echo ksh|sed 's,x,x,'`
/usr/bin/install -c -m ksh.1 /usr/local/man/man1/`echo ksh|sed 's,x,x,`.1
NOTE: /etc/shells does not contain /usr/local/bin/ksh you should add it if
you want to set your shell to ksh
Well... it is not an error. The shell pdksh has been installed in /usr/local/bin and it is called ksh as the original one. Now you have to force Oracle to use this ksh instead of that one originally installed as /bin/ksh. To do this, you have to verify if the directory /usr/local/bin comes before /bin in your PATH. This is because when you have two executables with the same name, that one appearing first in the PATH is executed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.