Hi Amit!

On Thursday, September 30, 2021 at 10:03:29 PM UTC+3 [email protected] 
wrote:

> Hi Shlomi - 
> Apologies for not replying sooner.
>
> Can you please provide some instructions on how to compile from sources 
> for 1.40.0 for M1 ARM based machines. 
> Much Appreciated.
>
>
See https://emscripten.org/docs/building_from_source/index.html

Regards,
 

> The place where my command fails is after I run 
>
> *./emsdk install sdk-1.40.0-64bit*
>
> Error: Downloading URL '
> https://storage.googleapis.com/webassembly/emscripten-releases-builds/mac/edf24e7233e0def312a08cc8dcec63a461155da1/wasm-binaries-arm64.tbz2':
>  
> HTTP Error 404: Not Found
>
> It seems it is looking for some existing binaries. 
>
>
>
> Thank you
> Amit
>
>
>
> On Thursday, September 30, 2021 at 6:46:08 AM UTC-4 [email protected] 
> wrote:
>
>> Amit, ping! Any news?
>>
>> On Monday, September 27, 2021 at 8:19:14 AM UTC+3 Shlomi Fish wrote:
>>
>>> Hi Amit! 
>>>
>>> On Sun, 26 Sep 2021 20:14:10 -0700 (PDT) 
>>> Amit Sharma <[email protected]> wrote: 
>>>
>>> > Hi there - 
>>> > Trying to install an older version of the sdk on a M1 ARM Mac. 
>>> > 
>>> > ./emsdk install sdk-1.40.0-64bit 
>>> > The installation fails here: 
>>> > 
>>> > Installing tool 
>>> > 'releases-upstream-edf24e7233e0def312a08cc8dcec63a461155da1-64bit'.. 
>>> > 
>>> > *Error: Downloading URL 
>>> > '
>>> https://storage.googleapis.com/webassembly/emscripten-releases-builds/mac/edf24e7233e0def312a08cc8dcec63a461155da1/wasm-binaries-arm64.tbz2':
>>>  
>>>
>>> > HTTP Error 404: Not Found* 
>>> > 
>>> > error: installation failed! 
>>> > 
>>>
>>> my guess is that emsdk-v1.40.0 is too old to have been packaged for 
>>> m1-arm64-mac. 
>>>
>>> For the record, that command runs fine on debian-bookworm-x86-64: 
>>>
>>> ``` 
>>> [shlomif@telaviv ~]$ -t fcs 
>>> shlomif[fcs]:$trunk/fc-solve/source$ . 
>>> ~/bin/Dev-Path-Configs-Source-Me.bash 
>>> Adding directories to PATH: 
>>> PATH += /home/shlomif/Download/unpack/prog/llvm-to-js/emsdk 
>>> PATH += 
>>> /home/shlomif/Download/unpack/prog/llvm-to-js/emsdk/upstream/emscripten 
>>> PATH += 
>>> /home/shlomif/Download/unpack/prog/llvm-to-js/emsdk/node/14.15.5_64bit/bin 
>>>
>>>
>>> Setting environment variables: 
>>> PATH = 
>>> /home/shlomif/Download/unpack/prog/llvm-to-js/emsdk:/home/shlomif/Download/unpack/prog/llvm-to-js/emsdk/upstream/emscripten:/home/shlomif/Download/unpack/prog/llvm-to-js/emsdk/node/14.15.5_64bit/bin:/home/shlomif/apps/valgrind/bin:/home/shlomif/apps/golang/bin:/home/shlomif/.local/bin:/home/shlomif/bin:/home/shlomif/apps/perl/modules/bin:/home/shlomif/apps/perl/modules/local/bin:/home/shlomif/apps/neovim/bin:/home/shlomif/apps/fop/fop-20140425:/home/shlomif/apps/vim/bin:/home/shlomif/.perl6/bin:/home/shlomif/.cargo/bin:/home/shlomif/apps/to-del-fortune/games:/home/shlomif/apps/to-del-fortune/bin:/home/shlomif/perl5/bin:/home/shlomif/apps/latemp/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/shlomif/progs/freecell/git/fc-solve/fc-solve/site/wml/node_modules/.bin:/home/shlomif/apps/test/bin:/home/shlomif/perl5/bin/
>>>  
>>>
>>> EMSDK = /home/shlomif/Download/unpack/prog/llvm-to-js/emsdk 
>>> EM_CONFIG = 
>>> /home/shlomif/Download/unpack/prog/llvm-to-js/emsdk/.emscripten 
>>> EMSDK_NODE = 
>>> /home/shlomif/Download/unpack/prog/llvm-to-js/emsdk/node/14.15.5_64bit/bin/node
>>>  
>>>
>>> shlomif[fcs]:$trunk/fc-solve/source$ emsdk install sdk-1.40.0-64bit 
>>> Resolving SDK version '1.40.0' to 
>>> 'sdk-releases-upstream-edf24e7233e0def312a08cc8dcec63a461155da1-64bit' 
>>> Installing SDK 
>>> 'sdk-releases-upstream-edf24e7233e0def312a08cc8dcec63a461155da1-64bit'.. 
>>> Skipped installing node-14.15.5-64bit, already installed. 
>>> Skipped installing 
>>> releases-upstream-edf24e7233e0def312a08cc8dcec63a461155da1-64bit, 
>>> already installed. 
>>> All SDK components already installed: 
>>> 'sdk-releases-upstream-edf24e7233e0def312a08cc8dcec63a461155da1-64bit'. 
>>> shlomif[fcs]:$trunk/fc-solve/source$ emsdk activate sdk-1.40.0-64bit 
>>> Resolving SDK version '1.40.0' to 
>>> 'sdk-releases-upstream-edf24e7233e0def312a08cc8dcec63a461155da1-64bit' 
>>> Setting the following tools as active: 
>>> node-14.15.5-64bit 
>>> releases-upstream-edf24e7233e0def312a08cc8dcec63a461155da1-64bit 
>>>
>>> Next steps: 
>>> - To conveniently access emsdk tools from the command line, 
>>> consider adding the following directories to your PATH: 
>>> /home/shlomif/Download/unpack/prog/llvm-to-js/emsdk 
>>> /home/shlomif/Download/unpack/prog/llvm-to-js/emsdk/node/14.15.5_64bit/bin 
>>>
>>> /home/shlomif/Download/unpack/prog/llvm-to-js/emsdk/upstream/emscripten 
>>> - This can be done for the current shell by running: 
>>> source 
>>> "/home/shlomif/Download/unpack/prog/llvm-to-js/emsdk/emsdk_env.sh" 
>>> - Configure emsdk in your shell startup scripts by running: 
>>> echo 'source 
>>> "/home/shlomif/Download/unpack/prog/llvm-to-js/emsdk/emsdk_env.sh"' >> 
>>> $HOME/.zprofile 
>>> shlomif[fcs]:$trunk/fc-solve/source$ 
>>>
>>> ``` 
>>>
>>> Can you try building v1.40.0 from its sources? 
>>>
>>> > 
>>> > Can you please help. 
>>> > 
>>> > thanks 
>>> > 
>>> > Am 
>>> > 
>>> > 
>>>
>>>
>>>
>>> -- 
>>>
>>> Shlomi Fish https://www.shlomifish.org/ 
>>> List of Text Processing Tools - https://shlom.in/text-proc 
>>>
>>> Beware of bugs in the above code; I have only proved it correct, not 
>>> tried it. 
>>> — https://en.wikiquote.org/wiki/Donald_Knuth 
>>>
>>> Please reply to list if it's a mailing list post - 
>>> https://shlom.in/reply . 
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/ae6235bb-f9ba-4b0c-82bc-74191e5b3400n%40googlegroups.com.

Reply via email to