-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems installing zopen #3
Comments
This is strange, when you ran the above command was .env in the current working directory? What shell are you using? For the missing commands, I don't see why it shouldn't work, unless your shell is evaluating PATH before calling sanitizeEnvvar()?
Are you able to add a set -x to zopen-config and provide the output? |
Hello @IgorTodorovskiIBM First things first. Using /bin/sh lets me install everything just fine. The ZSH built-in function echo seems to dishonor the _BPXK_AUTOCVT setting. Regarding the sourcing of the .env file, I actually have no idea. It looks like the ZSH dies before More on this, tomorrow. Best, |
The 'nice shell' is an early drop of zsh ? |
echo is known to not be super-portable - @IgorTodorovskiIBM perhaps that is an issue... If this is zsh, we will be able to test easier after GA of z/OS 3.1 |
In zsh, echo is a builtin, I wonder if the pipes are not properly tagged, because more is a ebcdic application. |
I'm not sure I'm allowed but I can do tests until GA of z/OS 3.1. Just a few weeks. :) | The 'nice shell' is an early drop of zsh ? |
|
This is what I get with zsh:
The builtins seemed to be working though for me. |
You just tested .env or .zopen-config as well? So if I could do / test anything, let me know. |
I can't get past the .env issue, even by setting the PATH to its directory. I wonder if we have different versions installed.
|
I'm currently on an older version. MIKEG1@S0W1: ~ $ zsh --version
zsh 5.8.0.2-dev (i370-ibm-openedition) But we will upgrade our system in the next days. So in the end there are two problems, right? First is sourcing the .env file, second is sourcing the .zopen-config file. The second one, is related to a pipe or echo built-in problem. Could you please confirm the echo / pipe problem? MIKEG1@S0W1: ~ $ echo "Hallo" 2>&1 | tee test
�/%%?�#
MIKEG1@S0W1: ~ $ cat test
�/%%?�# vs. MIKEG1@S0W1: ~ $ /bin/echo "Hallo" 2>&1 | tee test
Hallo
MIKEG1@S0W1: ~ $ cat test
Hallo /MIKE |
I din't get .env working, either. I set up the path in the manual way, without using the .env file. |
The pipe issue seems to be resolved:
|
@IgorTodorovskiIBM , the current zsh is v5.8.1, in which the pipe issue was fixed. The output on AQ is as below: 6:50:30 ~ $echo "Hallo" 2>&1 | tee testme Sunny |
Can we close @mgrossmann ? |
Hello,
I tried to install version 0.6.0.
My environment could not be named as of end of this month.
So I'm not running bash but another nice shell.
According to the documentation I started running
So I fixed this issue by manually setting the path as in the .env script.
After installation I tried to source the new environment via:
It looks like the shell function
sanitizeEnvVar() {}
failed and afterwards $PATH is missingthe new PATH variable.
Thx, Mike
The text was updated successfully, but these errors were encountered: