On 17.10.2013 17:59, Arancha Muelas Ruiz wrote: > Or how can I do it, for no change other files, because ndk is inside > b2g-n7 ?
I don't know the details of the build scripts. I have the repo 'git://codeaurora.org/platform/ndk' with branch 'android-4.3_r2.1' as source for my ndk/. Switching to this version works similar to what you did for Gecko and Gaia. That might already do the job. Best regards Thomas > > Thank you, A. > > > 2013/10/17 Arancha Muelas Ruiz <[email protected] > <mailto:[email protected]>> > > ok, I'm going to download this version, > http://developer.android.com/sdk/index.html > > First Should I remove the last one, or just it will be overwrite? > > And later, I just to build or before config? > > Thank you very much! > Cheers,A. > > > 2013/10/17 Thomas Zimmermann <[email protected] > <mailto:[email protected]>> > > The error says that you're on Android version 17, Android 4.3 > is version 18. You should update your SDK and NDK. > > Best regards > Thomas > > > > On 17.10.2013 17:26, Arancha Muelas Ruiz wrote: >> At first it was looking very well and I was very happy but >> finally the error again :-( >> >> Also creating executable in >> /home/arancha/b2g-n7/objdir-gecko/_virtualenv/bin/python >> Installing >> >> Setuptools..............................................................................................................................................................................................................................done. >> Installing >> >> Pip.....................................................................................................................................................................................................................................................................................................................................done. >> running build_ext >> building '_psutil_linux' extension >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 >> -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c >> psutil/_psutil_linux.c -o >> build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o >> In file included from /usr/include/python2.7/Python.h:8:0, >> from psutil/_psutil_linux.c:10: >> /usr/include/python2.7/pyconfig.h:1139:0: warning: >> "_GNU_SOURCE" redefined [enabled by default] >> psutil/_psutil_linux.c:9:0: note: this is the location of the >> previous definition >> gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions >> -Wl,-Bsymbolic-functions -Wl,-z,relro >> build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o -o >> build/lib.linux-x86_64-2.7/_psutil_linux.so >> building '_psutil_posix' extension >> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 >> -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c >> psutil/_psutil_posix.c -o >> build/temp.linux-x86_64-2.7/psutil/_psutil_posix.o >> gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions >> -Wl,-Bsymbolic-functions -Wl,-z,relro >> build/temp.linux-x86_64-2.7/psutil/_psutil_posix.o -o >> build/lib.linux-x86_64-2.7/_psutil_posix.so >> copying build/lib.linux-x86_64-2.7/_psutil_linux.so -> >> copying build/lib.linux-x86_64-2.7/_psutil_posix.so -> >> >> checking Python environment is Mozilla virtualenv... yes >> checking for perl5... no >> checking for perl... /usr/bin/perl >> configure: error: Unsupported platform version: 17 >> ------ config.log ------ >> This file contains any messages produced by compilers while >> running configure, to aid debugging if configure makes a mistake. >> >> configure:1184: checking host system type >> configure:1205: checking target system type >> configure:1223: checking build system type >> configure:1298: checking for mawk >> configure:1372: checking for python2.7 >> configure:1482: checking Python environment is Mozilla virtualenv >> configure:1685: checking for perl5 >> configure:1685: checking for perl >> configure: error: Unsupported platform version: 17 >> *** Fix above errors and then restart with >> "make -f client.mk <http://client.mk> build" >> make[3]: *** [configure] Error 1 >> make[2]: *** [/home/arancha/b2g-n7/objdir-gecko/Makefile] Error 2 >> make[1]: *** [build] Error 2 >> make: *** >> [out/target/product/grouper/obj/DATA/gecko_intermediates/gecko] >> Error 2 >> >> real 22m16.521s >> user 138m26.231s >> sys 6m23.468s >> >> > Build failed! < >> >> >> How can I do? >> And another question, it's not necessary have conect the >> nexus 7 during build, right? >> >> Thank you, >> >> Cheers, A. >> >> >> 2013/10/17 Thomas Zimmermann <[email protected] >> <mailto:[email protected]>> >> >> On 17.10.2013 16:49, Arancha Muelas Ruiz wrote: >>> ah! another thing while (it taking time), then I can try >>> directly build.sh or is it necessary do config.sh again >>> before? >> >> You shouldn't need config.sh, but deleting 'out' and >> 'objdir-gecko' is probably necessary. >> >> Best regards >> Thomas >> >> >>> >>> Best, A. >>> >>> >>> 2013/10/17 Arancha Muelas Ruiz <[email protected] >>> <mailto:[email protected]>> >>> >>> No, please. >>> It's totally ok, thank you for your help, I'm going >>> to try it now:-) >>> . >>> >>> Cheers,A. >>> >>> >>> 2013/10/17 Thomas Zimmermann >>> <[email protected] >>> <mailto:[email protected]>> >>> >>> Sorry again, my explanations are not very good >>> today. After 'git remote ...' you need to run >>> >>> git fetch mozillaorg >>> >>> to get the repository. Afterwards you can do >>> 'git checkout ...'. >>> >>> Best regards >>> Thomas >>> >>> >>> >>> >>> On 17.10.2013 16:31, Arancha Muelas Ruiz wrote: >>>> Oh sorry: >>>> >>>> >>~/b2g-n7/gecko$ git remote add mozillaorg >>>> https://git.mozilla.org/releases/gecko.git >>>> >>~/b2g-n7/gecko$ git checkout mozillaorg/master >>>> error: pathspec 'mozillaorg/master' did not >>>> match any file(s) known to git. >>>> >>:~/b2g-n7/gecko$ >>>> >>>> >>>> Cheers, A. >>>> >>>> >>>> 2013/10/17 Thomas Zimmermann >>>> <[email protected] >>>> <mailto:[email protected]>> >>>> >>>> On 17.10.2013 16:16, Arancha Muelas Ruiz wrote: >>>>> >>~/b2g-n7/gecko$ git remote show >>>>> vlad >>>> >>>> Oh, I see. Your template port uses it's own >>>> repository for Gecko. That's why it's out >>>> of date. >>>> >>>> You can change Gecko to the official >>>> repository by running >>>> >>>> git remote add mozillaorg >>>> https://git.mozilla.org/releases/gecko.git >>>> git checkout mozillaorg/master >>>> >>>> and for Gaia in the gaia directory >>>> >>>> git remote add mozillaorg >>>> https://git.mozilla.org/releases/gaia.git >>>> git checkout mozillaorg/master >>>> >>>> This should give you the latest release, >>>> which also comes with support for Android 4.3. >>>> >>>> Best regards >>>> Thomas >>>> >>>>> >>>>> >>>>> Thank you, >>>>> >>>>> Best, A. >>>>> >>>>> >>>>> 2013/10/17 Thomas Zimmermann >>>>> <[email protected] >>>>> <mailto:[email protected]>> >>>>> >>>>> On 17.10.2013 16:06, Arancha Muelas >>>>> Ruiz wrote: >>>>>> I have a problem already here. >>>>>> >>>>>> >>:~/b2g-n7$ cd gecko >>>>>> >>~/b2g-n7/gecko$ git stash >>>>>> Saved working directory and index >>>>>> state WIP on (no branch): 22508ae >>>>>> More JB fixes >>>>>> HEAD is now at 22508ae More JB fixes >>>>>> arancha@arancha-CELSIUS-H910:~/b2g-n7/gecko$ >>>>>> git pull origin >>>>>> fatal: 'origin' does not appear to be >>>>>> a git repository >>>>>> fatal: The remote end hung up >>>>>> unexpectedly >>>>> >>>>> Sorry, my fault. :) >>>>> >>>>> In gecko/, enter 'git remote show'. >>>>> I'll tell you the correct name of the >>>>> remote repository, probably >>>>> 'mozillaorg' instead of 'origin'. >>>>> >>>>> Best regards >>>>> Thomas >>>>> >>>>> >>>> >>>> >>> >>> >>> >> >> > > > _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
