How to build pine and m-c (Please read)


#141

Still working on a Post how to build, and run in to the problem that the NDK path isn’t initialized if i set up a fresh environment.
Does there exist a other way, than to reboot the vm, to initialize the NDK Path?


(Lissyx) #142

The one I repeatedly said you to use, i.e. |export| in .userconfig ?


#143

i know your doing a lot for this comunity and i don’t like to steal your Time but i can’t follow.
Can you explain more detailed?


(Lissyx) #144

well, if you don’t tell me what you don’t understand, it’s hard to give more details. It’s a well documented step of opening a file named “.userconfig” in your B2G/ and adding the |export| line for that variable that I gave numerous times already. It’s very trivial, I really cannot explain more than doing it for you on your computer.


#145

Excuse, i realy didn’t mention that i have done that step of adding the export line to .userconfig and wold like to build. But this:
echo "B2G_ANDROID_NDK_PATH = $B2G_ANDROID_NDK_PATH"
Replays:
B2G_ANDROID_NDK_PATH =

It gives out an empty path, as you see. I think it shoud show the path. Am i wrong?


(Lissyx) #146

I don’t understand what you are doing. This file is sourced during the build so its expected that the variable is undefined except during the build. …

Mozilla Discourse a écrit :


NovskiIvan Hörler

July 9

Excuse, i realy didn't mention that i have done that step of adding the export line to .userconfig and wold like to build. But this:

echo “B2G_ANDROID_NDK_PATH = $B2G_ANDROID_NDK_PATH”

Replays:

B2G_ANDROID_NDK_PATH =

It gives out an empty path, as you see. I think it shoud show the path. Am i wrong?


Visit Topic or reply to this email to respond.


In Reply To

lissyx

July 8well, if you don’t tell me what you don’t understand, it’s hard to give more details. It’s a well documented step of opening a file named “.userconfig” in your B2G/ and adding the |export| line for that variable that I gave numerous times already. It’s very trivial, I really cannot explain more than…


Visit Topic or reply to this email to respond.

To unsubscribe from these emails, click here.

Envoyé depuis Firefox OS

#147

all i need to know to understand.
So the Path is undefined exept during build.
That explains the empty Path.
Thats what i needed to know…
Thank you! Novski


(Thomas Zimmermann) #148

Hi!

A further cleanup of the build scripts has been merged in bug 1280600. [1] That also affects the default build configuration in gonk-misc. If you see any configure errors about unknown compilers, please run ‘config.sh’ to get these changes as well.

From my side, bug 1280600 should be the last build-system change for now, so things should hopefully stabilize.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1280600


#149

Hi, i run in to build fails and it seams to be something regarding the NDK Path.
I made two screenshoots to explane.
First Screenshoot is my log and it shows that the NDK path is expected in home but in some unexistent hiden folder…

As line 31 tries to add options from B2G_ANDROID_NDK_PATH i think i need to set that path in .userconfig as well. But will it override the NDK path?

this is my .userconfig right now

echo “*** entering .userconfig "
export NDK=/home/novski/android-ndk-r11b
echo "export NDK=${NDK}"
export B2G_ANDROID_NDK_PATH=/home/novski/android-ndk-r11b
echo "B2G_ANDROID_NDK_PATH = $B2G_ANDROID_NDK_PATH"
export B2G_DIR=${B2G_DIR:-$(cd $(dirname $0); pwd)}
echo "B2G_DIR=${B2G_DIR}"
echo "GAIA_PATH=${GAIA_PATH}"
echo "GECKO_PATH=${GECKO_PATH}"
echo "GONK_PATH=${GONK_PATH}"
echo "
exit .userconfig ***”


(Lissyx) #150

Line 30 will default to the value you circled if no B2G_ANDROID_NDK_PATH is defined.


#151

does that mean that in default i have to copy my NDK folder to a .mozbuild folder?


(Lissyx) #152

No, that is the default location if you install NDK through the mozbuild tool. The overriding is here if you already have it installed somewhere else …


#153

Im not sure where it means to do that “make -f client.mk build” from line 43434, what is it asking for?


(Lissyx) #154

The anwser to this have been given several times already.


(Lissyx) #155

Check you have proper up-to-date gecko tree.

Mozilla Discourse a écrit :


NovskiIvan Hörler

July 31

Im not sure where it means to do that "make -f client.mk build" from line 43434, what is it asking for?


Visit Topic or reply to this email to respond.

To unsubscribe from these emails, click here.

Envoyé depuis Firefox OS

#156

Well a link wold be verry apreciated. Im not able to find those answers.

git show HEAD is:

commit 40aa1a6c803e9feafae6c5e26b4455771396358a
Merge: ba6928a 87cb99f
Author: lissyx lissyx+github@lissyx.dyndns.org
Date: Sun Jul 17 18:16:57 2016 +0200

Merge pull request #514 from Bonstra/master

Bug 1287331: Add openc-fr and openc-ebay devices r=gerard-majax

This two comands also didn’t help:

git fetch origin
git checkout origin/master

here is a complet log


(Lissyx) #157

Answer is in this thread. Wrong gecko tree.


(Sai Karthik) #158

I think everything related to this thread is fixed a day ago https://bugzilla.mozilla.org/show_bug.cgi?id=1290928