on 11-24-2020 10:02 PM
Hello,
Hello, I am trying to follow Denys' blog, however with Big Sur (OS X 11.1), you do not get the option of even running an exe file from an unidentified developer. I am stuck at not getting "allow anyway" ./SAPCAR_1324-70002712.EXE [img id="
https://blogs.sap.com/2020/03/18/sap-hana-sapcar-and-macos/I was wondering if anyone has managed to install SAPCAR with Big Sur (OS X 11.0),
Hi Manish,
You only need to remove the “Windows” extension and make the file executable.
mv SAPCAR_1324-70002712.EXE sapcar
chmod u+x sapcar
./sapcar
# to put the utility in the path use copy or move (cp / mv)
cp sapcar /usr/local/bin/
Make sure to download the version for macOS 64-bit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Denys,
Thanks for your reply. However I am still stuck at the same point. When I issue the ./sapcar command below, all it does it give the usage of sapcar and it's patch information etc. I still went ahead and issued the other commands after === below and it still does not recognize SAPCAR command.I did download the Mac osx 64-bit. As I said I am on OS X 11.1 beta.
regards,
Manish
---------
hana % mv SAPCAR.EXE sapcar
hana % chmod u+x sapcar
hana % ./sapcar
usage:
===
sudo mv sapcar /usr/local/SAPCAR
hana % sudo chmod 755 /usr/local/SAPCAR
sudo chgrp admin /usr/local/SAPCAR
sudo xattr -d com.apple.quarantine /usr/local/SAPCAR
xattr: /usr/local/SAPCAR: No such xattr: com.apple.quarantine
hana % SAPCAR -xvf IMC_STUDIO2_253_0-80000322.SAR
zsh: command not found: SAPCAR
all it does it give the usage of sapcar and it's patch information etc.
>> this indicates that you have successfully executed the executable.
zsh: command not found: SAPCAR
>> this indicates that the command is not in the PATH.
sudo mv sapcar /usr/local/SAPCAR
/usr/local is not a default path, so you either have to add this directory to the path (not recommended) or otherwise run the command with full path.
/usr/local/SAPCAR
Alternatively, why not copy the executable to a location that is in the default path?
sudo mv sapcar /usr/local/bin/SAPCAR
Hello Denys,
Thanks again for the detailed answer. Also sorry about basic questions bu there is no /usr/local/bin on my Mac, only a /usr/local or /usr/bin.
Manish
No problem. With command
echo $PATH
you can see what's in the path. Any directory will do but /usr/bin sounds like a good candidate (or you can create /usr/local/bin and add it to the PATH but this requires a bit more work)
For some backgrounds about the file system (macOS Darwin = UNIX), see
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.