#12916์ ์์ฑ์ ๋น์ถ์ด ๋ณผ ๋ ๊ธฐ์ฌ์์๊ฒ Servo์ฉ Windows ํ๊ฒฝ์ ์ค์ ํ๋ ๋ฐฉ๋ฒ์ ์๋ ค์ฃผ๋ ๊ฒ์ด ์ค์ํฉ๋๋ค.
์์ ํ ํ์ผ: ๋ฌธ์๊ฐ ์๋ ๋ชจ๋ ๊ฒ(์: README.md)
cc @larsbergstrom
๊ฐ์ฌ ํด์! ๋๋ ์ง๊ธ ์ด๊ฒ์ ์๋ํ๊ณ ์์ผ๋ฉฐ ์ฌ๊ธฐ์ ๋ด๊ฐ ๋ช ๊ฐ์ง ์ด๊ธฐ ๋จ๊ณ๋ฅผ ์ํด ์ป์ ๊ฒ์ด ์์ต๋๋ค. ์ง๊ธ๊น์ง ํ๋์ ๊นจ๋ํ์ง ์์ ๊ฐ์ ๋จธ์ ์์๋ง ์๋ํ์ง๋ง...
pip install virtualenv
์ด๊ฒ์ด ์๋ํ์ง ์์ผ๋ฉด ๋ณ๊ฒฝ๋ PATH ์ค์ ์ ์ ์ฉํ๋ ค๋ฉด ์ฌ๋ถํ ํด์ผ ํ ์ ์์ต๋๋ค.
git clone https://github.com/servo/servo
cd servo
mach.bat build -d
์ง๊ธ ์๋ํ๊ณ ์์ง๋ง mozjs_sys
์ปดํ์ผ์ ์คํจํฉ๋๋ค.
error: failed to run custom build command for `mozjs_sys v0.0.0 (https://github.com/servo/mozjs#7cd66925)`
process didn't exit successfully: `D:\Code\servo\target\release\build\mozjs_sys-661d4efe7c7ca939\build-script-build` (ex
it code: 101)
--- stderr
makefile.cargo:98: *** recipe commences before first target. Stop.
thread 'main' panicked at 'assertion failed: result.success()', D:\Code\servo\.cargo\git\checkouts\mozjs-fa11ffc7d4f1cc2
d\master\build.rs:43
stack backtrace:
0: 0x7ff7538547ea - std::rand::thread_rng::hf605c918a7eb7363
1: 0x7ff753852f82 - std::rt::lang_start::haaae1186de9de8cb
2: 0x7ff75385392d - std::panicking::rust_panic_with_hook::hb1322e5f2588b4db
3: 0x7ff753841be3 - __ImageBase
4: 0x7ff7538439c0 - __ImageBase
5: 0x7ff7538572e1 - _rust_maybe_catch_panic
6: 0x7ff7538529ba - std::rt::lang_start::haaae1186de9de8cb
7: 0x7ff75385bfa8 - __scrt_common_main_seh
at f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253
8: 0x7ffff0cf8363 - BaseThreadInitThunk
_ํธ์ง:_ ์ค์ํ ๊ฒฝ์ฐ์ ๋๋นํ์ฌ ๋ฆด๋ฆฌ์ค ๋น๋( mach.bat build -r
)๋ฅผ ์ํํ๊ณ ์๋ค๋ ์ฌ์ค์ ์์ด๋ฒ๋ ธ์ต๋๋ค.
_ํธ์ง 2:_ mach.bat build -d
์ ๋์ผํ ๊ฒฐ๊ณผ
๋ด PATH
python.exe
์๋ ๊ฒ๋ง์ผ๋ก๋ ์ถฉ๋ถํ์ง ์์ต๋๋ค. ๋ํ scripts
ํด๋๊ฐ ๋ด PATH
์๋์ง ํ์ธํด์ผ ํ์ต๋๋ค. pip๋ฅผ ์คํํ์ฌ virtualenv๋ฅผ ์ค์นํ๊ณ mach์์ virtualenv๋ฅผ ํ์ธํฉ๋๋ค.
๋ํ mach.ps
๊ฐ ์๋ค๋ ๊ฒ์ ์ค๋งํ์ต๋๋ค.
Python ์ค์น ํ๋ก๊ทธ๋จ์์ "๊ฒฝ๋ก์ ์ถ๊ฐ" ์ต์
์ ์ ํํ๋ฉด Python ์ค์น์ ๋ฃจํธ ๋๋ ํฐ๋ฆฌ์ scripts
๋๋ ํฐ๋ฆฌ๊ฐ ๋ชจ๋ ์ถ๊ฐ๋ฉ๋๋ค. ์ด๋ฌํ ๋ณ๊ฒฝ ์ฌํญ์ ์ ์ฉํ๋ ค๋ฉด Windows์์ ๋ก๊ทธ์คํํ๋ค๊ฐ ๋ค์ ๋ก๊ทธ์ธํด์ผ ํ์ต๋๋ค.
Finished debug [unoptimized + debuginfo] target(s) in 2395.9 secs
ํจ๊ณผ๊ฐ ์์๋ ๊ฒ ๊ฐ์์. ์ค์ ๋ก ๊ฒฐ๊ณผ๋ฅผ ์คํํ๋ ค๊ณ ํ๋ ์ค...
Servo exited with return value -1073741515
STATUS_DLL_NOT_FOUND
ํฉ๋๋ค. ๋๋ฝ ๋ dll์ freetype.dll
์
๋๋ค. ํ , ์ค์ ๋ก๋ freetype์ ๋ํ ๋น๋ ์คํฌ๋ฆฝํธ ์ฌ์ ์๋ฅผ ์ง์ ํ๋ .cargo/config
๋๋ฌธ์ผ ์ ์์ผ๋ฏ๋ก ์ค์ ๋ก ์ ์์ ์ผ๋ก ์๋ํ๊ณ ์๋ณด์ freetype๊ณผ ์ถฉ๋ํ ์ ์์ต๋๋ค.
์ข์, ๋ด .cargo/config
์ฃผ์ ์ฒ๋ฆฌํ ํ์ ์๋ณด๊ฐ ์ด์ ์ค์ ๋ก ์คํ๋๊ณ ์์ ํ ์ธ๋ชจ๊ฐ ์์ต๋๋ค. ํ์ด์ง๋ฅผ ๋ก๋ํ๋ฉด ์ ๋ชฉ์ด ํ์๋์ง๋ง ํ์ด์ง ์์ฒด๋ ์์ ํ ๋น์ด ์์ต๋๋ค.
๋ํ, ์๋ฌด ๊ฒ๋ ํ์ง ์๋ ๋์ 2๊ฐ์ CPU ์ฝ์ด๋ฅผ ๋จน๊ณ ์์ต๋๋ค.
์๋ณด๋ฅผ ๋ซ์ผ๋ฉด ํ๋ก์ธ์ค๊ฐ ๊ณ์ ์คํ๋๊ณ ๋ด CPU ์ฝ์ด _all_์ ๋จน๊ธฐ ์์ํฉ๋๋ค.
@retep998 URL์ ์ง์ ํด์ผ ํฉ๋๋ค.
@Coder206 cmd /c mach.bat run -d http://www.purple.com
. ์ถฉ๋ถํ์ง ์์ต๋๊น?
@retep998 ๊ทธ๋์ผ ํฉ๋๋ค. ๋๋ ์์ ๋ด ๊ฒ์ด ๋น์ ์ฒ๋ผ ์ถ๋ ฅํ๊ณ ์์ต๋๋ค. ์น๋ฆฌ 10์ฃผ๋ ?
@retep998 ๋๋ ์ด๊ฒ์ด gfx์ ๋๋ฏธ ๊ธ๊ผด ์ค์ ๋๋ฌธ์ด๋ผ๊ณ ์๊ฐํฉ๋๋ค.
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.10586 N/A Build 10586
OpenGL 4.5๋ฅผ ์๋ฒฝํ๊ฒ ์ง์ํ๋ ์ต์ ๋๋ผ์ด๋ฒ๊ฐ ํฌํจ๋ AMD Radeon R9 380.
@retep998 ๊ฐ์ฌํฉ๋๋ค. ์ด๊ฒ์ ์ผ๋ฐ์ ์ธ Windows ๋๋ ์๋ง๋ Windows 10 ๋ฌธ์ ์ธ ๊ฒ ๊ฐ์ต๋๋ค.
mosjs-sys
์์ makefile.cargo:98
๋ฅผ ๋ณด๊ณ ๋ผ์ธ์ ์ฐพ์์ต๋๋ค.
$(message You must either have the Native Win32 python installed in C:/python27, or set NATIVE_WIN32_PYTHON to point to the appropriate python.exe.)
๋ถํํ๋ ๋น๋ํ ๋ ํ์๋์ง ์๋ ๊ฒ์ stderr ๋์ stdout์ผ๋ก ๋๋๊ธฐ ๋๋ฌธ์ ํ๋ฌผ๋ก ์ ๋ฌ๋์ง ์์ต๋๋ค.
NATIVE_WIN32_PYTHON
์ ์ค์ ํ ๋ค์ ์ค์ ๋ก ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ์ต๋๋ค.
์ด์ ์๋ณด๋ฅผ ์คํํ๋ฉด ์ฌ๋ฐ๋ฅธ ์ ๋ชฉ์ด ์๋ ๋น ํฐ์ ์ฐฝ์ด ํ์๋์ง๋ง ๋ค๋ฅธ ๊ฒ์ ํ์๋์ง ์๋ ์ง์ ์ ์์ต๋๋ค. Windows 10 Home์ ์คํํ๊ณ ์์ต๋๋ค.
๋ชจ๋ ๊ณ ๋ง์์! ์ง์นจ์ด ์ฌ๋ฐ๋ฅธ ๊ฒ์ฒ๋ผ ๋ณด์ ๋๋ค( @Boddlnagg ์ ๋ฌธ์ ์ ๋ํ ์์ ์ด ํ์ํ์ง๋ง ์ ์ฌ์ ์ผ๋ก).
์ฆ, @retep998 ๋ฐ @Coder206 ์ด ์์์ฐจ๋ฆฌ๊ณ ํ์ธํ ์
@larsbergstrom ๋ด VM์ ์ ์ฅ ๊ณต๊ฐ์ ๋ฌธ์ ๊ฐ ์์๋ ๊ฒ
๋์คํฌ ๊ณต๊ฐ๊ณผ ๊ด๋ จํ์ฌ ... ํ
์คํธ ๋ฐ ๋ฆด๋ฆฌ์ค ๋น๋๊ฐ์๊ณ ํ๋ฌผ ์บ์์์ ์ฐจ์งํ๋ ๊ณต๊ฐ์ ๊ณ์ฐํ์ง ์๋ ๊ฐ๋จํ ๊ฐ๋ฐ ๋น๋์ ๊ฒฝ์ฐ ...
๋ฐ๋ผ์ _์ ์ด๋_ 10GB์ ์ฌ์ ๊ณต๊ฐ์ด ํ์ํฉ๋๋ค.
@retep998 ์ด๋ ๊ฒ
๋ค, "๋์คํฌ ๊ณต๊ฐ ๋ถ์กฑ ๊ฒฝ๊ณ "(๋ณ๋์ ๋ฌธ์ ๋ก)๊ฐ ๊ฐ์น๊ฐ ์์ ์ ์๋ค๊ณ ์๊ฐํฉ๋๋ค. ํ์ฌ ๊ณต๊ฐ์ด ๋ถ์กฑํ๋ฉด ์คํฌ๋ฆฝํธ ๋น๋๊ฐ ๋ถํฌ๋ช ํ๊ณ ๋ณต๊ตฌํ๊ธฐ๊ฐ ์ฝ์ง ์์ ๋ฐฉ์์ผ๋ก ์คํจํฉ๋๋ค. ์ผ๋ฐ์ ์ผ๋ก ํด๋ฆฐ ๋น๋๋ฅผ ์ํํด์ผ ํฉ๋๋ค.
@larsbergstrom ๊นจ๋ํ Windows 10 ์์คํ ์์ ์ฑ๊ณต
Visual Studio๊ฐ ํ์ํ์ง ์์ต๋๋ค.
์ฌ๊ธฐ์์ ๋
๋ฆฝ ์คํํ์ผ๋ก Visual C++๋ฅผ ์ป์ ์ ์์ต๋๋ค.
http://landinghub.visualstudio.com/visual-cpp-build-tools
๊ธฐ๋ณธ ์ค์น ์ต์
์ฌ์ฉ
@Jayflux ๋๋ ๊ทธ๊ฒ์ด ํจ์ฌ ๋ ์ข์, ๋ง์ ๊ณต๊ฐ์ ์ ์ฝํฉ๋๋ค.
๋๋ฅผ ์ํด ์คํจํ ๋น๋
https://pastebin.mozilla.org/8909561
OS Name Microsoft Windows 10 Pro
Version 10.0.10586 Build 10586
<vlad> Jayflux: you want https://github.com/vvuk/mozjs/commit/f9b707cbeb6ad653b8afb8e457b0b2d609ec66ef
Vlad์ ํฌํฌ๋ฅผ ์ฌ์ฉํ ๋ ๋๋ ์ด๊ฒ์ ์ป์ต๋๋ค.
https://pastebin.mozilla.org/8909575
cmd์์ ํ ์คํธ
Compiling miniz-sys v0.1.7
Compiling unreachable v0.1.1
Compiling ordered-float v0.2.3
Compiling quickersort v2.1.0
Compiling openssl v0.7.14
Build failed, waiting for other jobs to finish...
error: failed to run custom build command for `mozjs_sys v0.0.0 (https://github.com/servo/mozjs#87c47526)`
process didn't exit successfully: `C:\Users\Jason\workspace\servo\target\debug\build\mozjs_sys-661d4efe7c7ca939\build-script-build` (exit code: 101)
--- stdout
[[ /c/Users/Jason/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/configure -ot /c/Users/Jason/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/configure.in ]] && touch /c/Users/Jason/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/configure || true
[[ /c/Users/Jason/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/old-configure -ot /c/Users/Jason/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/old-configure.in ]] && touch /c/Users/Jason/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/old-configure || true
! [[ /c/Users/Jason/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/configure.in -ot /c/Users/Jason/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/configure ]] && touch /c/Users/Jason/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/configure || true
! [[ /c/Users/Jason/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/old-configure.in -ot /c/Users/Jason/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/old-configure ]] && touch /c/Users/Jason/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/old-configure || true
if [[ /c/Users/Jason/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/configure -nt C:\Users\Jason\workspace\servo\target\debug\build\mozjs_sys-661d4efe7c7ca939\out/config.status ]] ; then \
cd C:\Users\Jason\workspace\servo\target\debug\build\mozjs_sys-661d4efe7c7ca939\out && \
PYTHON="python" MOZ_TOOLS="" \
CC="gcc" CPP="gcc -E" CXX="g++" AR="ar" \
/c/Users/Jason/workspace/servo/.cargo/git/checkouts/mozjs-fa11ffc7d4f1cc2d/master/mozjs/js/src/configure --disable-jemalloc --disable-js-shell --disable-tests --without-intl-api --build-backends=RecursiveMake --disable-shared-js || (cat config.log && exit 1) ; \
fi
makefile.cargo:120: recipe for target 'maybe-configure' failed
--- stderr
C:/Users/Jason/AppData/Local/Temp/make7000-5.sh: line 2: cd: C:UsersJasonworkspaceservotargetdebugbuildmozjs_sys-661d4efe7c7ca939out: No such file or directory
cat: config.log: No such file or directory
mozmake: *** [maybe-configure] Error 1
thread 'main' panicked at 'assertion failed: result.success()', C:\Users\Jason\workspace\servo\.cargo\git\checkouts\mozjs-fa11ffc7d4f1cc2d\master\build.rs:43
note: Run with `RUST_BACKTRACE=1` for a backtrace.
Build FAILED in 0:05:56
set PATH
ํ๊ณ ๊ฒฐ๊ณผ๋ฅผ ์ฌ๊ธฐ์ ๋ถ์ฌ๋ฃ์ ์ ์์ต๋๊น? PATH
์ฒซ ๋ฒ์งธ ๋ ์ฌ์
ํ ํ์ด์ฌ์ด ์๋์ง ๊ฑฑ์ ๋ฉ๋๋ค. ๋ด ๋ชจ์ต์ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.
C:\Users\larsberg>set PATH
Path=C:\Python27\;C:\Python27\Scripts;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\system32\config\systemprofile\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Git\cmd;C:\Program Files (x86)\WiX Toolset v3.10\bin
C:\Users\Jason\workspace\servo>set PATH
Path=C:\Program Files (x86)\MSBuild\14.0\bin\amd64;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Windows\Microsoft.NET\Framework64\;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\x86;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\;C:\Python27\;C:\Python27\Scripts;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\nodejs\;C:\ProgramData\chocolatey\bin;C:\Program Files\Oracle\VirtualBox;C:\Program Files\Sublime Text 3;C:\Program Files (x86)\Skype\Phone\;C:\HashiCorp\Vagrant\bin;C:\Program Files\Git\cmd;C:\Users\Jason\AppData\Roaming\npm;C:\Program Files (x86)\Nmap
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
NATIVE_WIN32_PYTHON
์ด(๊ฐ) ํจ๊ณผ๊ฐ ์์์ต๋๋ค.
์ง์นจ์ ์ ์๊ฒ๋ ํจ๊ณผ์ ์ด์์ต๋๋ค.
@Coder206 ์น์ฌ์ดํธ์ ๋ด์ฉ์ด ์๋ ํฐ์ ํ๋ฉด์ด ๋ณด์ด๋ ๋ฌธ์ ์ ๋ํ ๋ฏธํด๊ฒฐ ๋ฌธ์ ๊ฐ ์์ต๋๊น? Intel HD Graphics 4000์ ์ฌ์ฉํ๋ Windows 10 Educational(๋ฒ์ 10.0.10586)์์ ๋์ผํ ๋ฌธ์ ๊ฐ ๋ฐ์ํฉ๋๋ค.
@aochagavia ์๋์ ๋ฌธ์ ๊ฐ ์์ต๋๋ค.
์๋ก ๋ง๋ค์ด์ผ ํ๋์?
๋๋ ๊ทธ๊ฒ์ด ์ข์ ์๊ฐ์ด๋ผ๊ณ ์๊ฐํฉ๋๋ค. @aochagavia๋ฅผ ํด์ฃผ์ ์ ๊ฐ์ฌํฉ๋๋ค!
mozjs makefile.cargo์๋ ๋ค์๊ณผ ๊ฐ์ ์ค์ด ์์ต๋๋ค. SRC_DIR = $(shell pwd)
๋น์ ์ ์ํด pwd๊ฐ c:.......๋ฅผ ์ ๊ณตํ๋์ง, ๊ทธ๋ฆฌ๊ณ ์ ๋ฅผ ์ํด c:/....๋ฅผ ์ ๊ณตํ๋์ง ๊ถ๊ธํฉ๋๋ค.
๋๋ฅผ ์ํด %MOZTOOLS_PATH%\pwd
๋ /c/proj/r
. ๊ทธ๋ฌ๋ ๊ทธ๊ฒ์ ๋ก์ปฌ MOZTOOLS_PATH์ ํจ๊ป์
๋๋ค. $PATH/$MOZTOOLS_PATH๋ฅผ ์ค์ ํ๊ธฐ ์ํด mach๊ฐ ๋ฌด์์ ํ๋์ง์ ์ด๋ค pwd๋ฅผ ์ฐพ์๋์ง ํ์ธํด์ผ ํฉ๋๋ค.
@vlad ๋์๊ฒ ์ด๋ค pwd๊ฐ ์ ๊ณต๋๋์ง ์์๋ด๋ ๋จ๊ณ๊ฐ ์์ต๋๊น?
์ด ๋ช
๋ น์ ์ฝ์์์ ์คํ๋์ง ์์ต๋๋ค.
moztools ๊ฒฝ๋ก ํ๊ฒฝ ๋ณ์๋ฅผ ์ค์ ํด์ผ ํฉ๋๊น?
@vvuk ๋ ๊ฒฐ๊ณผ์
๋๋ค(VM์ด ์๋ ๋ด ํธ์คํธ ์ปดํจํฐ).
cmder:
C:\Users\Jason\workspace\servo (master)
ฮป .servo\msvc-dependencies\moztools\bin\pwd.exe
/c/Users/Jason/workspace/servo
๋ช ๋ น
C:\Users\Jason\workspace\servo>.servo\msvc-dependencies\moztools\bin\pwd.exe
/c/Users/Jason/workspace/servo
C:\Users\Jason\workspace\servo>
๋ํ...
์ด๊ฒ์ด ๋์์ด ๋๋์ง ๋ชจ๋ฅด๊ฒ ์ง๋ง ์ฌ๊ธฐ์ python์ ๋ํ ๊ฒฝ๋ก๋ฅผ ์ถ๊ฐํ ๊ฒ์ผ๋ก ๋ํ๋ฌ์ต๋๋ค.
https://github.com/servo/mozjs/commit/7ba7cfa262dd6864d581855bad47c28d4ad97970#diff -9080a05d9a2f1078a5790475b50fdb37L96
๊ทธ๋ฌ๋ ๋ด ํ์ด์ฌ ์ค์น๋ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.
C:\Python27
๋๋ฌธ์ P ํฌํจ)
๋ฉ์ดํฌํ์ผ์ ๋ณด๋ฉด. mosjs-sys์์ ํ๋ฌผ:98 ์ค์ ์ฐพ์์ต๋๋ค.
$(message C:/python27์ ๊ธฐ๋ณธ Win32 python์ด ์ค์น๋์ด ์๊ฑฐ๋ ์ ์ ํ python.exe๋ฅผ ๊ฐ๋ฆฌํค๋๋ก NATIVE_WIN32_PYTHON์ ์ค์ ํด์ผ ํฉ๋๋ค.)
๋ถํํ๋ ๋น๋ํ ๋ ํ์๋์ง ์๋ ๊ฒ์ stderr ๋์ stdout์ผ๋ก ๋๋๊ธฐ ๋๋ฌธ์ ํ๋ฌผ๋ก ์ ๋ฌ๋์ง ์์ต๋๋ค.NATIVE_WIN32_PYTHON์ ์ค์ ํ ๋ค์ ์ค์ ๋ก ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ์ต๋๋ค.
์ด์ ์๋ณด๋ฅผ ์คํํ๋ฉด ์ฌ๋ฐ๋ฅธ ์ ๋ชฉ์ด ์๋ ๋น ํฐ์ ์ฐฝ์ด ํ์๋์ง๋ง ๋ค๋ฅธ ๊ฒ์ ํ์๋์ง ์๋ ์ง์ ์ ์์ต๋๋ค. Windows 10 Home์ ์คํํ๊ณ ์์ต๋๋ค.
@Boddlnagg ๋๋ ๊ฐ์ ์ผ์ํ์ง๋ง ์ฌ์ ํ ๋๋ฅผ ์ํด
c:\python27์ ํ๋์ฝ๋ฉ๋ ๊ฒ์ฒ๋ผ ๋ณด์ด์ง๋ง ์ค์น ์ ๋๋ฌธ์ P๋ก(๋๋ ์ ์ด๋ ์ ์๊ฒ๋ ๊ทธ๋ฌ์ต๋๋ค) ์ผ๋ถ์์๋ ์คํจํฉ๋๋ค.
@Jayflux python.exe
ํฌํจ๋ ๊ฒฝ๋ก๋ก ์ค์ ํ์ต๋๊น ์๋๋ฉด ์ค์ ๋ก python.exe
์์ฒด๋ฅผ ๊ฐ๋ฆฌํค๋๋ก ์ค์ ํ์ต๋๊น? ํ์์ฌ์ผ ํฉ๋๋ค.
๊ทธ๋ฆฌ๊ณ (a) ์ด๊ฒ์ด ๊ธฐ๋ณธ๊ฐ์ด๊ณ (b) ํ์ผ ์ด๋ฆ์ Windows์์ ๋์๋ฌธ์๋ฅผ ๊ตฌ๋ถํ์ง ์์์ผ ํ๊ธฐ ๋๋ฌธ์ ์ฌ๊ธฐ์ ๋๋ฌธ์ P๊ฐ ์ค์ํ ์ด์ ๋ฅผ ๋ชจ๋ฅด๊ฒ ์ต๋๋ค...
@Boddlnagg python.exe ์์ฒด๋ฅผ ์ง์ ๊ฐ๋ฆฌ
Ok ๋์๋ฌธ์ ๊ตฌ๋ถ์ ๋ํด ์ ๋ชฐ๋์ต๋๋ค.
๋ฐ๋ผ์ https://github.com/servo/servo/issues/13272 ๊ฐ ๋ฌธ์ ๋ผ๋ฉด.. Visual C++ ๋น๋ ๋๊ตฌ๋ ์ ์ฒด Visual Studio ๋น๋์ ๋ค๋ฅธ ๊ฒฐ๊ณผ๋ฅผ ์ ๊ณตํฉ๋๋ค.
์ด ์์ ์ ๋ค์ ์๋ํ๊ณ Visual C++ ๋น๋ ๋๊ตฌ๋ฅผ ์ ๊ฑฐํ๊ณ ๋์ Visual Studio ์ ์ฒด ์ค์น๋ฅผ ์ฌ์ฉํ์ฌ ๊ด๋ จ์ด ์๋์ง ํ์ธํฉ๋๋ค.
@larsbergstrom @vvuk
๋ฌธ์ ๋ Visual Studio๋ฅผ ์ค์นํ๋ ๋์ http://landinghub.visualstudio.com/visual-cpp-build-tools ๋ฅผ ์ฌ์ฉํ๋ ๊ฒ์ด์์ต๋๋ค.
์ด์ ๋ค๋ฅธ ์ฌ๋๋ค์ฒ๋ผ ํฐ์ ํ๋ฉด์ด ๋ํ๋ฉ๋๋ค.
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
๊ฐ์ฌ ํด์! ๋๋ ์ง๊ธ ์ด๊ฒ์ ์๋ํ๊ณ ์์ผ๋ฉฐ ์ฌ๊ธฐ์ ๋ด๊ฐ ๋ช ๊ฐ์ง ์ด๊ธฐ ๋จ๊ณ๋ฅผ ์ํด ์ป์ ๊ฒ์ด ์์ต๋๋ค. ์ง๊ธ๊น์ง ํ๋์ ๊นจ๋ํ์ง ์์ ๊ฐ์ ๋จธ์ ์์๋ง ์๋ํ์ง๋ง...
Windows MSVC ์ฌ์ ์ค์
git.exe๋ฅผ PATH์ ์ถ๊ฐํ๋๋ก ํ์ฉํ์ญ์์ค(์ค์น ํ๋ก๊ทธ๋จ์ ๊ธฐ๋ณธ ์ค์ ์ ๊ด์ฐฎ์).
์ค์น๋ ๊ตฌ์ฑ ์์ ๋ชฉ๋ก์ "Visual C++"๋ฅผ ์ถ๊ฐํด์ผ ํฉ๋๋ค. ๊ธฐ๋ณธ์ ์ผ๋ก ์ผ์ ธ ์์ง ์์ต๋๋ค.
Windows x86-64 MSI ์ค์น ํ๋ก๊ทธ๋จ์ ๊ด์ฐฎ์ต๋๋ค.
"๊ฒฝ๋ก์ python.exe ์ถ๊ฐ" ๊ธฐ๋ฅ์ ์ค์นํ๋ ค๋ฉด ์ค์น๋ฅผ ๋ณ๊ฒฝํด์ผ ํฉ๋๋ค.
์ผ๋ฐ Windows ์ ธ(cmd.exe ๋๋ ์์ ๋ฉ๋ด์ "๋ช ๋ น ํ๋กฌํํธ")์์ ๋ค์์ ์ํํฉ๋๋ค.
์ด๊ฒ์ด ์๋ํ์ง ์์ผ๋ฉด ๋ณ๊ฒฝ๋ PATH ์ค์ ์ ์ ์ฉํ๋ ค๋ฉด ์ฌ๋ถํ ํด์ผ ํ ์ ์์ต๋๋ค.
ํด๋ก ์๋ณด
์๋ณด ๋น๋