Open Pikachuxxxx opened 4 years ago
either tell zsh to load run exports and stuff from .bashrc or put the exports in .zshrc instead of .bashrc since you're using zsh shell not bash
@frytkisasmaczne could be right. it's just shell problem. but we should give the better suggestion in running script.
Thanks for pointing it out and helping me resolve it. As Catalina using the new Zsh as the default shell I think proper instructions to use the .zshrc along with .bashrc update would clear any issues or confusions for new explorers.
Hi, everyone 👋. I really am not familiar with how to properly work with Terminal and scripts so forgive me if I appear stupid at times.
I'm on macOS Catalina 10.15.3 and, from what I understood, .zshrc
is, basically, a file with instructions, run whenever I launch Terminal (a config of sorts). I created such file (since it was not present before) in my "home" (~) directory and put the suggested export
lines in there. Just to make sure, I also made it echo
so I get a confirmation that instructions from that file were executed.
And, on launch, I get that confirmation, yes, and I also put all two of the export
lines inside .bash_profile
and .bashrc
. Those are the only 2 lines in all 3 files (not counting echo
's). However, no matter how many times I tried (restarting Terminal each time), running the bootstrap-vitasdk.sh
script always fails with a requirement to put export
's into the .bashrc
. And, therefore, install-all.sh
also fails, stating that "$VITASDK is not set".
What am I doing wrong and how can I bypass this? Thank you in advance :)
@d3m3vilurr could you, please, help me resolve this issue 🙏
does it say anything when you put echo $VITASDK
into terminal?
Can you share some screenshots that'd help us understand the problem better and do check properly if you're in the zsh or bash shell?
@Pikachuxxxx @frytkisasmaczne Here's the whole process with echo $VITASDK
at the end:
My .zshrc
, just in case. You can see its echo
on the second row in Terminal above.
Not sure if it is at all relevant, but I've upgraded to macOS 10.15.4 now but everything's, pretty much, the same
P.S. @frytkisasmaczne French fires are, indeed, rather tasty ;)
I don't think this is an error, it's just a reminder to set the exports. To be sure that it installed correctly run vitasdk-update
or clone https://github.com/vitasdk/samples
and run
cmake . && make
in one of the sample project directories, let's say in cd hello_world
.
I think a 'process successful' message would be great.
@frytkisasmaczne Ok, 2 things:
cmake . && make
on "hello_world" worked as intended (I assume)
Neither ./install-all.sh
nor vitasdk-update
succeeded:
So something's definitely wrong
1.change the /usr/local/vitasdk dir's right to 775 2.change the dir's owner to current user 3.mkdir a "arm-vita-eabi" under /usr/local/vitasdk Next, "./install-all.sh" work for me
@Engylizium I had the exact same issue with all the workarounds so edited install-all.sh as follows and it worked fine
So I tried following the steps on MacOS Catalina 10.15.1(19B88)(Dev-beta). I did add the lines
export VITASDK=/usr/local/vitasdk export PATH=$VITASDK/bin:$PATH
at the end of .bashrc as prompted by the terminal and tried running the the following commands as shown in the screenshots and yet nothing seems to work. It still says I haven't set the path.