Sunday 15 January 2012

firefox os - Unable to build gaia from git in windows. Getting "Makefile:671: recipe for target 'preferences' failed" -



firefox os - Unable to build gaia from git in windows. Getting "Makefile:671: recipe for target 'preferences' failed" -

i trying build , deploy gaia build git repo in windows. trying deploy in অ flame. trying in windows 7 cygwin installed. after installing error getting

this works fine in linux machine, need in windows since right have access only.

any pointers doing wrong here?

i'm afraid it's not going work without important effort several reasons. much improve utilize vm linux on if did work really slow. windows slow @ handling lots of file access , cygwin slows downwards more.

for illustration in making simple alter config.sh (full stack build) works on cygwin found took hours run (on decent pc). , had couple of corrupt git repos had hand fix.

i looked @ getting gaia's create work, stopped after problem got bigger.

here's found future reference

the build not portable, expects linux environment while cygwin gives linux emulation of tools run win32 native , handling path conversion them requires not trivial changes due assumptions. illustration can switch win32 xpcshell , hack command line paths utilize cygpath, environment variable source of dependency in js scripts , unix paths. ( did manage part). these path , environment dependencies magnified c build chain , other tools. you need alter mount utilize noacl or else cygwin attaches acls simulate file properties, breaking things. it's might little faster without acls i tried mingw provides native versions without emulation should faster. falls short of requirements , automatic path conversion heuristics in way. you need turn of antivirus prog slow down. in fact first time used old firefox windows build crash after long time. turned out mem leak in av :(

so all-in-all it's much hassle in terms of dev time convert , maintain. true windows build improve it's easy these days run vm. can share directories between invitee , host flash windows.

makefile firefox-os gaia

No comments:

Post a Comment