Skip to content
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

Please edit 'emperl_config.sh' to point it to the correct location of 'emsdk_env.sh' #17

Open
jezwhite opened this issue May 20, 2020 · 3 comments

Comments

@jezwhite
Copy link

Probably a school boy error on my part, but I get the error:

Please edit 'emperl_config.sh' to point it to the correct location of 'emsdk_env.sh'

However, I have set 'emperl_config.sh' to point it to the correct location. As I can manually run it, which gives the following output:

Setting environment variables:
EMSDK = /home/dev/emsdk
EM_CACHE = /home/dev/emsdk/upstream/emscripten/cache

It seems that the environment variable EMSCRIPTEN isn't being set?

I am new to emscripten, I followed the steps to create a basic example which worked so I assume my emscripten environment is set up correctly?

My environment:

Clean Ubuntu: Ubuntu 18.04.4 LTS
Perl: v5.26.1
webperl: Latest from git
emscripten: Latest.

@haukex
Copy link
Owner

haukex commented May 20, 2020

Hi, thanks for the report, I don't have time to look at this in detail right now, I will later, but for starters I would suggest trying with emscripten-1.38.31 and node-9.8.1, that's what I'm currently using. I know I'll need to look at updating to the latest Emscripten when I get the chance.

@jezwhite
Copy link
Author

Hi,

Thanks for the quick reply. I'll need to spend more time with Emscripten to get my head around things before I attempt to downgrade. Below is the environment when doing a clean install (if that helps).

~/emsdk/upstream/emscripten$ node -v
v12.9.1

~/emsdk/upstream/emscripten$ ./emcc -v
cache:INFO: generating system asset: is_vanilla.txt... (this will be cached in "/home/dev/emsdk/upstream/emscripten/cache/is_vanilla.txt" for subsequent builds)
cache:INFO: - ok
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 1.39.16
clang version 11.0.0 (/b/s/w/ir/cache/git/chromium.googlesource.com-external-github.com-llvm-llvm--project 3774bcf9f84520a8c35bf765d9a528040d68a14b)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/dev/emsdk/upstream/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.5.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.5.0
Candidate multilib: .;@m64
Selected multilib: .;@m64
shared:INFO: (Emscripten: Running sanity checks)

@Neimhin
Copy link

Neimhin commented Apr 3, 2022

I've encountered the same problem. EMSCRIPTEN is not being set. Can I set EMSCRIPTEN manually? What should it be set to?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants