Mobile/Fennec/Android: Difference between revisions

Put the error in a new line
(There was an issue with some people's build script not seeing the mozconfig and trying to build desktop. I just added that you can export the MOZCONFIG environment variable to fix that issue.)
(Put the error in a new line)
Line 67: Line 67:
  ./mach install
  ./mach install


During <tt>./mach build</tt> if you get an error that looks like this: <tt>mozilla-central/obj-x86_64-unknown-linux-gnu/Makefile Error 2</tt>, it means you're trying to build for Desktop, the reason might be that the build script can't see your mozconfig file.  You can fix this by running <tt>|mach build|</tt> again after exporting a <tt>MOZCONFIG</tt> environment variable.
During <tt>./mach build</tt> if you get an error that looks like this:  
 
/path/to/mozilla-central/obj-x86_64-unknown-linux-gnu/Makefile Error 2
 
It means you're trying to build for Desktop, the reason might be that the build script can't see your mozconfig file.  You can fix this by running <tt>|mach build|</tt> again after exporting a <tt>MOZCONFIG</tt> environment variable.


  export MOZCONFIG=/path/to/mozilla-central/mozconfig
  export MOZCONFIG=/path/to/mozilla-central/mozconfig