Corsaair / redtamarin

AS3 running on the command line / server side
http://redtamarin.com
Other
117 stars 23 forks source link

Linux .zip binary corrupted? #125

Open JPeMu opened 6 years ago

JPeMu commented 6 years ago

Tried downloading the linux sdk package from http://download.redtamarin.com/ (redtamarin-sdk-linux.zip) and it seems like the file may be truncated?

File size seems wrong too - 32Mo OSX zip vs ~6Mo Linux zip - can't unpack using unzip or 7z.

zwetan commented 6 years ago

http://download.redtamarin.com/ does not have the latest binaries

please download files from the release directory https://github.com/Corsaair/redtamarin/releases

for Linux that would be https://github.com/Corsaair/redtamarin/releases/download/0.4.1/redtamarin-sdk_0.4.1-1_i386.deb or https://github.com/Corsaair/redtamarin/releases/download/0.4.1/redtamarin-sdk_0.4.1-1_amd64.deb

if you need/prefer a .rpm or .tar.gz you can use alien to convert the .deb package

eg. $ alien --to-tgz redtamarin-sdk_0.4.1-1_amd64.deb

If you absolutely need an older release they are detailled here https://github.com/Corsaair/redtamarin/wiki/RedtamarinReleases and I can make it available later

the file size difference you noticed must me because I forgot to strip the binaries

JPeMu commented 6 years ago

That's fantastic, thanks Zwetan. deb file installed just fine and seems to be working great! Much appreciated :)

zwetan commented 6 years ago

good :) also look at as3shebang it reuses the redshell for shell scripts

JPeMu commented 6 years ago

Very nice :) I'm using RT in a build script to generate class docs for Brightscript (the scripting language for Roku) using a proprietary processor written in AS3. Very simple and efficient - but I might consider using as3shebang instead! Flash may be almost dead - but AS3 still a great language! On a side-note, I did try building the SDK myself, but I think I need to try harder to make it work using the latest GCC!!

zwetan commented 6 years ago

the workflow in redtamarin allow to go from shell script, to redshell executing a bytecode, to a projector (redshell+bytecode embedded into an exe) so it really depends on how you want to make the thing complex or not

to build the SDK under Linux you need to pay attention to gcc version it needs gcc v4.*.*/gcc v4.8.* see Linux Ubuntu Setup / gcc

if you absolutely want to support the latest GCC, it's possible look into src/configure.py but you will have to "debug" which compiler flags need to be supported and it could lead to have to edit C++ sources too, so it's not really recommended