> You can work around that by going back to emsdk.bat for the activate
step (since it doesn't need to download anything at that stage).

Ok, thanks, I can activate latest now and even compile! Linking was
initially a problem as em++ was having problems installing/building the
SDL2 'port' (and others) - I think I was getting the same original URL
errors and have posted them below if anyone's interested.

So I copied the 'new' Python27 dir into emsdk/python dir, renamed it to
whatever em++ was expecting, and it worked!

I can now build with emscripten again, but what a drama! I am trying to
write an 'easy to use' programming env and the emscripten target is
currently really out of bounds for most users - it's just too hard. I would
love to see a self-contained 'binary installer' exe that didn't have to go
online and didn't haven't any dependancies on anything, ie: something that
'just worked'.

That'll come eventually I guess, but in the meantime emscripten just seems
to get harder and harder to install. Besides this windows python problem,
macos users also have to apparently build emscripten from scratch due to os
versioning issues with 'ar' or something. Not complaining really, I realize
it's a big project and all, just letting off some steam!

// ***** Initial em++ link error - fixedg by blasting over emsdk/python
with python27:

Mx2cc version 1.1.10

***** Making app 'D:/dev/monkey2/bananas/toy-plane/plane.monkey2'
(emscripten debug llvm gcc) *****

Parsing...
Semanting...
Translating...
Compiling...
wopts=-s BINARYEN=1
Linking
D:/dev/monkey2/bananas/toy-plane/plane.products/Emscripten/Plane.js...
Build error: System command failed:

em++ -s USE_SDL=2 -s TOTAL_MEMORY=268435456 -s DISABLE_EXCEPTION_CATCHING=1
-O2 -s ASSERTIONS=2 --preload-file
"D:/dev/monkey2/bananas/toy-plane/plane.buildv1.1.10/emscripten_debug/assets/@/assets"
-s BINARYEN=1 -o
"D:/dev/monkey2/bananas/toy-plane/plane.products/Emscripten/Plane.js"
@tmp/lnkFiles1.txt

INFO:root:generating system asset: is_vanilla.txt... (this will be cached
in "C:\Users\The Razorback\.emscripten_cache\is_vanilla.txt" for subsequent
builds)

INFO:root: - ok

INFO:root:(Emscripten: Running sanity checks)

WARNING:root:retrieving port: sdl2 from
https://github.com/emscripten-ports/SDL2/archive/version_13.zip

ERROR:root:a problem occurred when using an emscripten-ports library. try
to run    emcc --clear-ports    and then run this command again

Traceback (most recent call last):

  File "D:\devtools\emsdk-portable-64bit\emscripten\1.37.35\\em++", line
15, in <module>

    python_selector.run(emcc, profile=True)

  File
"D:\devtools\emsdk-portable-64bit\emscripten\1.37.35\tools\python_selector.py",
line 43, in run

    sys.exit(run_by_import(filename, main) if on_allowed_version() else
run_by_subprocess(filename))

  File
"D:\devtools\emsdk-portable-64bit\emscripten\1.37.35\tools\python_selector.py",
line 13, in run_by_import

    return getattr(importlib.import_module(os.path.basename(filename)),
main)()

  File "D:\devtools\emsdk-portable-64bit\emscripten\1.37.35\emcc.py", line
1483, in run

    extra_files_to_link = system_libs.get_ports(shared.Settings)

  File
"D:\devtools\emsdk-portable-64bit\emscripten\1.37.35\tools\system_libs.py",
line 749, in get_ports

    ret += [f for f in port.get(Ports, settings, shared) if not
f.endswith('.txt')]

  File
"D:\devtools\emsdk-portable-64bit\emscripten\1.37.35\tools\ports\sdl.py",
line 26, in get

    ports.fetch_project('sdl2', '
https://github.com/emscripten-ports/SDL2/archive/' + TAG + '.zip', 'SDL2-'
+ TAG)

  File
"D:\devtools\emsdk-portable-64bit\emscripten\1.37.35\tools\system_libs.py",
line 676, in fetch_project

    retrieve()

  File
"D:\devtools\emsdk-portable-64bit\emscripten\1.37.35\tools\system_libs.py",
line 639, in retrieve

    f = urlopen(url)

  File
"D:\devtools\emsdk-portable-64bit\python\2.7.5.3_64bit\lib\urllib2.py",
line 127, in urlopen

    return _opener.open(url, data, timeout)

  File
"D:\devtools\emsdk-portable-64bit\python\2.7.5.3_64bit\lib\urllib2.py",
line 404, in open

    response = self._open(req, data)

  File
"D:\devtools\emsdk-portable-64bit\python\2.7.5.3_64bit\lib\urllib2.py",
line 422, in _open

    '_open', req)

  File
"D:\devtools\emsdk-portable-64bit\python\2.7.5.3_64bit\lib\urllib2.py",
line 382, in _call_chain

    result = func(*args)

  File
"D:\devtools\emsdk-portable-64bit\python\2.7.5.3_64bit\lib\urllib2.py",
line 1222, in https_open

    return self.do_open(httplib.HTTPSConnection, req)

  File
"D:\devtools\emsdk-portable-64bit\python\2.7.5.3_64bit\lib\urllib2.py",
line 1184, in do_open

    raise URLError(err)

urllib2.URLError: <urlopen error [Errno 1] _ssl.c:504: error:1407742E:SSL
routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version>

-- 
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 emscripten-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to