-
Notifications
You must be signed in to change notification settings - Fork 859
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
Regular Linux binary doesn't run? #2188
Comments
@timcanham - It looks like to duplicate of #330 because...
It's not a regular file but a UPX compressed file. |
This is what I get:
|
@timcanham - Yes, I could not unpack it either. But it looks like a UPX paced file;
There is a "packed with the UPX executable packer" text in hexdump but...
Why does this happen? I don't know yet :(. Sorry. I think you could consult "packed with the UPX executable packer" text in hexdump but "not compressed by UPX" output in upx file info with https://github.com/upx/upx/issues . Or... You could run ccs_setup_linux64_7.1.0.00016.bin on real linux system, not on WSL, and then compress it again with tar on real linux system and decompress that with tar in WSL. I mean... follow number 1 and 2 of README_FIRST.txt file on real linux system and then number 4 and 5 on WSL. |
I actually tried installing the app on a regular Linux box. I tarred it up and copied it over, and I got similar errors. Very weird. I'm actually most interested in running the compilers it installs rather than the GUI itself. |
@timcanham - I guess you might see it with ccs_update_7.1.0.00016_linux64.bin; You look like to meet ccs_update_7.1.0.00016_linux64.bin after avoiding ccs_setup_linux64_7.1.0.00016.bin. It looks like ccs_setup_linux64_7.1.0.00016.bin is so-called self-extractable compressed file and that might extract files including /ccsv7/install_scripts/install_drivers.sh, and install_drivers.sh might execute ccs_update_7.1.0.00016_linux64.bin but ccs_update_7.1.0.00016_linux64.bin is also an upx compressed file. Hmm... WSL does not support upx compressed file yet. I can't imagine other workaround except modifying install_scripts after fully understanding it. |
I've verified that this binary is running with the fix for #330, marking as a duplicate. |
Your Windows build number:
Microsoft Windows [Version 10.0.15063]
WSL:
Linux TIM-ACER-LAPTOP 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux
What you're doing and what's happening: I am trying to run this installer:
http://software-dl.ti.com/ccs/esd/CCSv7/CCS_7_1_0/exports/CCS7.1.0.00016_linux-x64.tar.gz
<cmd>
is failing, then runstrace -o strace.txt -ff <cmd>
, and post the strace.txt output here)I'm wondering if I'm missing something basic about compatibility with regular Ubuntu.
The text was updated successfully, but these errors were encountered: