Hello all,

I am trying for my first firefox build and I'm running into an error. I
followed along on this page, installing in order everything I was supposed
to:

https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Windows_Prerequisites

But then when I try to build:

./mach build

I get this error:

"ERROR: Cannot find the target C compiler"

Any Ideas on what I should do next? With my limited knowledge, I tried
adding clang-cl to the PATH:

C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\Hostx64\x86\cl

C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\Hostx64\x64\cl

but i'm still getting the same errors. Below is the complete output from the
build command:

$ ./mach build
 Config object not found by mach.
 0:00.75 Clobber not needed.
 0:00.75 Adding make options from None
    MOZ_OBJDIR=c:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32
    OBJDIR=c:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32
 0:00.80 c:\mozilla-build\bin\mozmake.EXE -f client.mk -s configure
 0:00.91 cd c:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32
 0:00.94 c:/mozilla-source/mozilla-central/configure
 0:01.26 Reexecuting in the virtualenv
 0:01.48 checking for vcs source checkout... hg
 0:01.53 checking for a shell... C:/mozilla-build/msys/bin/sh.exe
 0:01.53 checking for host system type... x86_64-pc-mingw32
 0:01.53 checking for target system type... x86_64-pc-mingw32
 0:01.92 checking whether cross compiling... no
 0:02.05 checking for Python 3... C:/mozilla-build//python3/python3.exe
(3.6.5)
 0:02.05 checking for hg... c:/mozilla-build/python/Scripts/hg.exe
 0:02.23 checking for Mercurial version... 4.5.3
 0:02.47 checking for sparse checkout... no
 0:02.48 checking for yasm... c:/mozilla-build/bin/yasm.exe
 0:02.48 checking yasm version... 1.3.0
 0:02.55 checking for the target C compiler... not found
 0:02.55 DEBUG: _cc: Trying clang-cl
 0:02.55 DEBUG: _cc: Trying gcc
 0:02.55 DEBUG: _cc: Trying clang
 0:02.55 ERROR: Cannot find the target C compiler
 0:02.59 *** Fix above errors and then restart with\
 0:02.59                "./mach build"
 0:02.61 mozmake.EXE: *** [client.mk:115: configure] Error 1

Thanks, 
Jeremy

 



--
Sent from: http://mozilla.6506.n7.nabble.com/Mozilla-Builds-f212659.html
_______________________________________________
dev-builds mailing list
dev-builds@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-builds

Reply via email to