./mach bootstrap is not working in windows 10 cmd - firefox

I am building firefox on windows 10 and i have follow and the steps mentioned in this link
Once I checkout the firefox source code using this cmd
hg clone https://hg.mozilla.org/mozilla-central
and after that I type "./mach bootstrap" to catch all the dependencies
It is giving me below error
'.' is not recognized as an internal or external command, operable
program or batch file.
I have install all the software and libraries but still it is not working.
Is there anything i am missing and doing something wrong?

Related

MinGW install failed, does anyone know what went wrong?

I installed gcc using MinGW using the following instructions: https://dev.to/gamegods3/how-to-install-gcc-in-windows-10-the-easier-way-422j
Unfortunately, typing gcc --version into cmd or powershell returns:
'gcc' is not recognized as an internal or external command,
operable program or batch file.
I have: opened a new cmd window, configured path correctly. I also did a folder search and discovered the installation files e.g. gcc-c++-6.3.0-1-mingw32-bin.tar.xz I unzipped one of these and the binaries are inside.
Just wondering if there is a way to fix this, or whether anyone knows of an easy was to automatically install all of these files.
Alright I did some more exploring, and it turns out that my path was NOT configured correctly, sorry for this terrible post. It turns out that the files were installed in C:/User//bin and not C:/User//mingw/bin

sass is broken "'dart.exe' is not recognized as an internal or external command, operable program or batch file."

I have received this error:
'dart.exe' is not recognized as an internal or external command, operable program > or batch file.
Sass was working one day, but the next it stopped and gave me this error, I have tried uninstalling and reinstalling. What could the issue be?
You need to install Dart. Check this out:
https://www.dartlang.org/tools/sdk#install
or this
https://katiek2.github.io/path-doc/
or this
https://sass-lang.com/dart-sass
Please Update your Package manager.
example : you use chocolatey Package manager
choco update sass
Then your Dart Dependencies will Updated
Finally it will be work...!
I just had the exact same error. I found that I had to run the Command Prompt as administrator and then it worked fine.
Going between Mac and PC, I ran into this after mistakenly downloading the .zip file for Mac when I was on PC. No .exe files in the Mac version!
I found the solution after searching a lot.
Before downloading flutter from
https://docs.flutter.dev/get-started/install
Disable your antivirus.
Then move the folder to C: and add the exception for the antivirus you are using.
Remember to add to ENV path:
and value as
C:\Windows\System32
C:\Program Files\Git
C:\flutter\bin
If you use WSL on Windows 10, don't configure flutter from WSL's command prompt. Clean the flutter repo, configure everything from PowerShell and then it will hopefully work.

'svn' is not recognized as an internal or external command, operable program or batch file

example for download project
cd xampp\htdocs>svn co http://svn.doctrine-project.org/trunk doctrine
then error
'svn' is not recognized as an internal or external command,
operable program or batch file.
In case if someone is looking to install Command line client tools on top of already installed Tortoise, you can do this.
Download the latest from website (https://tortoisesvn.net/downloads.html) and open the exe.
When you reach this screen (see below), untick all, but `command line client tools'.
Press "Next" and continue the installation.
This will only install command line client tools on top of your existing Tortoise.
Hope this will help someone. Cheers!
Subversion is not installed by default on Windows. You have to install it to be able to use 'svn' command lines. Packages can be found here: http://subversion.apache.org/packages.html
You can download TortoiseSVN and while installing choose CLI package. Once after installation add the folder location to Environment Variables->System variables

How do I build boost 1.55 from the command line with mingw?

Note: I have seen this SO question, but I do not think the question is clear and the solutions do not cover the issue I have run into.
I downloaded boost 1.55 from sourceforge and unzipped it to C:\My Programs\ directory. When I tried to run the bootstrap.bat file (REF) I got the error:
C:\Users\pollexb\git_repositories\modular-boost>bootstrap.bat
Building Boost.Build engine
'"VCVARS32.BAT"' is not recognized as an internal or external command
operable program or batch file.
'"VCVARS32.BAT"' is not recognized as an internal or external command
operable program or batch file.
'"VCVARS32.BAT"' is not recognized as an internal or external command
operable program or batch file.
'"VCVARS32.BAT"' is not recognized as an internal or external command
operable program or batch file.
'cl' is not recognized as an internal or external command,
operable program or batch file.
Failed to build Boost.Build engine.
Please consult bootstrap.log for furter diagnostics.
You can try to obtain a prebuilt binary from
http://sf.net/project/showfiles.php?group_id=7586&package_id=72941
Also, you can file an issue at http://svn.boost.org
Please attach bootstrap.log in that case.
What is the problem & how do I solve it?
Boost 1.55 seems to have an issue with bootstrap.bat working (REF). The easiest solution would be to download & install Boost 1.54.
I'm answering this question 2 years later because I had the same issue with boost 1.60.
It looks like you don't have Visual Studio installed. Apparently bootstrap.bat assumes you have that as default, otherwise you should indicate the compiler toolchain you want to use. As an example I had to enter "boostrap.bat mingw".

'gpg.exe' is not recognized as an internal or external command, operable program or batch file - Maven Release Plugin

I just got my free Sonatype Maven repo and have been attempting to do a release. However whilst trying to do this I get an error when maven-gpg-plugin attempts to sign artifacts.
I get a ton of asterisks showing beforehand and I just press enter and then I get this issue, here's my full log: http://pastebin.com/GkLbFgBF
Here are the command line parameters I am attempting to use
clean install javadoc:javadoc javadoc:jar source:jar release:clean release:prepare release:perform
I installed gpg4win thinking that might solve this but it hasn't.
As each system is differently configured the following steps works in some cases.
when you receive this error message, “gpg is not recognized as an internal or external command” then you need to update your PATH variable.
To do this without reboot:
Open up a command prompt window
Paste this in:
SET PATH=%PATH%;C:\Program Files (x86)\GNU\GnuPG
Hit Enter
A quick and easy fix (at least for me) was to just copy the gnupg using the File Explorer interface from whatever folder it got saved to when you originally downloaded it. Then make sure it's pasted into both Program Files (x86) and Program Files folders in c: or Windows(c:)
I was getting the gpg is not recognized as an internal or external command error during a Linux Mint authentication check. Checked the PATH saw that C:\*AnyDirectory*\gnupg\bin was absent. Went to my c: folder in File Explorer and searched gnupg saw that it was in Program Files but not in Program Files (x86) fixed that now I get C:\Program Files (x86)\gnupg\bin in my PATH and the error message went away.
You can also use another plugin https://www.simplify4u.org/sign-maven-plugin/ for signing artifacts.
sign-maven-plugin does not use gpg for signing, it use java BouncyCastle for signing artifacts so you need not install gpg executable and plugin works on any operating system without special configuration.

Resources