@cruelbob I tried
rm -i ~/.emscripten
./emscripten.sh
emcc
and I still got the same "no JSBackend" message, even after logging out and logging back in. Note that it says "Running sanity checks" every time the "no JSBackend" message appears. Probably emscripten.sh needs to be sourced by ~/.bash_profile or something, to make the environment variables persistent. Copying the config manually works, and it's easier.
Search Criteria
Package Details: emscripten-git 2:2.0.15.r31.g249815cf7-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/emscripten-git.git (read-only, click to copy) |
---|---|
Package Base: | emscripten-git |
Description: | LLVM-to-JavaScript compiler |
Upstream URL: | http://emscripten.org |
Licenses: | custom |
Conflicts: | binaryen, emscripten |
Provides: | emscripten |
Submitter: | None |
Maintainer: | kjkent |
Last Packager: | haawda |
Votes: | 28 |
Popularity: | 0.000000 |
First Submitted: | 2012-10-01 17:47 (UTC) |
Last Updated: | 2021-03-13 19:40 (UTC) |
Dependencies (13)
- acorn
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR)
- nodejs (nodejs-lts-fermiumAUR, nodejs-gitAUR, python-nodejs-wheelAUR, nodejs-lts-hydrogen, nodejs-lts-iron)
- python (python37AUR, python311AUR, python310AUR)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- ocaml-ctypes (make)
- gcc-go (gcc-go-snapshotAUR) (optional) – for using llvm-go, go may also work
- java-runtime (jre10AUR, jre12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, jdk8-armAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre11-jbr-xdgAUR, jre16-openjdkAUR, jre14-openjdkAUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, jre18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jre-openj9AUR, jdk11-graalvm-ee-binAUR, jre12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, zulu-15-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jre11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jre13-openjdkAUR, jre15-openjdkAUR, jdk21-graalvm-binAUR, jre17-jetbrainsAUR, jdk8-openj9-binAUR, jre-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jre21-jetbrains-gitAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jre19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jre21-jetbrainsAUR, jdk17-zulu-prime-binAUR, zing-21-binAUR, zing-8-binAUR, jdk23-graalvm-ee-binAUR, jdk-android-studioAUR, jre17AUR, jdk21-jetbrains-binAUR, java-openjdk-binAUR, jre21-zulu-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jre17-zulu-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jre8AUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-jre-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jdk17-openj9-binAUR, jre-jetbrainsAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, java-openjdk-ea-binAUR, zulu-23-binAUR, jreAUR, jdkAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre11-openjdk, jre17-openjdk, jre21-openjdk, jre8-openjdk) (optional) – for using clojure
- ruby (optional) – for running some scripts
Required by (9)
- dwrandomizer (requires emscripten) (make)
- halide (requires emscripten) (optional)
- koka-bin (requires emscripten) (optional)
- libsignal-protocol-javascript (requires emscripten) (make)
- libsignal-protocol-javascript-git (requires emscripten) (make)
- occt-webgl-viewer (requires emscripten) (make)
- tidal2d (requires emscripten) (optional)
- tutanota-desktop (requires emscripten) (make)
- webjcs-git (requires emscripten) (optional)
Sources (5)
EscapedNull commented on 2014-03-20 12:41 (UTC)
cruelbob commented on 2014-03-20 04:49 (UTC)
@Svenstaro
@EscapedNull
To everyone. emscripten.sh includes:
export EM_CONFIG="/usr/lib/emscripten/emscripten.config"
On first run(in stall script) emscripten does sanity checks and creates sanity config files.
So you should restart or relogin to your computer. After that emscripten works properly. Dont copy config file to your home directory. I will add this msg to install script.
svenstaro commented on 2014-03-20 02:33 (UTC)
Also, really really don't do thing with the current user, please. That includes running a script that will generate something for the current user. This only works once. Please don't do that. Write a message there instead, informing the user.
svenstaro commented on 2014-03-20 02:31 (UTC)
@cruelbob: The issue is illustrated right here by EscapedNull.
EscapedNull commented on 2014-03-20 02:31 (UTC)
@Svenstaro That worked! Thanks! For the next person who runs into this:
cp -i emscripten.config ~/.emscripten
@cruelbob Mad props on upgrading to fastcomp. I guess this means no more compile-time coffee breaks :)
svenstaro commented on 2014-03-20 02:15 (UTC)
You are seeing my issue probably. Manually copy proper config file in place.
EscapedNull commented on 2014-03-20 01:48 (UTC)
When I run emcc/em++ I get:
CRITICAL root: fastcomp in use, but LLVM has not been built with the JavaScript backend as a target, llc reports [...]
Has anyone else run into this?
cruelbob commented on 2014-03-19 06:26 (UTC)
Svenstaro, What is wrong in install script for you?
svenstaro commented on 2014-03-18 02:02 (UTC)
The install script didn't work reliably for me. I had to copy the config by hand to make it work. When I ran emcc, it told me that it was actually running for the first time. Anyway, it works quite well, so thanks for the PKGBUILD.
Pinned Comments
kjkent commented on 2024-06-29 13:04 (UTC)
I found this PKGBUILD orphaned, without any commits in the last few years. I've just adopted it and will get to updating it ASAP, though it might be sometime in the next week.