I am having a problem with babel setup on Windows: I navigated to babel repo and ran make watch (I didn't run make bootstrap because I have already run it some days ago) and I get the following error:
C:\Users\Lenovo\Desktop\babel\babel>make watch
rm -rf packages/*/test/tmp
process_begin: CreateProcess(NULL, rm -rf packages/*/test/tmp, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [Makefile:140: test-clean] Error 2
C:\Users\Lenovo\Desktop\babel\babel>
Maybe is it because make is not properly installed?
Related
I was wondering whether somebody managed to install unison's latest version from source, on its macOS machine (Here I am trying with Catalina). I followed the steps here :
I verified that I had XCode installed (otherwise forget about compiling anything :)
I cloned the official Git repository by running
git clone https://github.com/bcpierce00/unison.git
I moved to the newly created directory unison
cd unison
As mentionned in the documentation I then ran the make command telling it to build the text UI:
make UISTYLE=text
Result should have been an executable file called unisonbut instead of this I got the following error :
Blablabla$ make UISTYLE=text
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C src UISTYLE=text
UISTYLE = text
Building for Unix
NATIVE = true
THREADS = false
STATIC = false
OSTYPE =
OSARCH = osx
ocamlopt: ubase/rx.mli ---> ubase/rx.cmi
ocamlopt -g -unsafe-string -I lwt -I ubase -I system -I fsmonitor -I fsmonitor/linux -I fsmonitor/windows -I system/generic -I lwt/generic -ccopt -mmacosx-version-min=10.6 -c /Users/Shared/unison/src/ubase/rx.mli
make[1]: ocamlopt: No such file or directory
make[1]: *** [ubase/rx.cmi] Error 1
make: *** [text] Error 2
I then wondered whether XCode might not carry with him an OCaml compiler. So I installed the official one using MacPort therefore running:
sudo port install ocaml
sudo port install opam
I then rerun the same make command
make UISTYLE=text
This time the result looked better and ended with:
/Applications/Xcode.app/Contents/Developer/usr/bin/make tags
if [ -f "`which etags`" ]; then \
etags *.mli */*.mli *.ml */*.ml */*.m *.c */*.c *.txt \
*Makefile* \
; fi
However, still no unison file visible anywhere.
Question is ... since there is no error message, where is this executable?
Re-hello people from the Internet,
I managed to help myself here and got a nice and fresh unison executable on my macOS Catalina computer.
Basically, the base make tries to move the compilation product into /Users/<your_user>/bin/. which makes sense I guess, but is rarely used by us macOS users. So here is what I did to fix the issue :
Create the bin directory into your home
mkdir ~/bin
Re run the make by doing
make UISTYLE=text
Verify you have the executable by asking its version:
~/bin/unison -version
Happy me, I got the expected message back from my terminal:
unison version 2.51.3 (ocaml 4.08.1)
Hope it can help somebody.
I am trying to build the latest Linux kernel (GitHub) using a Oracel VM and a 18.04.1-Ubuntu image.
I installed the need packages and probably even more. Here is a part of the packages I installed:
sudo apt-get update
sudo apt-get install git fakeroot build-essential ncurses-dev xz-utils libssl-dev bc bison flex libelf-def kernel-package
The full list can be found here.
I ran the following commands in the linux folder after cloning the repository from GitHub.
$ cp /boot/config-$(uname -r) .config
$ make menuconfig
scripts/kconfig/mconf Kconfig
.config:1118:warning: symbol value 'm' invalid for NF_CT_PROTO_GRE
.config:1923:warning: symbol value 'm' invalid for NET_DEVLINK
.config:7865:warning: symbol value 'm' invalid for ASHMEM
.config:8724:warning: symbol value 'm' invalid for ANDROID_BINDER_IPC
.config:8725:warning: symbol value 'm' invalid for ANDROID_BINDERFS
*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
I save and exited menuconfig. And finally make leads to the following error.
$ make -j2
Makefile:608: include/config/auto.conf: No such file or directory
Makefile:660: include/config/auto.conf.cmd: No such file or directory
HOSTCC scripts/kconfig/conf.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --syncconfig Kconfig
*** Error during sync of the configuration.
scripts/kconfig/Makefile:73: recipe for target 'syncconfig' failed
make[2]: *** [syncconfig] Error 1
Makefile:562: recipe for target 'syncconfig' failed
make[1]: *** [syncconfig] Error 2
Makefile:678: recipe for target 'include/config/auto.conf.cmd' failed
make: *** [include/config/auto.conf.cmd] Error 2
make: *** Deleting file 'include/config/auto.conf.cmd'
Looks like make is expecting some additional configuration files include/config/auto.conf. Does anyone have a clue for me.
Thanks!
Trying to compile kernel 5.6.3 as non-root, I ran into this exact problem.
Running the suggestion from Oandiy's comment
git clean -xdf
revealed that I had files in my source tree that were owned by root and could not be deleted. Looking in my history I found,
sudo make localmodconfig # DO NOT DO THIS
which had installed files, as root, in include/config/* and include/generated/autoconf.h.
To see if you have the same problem, run
sudo find . -uid 0
or just look at the error messages of git clean -xdf (there shouldn't be any).
After deleting all files and directories owned by root, I recovered from this deadlock with:
unset ARCH
cp .config ../config.backup # If you still have this.
git clean -xdf # No errors (this also deletes .config)
cp ../config.backup .config # Or generate a new one *).
make olddefconfig # Printed at the end: 'No change to .config'
Note that I needed to clear ARCH from my environment.
After this I went on as usual,
VERSION=5.6.3 # I have checked out tag v5.6.3 **)
FLAVOUR=lowlatlocxhci # Or whatever you want to call your kernel.
make -j8 deb-pkg LOCALVERSION=-$FLAVOUR
sudo dpkg -i ../linux-headers-$VERSION-${FLAVOUR}_$VERSION-$FLAVOUR-1_amd64.deb ../linux-image-$VERSION-${FLAVOUR}_$VERSION-${FLAVOUR}-1_amd64.deb
The last command fails to compile virtualbox kernel modules at the moment, but I don't care about those, and those errors can be ignored (as long as you don't use virtual box).
*) The .config used was prepared by booting to a kernel with everything (ie, a dist. kernel), copying its config from /boot to the source tree and running make localmodconfig after making sure all kernel modules that I needed where loaded (by running those applications that cause such modules to be loaded). And finally running make menuconfig to turn off CONFIG_DEBUG_INFO in this kernel and to turn a few things that are normally built into the kernel into modules as well (which I needed for some reason).
**) My git tree has been prepared with:
VERSION=5.6.3
FLAVOUR=lowlatlocxhci
git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-$VERSION-$FLAVOUR-$VERSION-$FLAVOUR
cd linux-$VERSION-$FLAVOUR-$VERSION-$FLAVOUR
git checkout -b test_$FLAVOUR v$VERSION
# Make manual changes here, and commit as usual.
I've run into an issue where suddenly my ios build will no longer build. It seems to have happened out of no-where.
I get this error and can't seem to get rid of it regardless of what I try.
[19-01-15 10:57:43.888] Build failed. Command xcodebuild failed with exit code 65 Error output:
** ARCHIVE FAILED **
I've tried tns platform remove ios
I've updated my plugins.
I also get these cli warnings before it fails:
(CLI) 1) Target 'class2tns' has copy command from ...
and
(CLI) warning: duplicate output file
for a number of files.
My Android version builds ok.
I had the same exit code from Xcode (65) and the warning of duplicate output file.
After along time of research the following steps are required because an update of a nativescript npm package.
rm -Rf platform/ios
rm -Rf node_modules
rm package-lock.json
pod repo update # important to execute this command in the project dir
tns build ios
I'm using Windows 7, and the command make dependencies fails in CYGWIN.
'make' works and shows the complete list of available targets. make clean works without generating an error message. All the rest fails and the error is:
$ make dependencies
Installing depencies
make: Rscript : commande introuvable
../Makefile:39: recipe for target `dependencies' failed
make: *** [dependencies] Error 127
I have double-checked all my environment variables, PATH, and CYGWIN_HOME, etc., still doesn't work.
Any advice from someone who's been through the same issue is much appreciated.
I'm having a hard time getting jssh and firefox to play nice on an Ubuntu Jaunty 64-bit machine. Anyone know the specific steps needed to make this work? (or, if you're using something else to get firewatir to work, I'll take those as answers as well)
Here are a few things I tried:
installing the jssh extension by itself (by following the instructions in http://wiki.openqa.org/display/WTR/FireWatir+on+Ubuntu) then running the following command line renders an error:
firefox -jssh
telnet localhost:9997
I get the error:
Trying ::1...
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection Refused
Compiling firefox with the following mozconf file and make command renders an error:
.
The file:
mk_add_options MOZ_CO_PROJECT=browser
mk_add_options MOZ_OBJDIR=#TOPSRCDIR#/firefox-jssh
ac_add_options --enable-extensions=default,jssh
ac_add_options --enable-application=browser
The command:
make -f client.mk
I get the Error:
make[6]: [WebGLContext.o] Error 1
make[6]: Leaving directory `/home/bernie/sources/mozilla-central/firefox-jssh/content/canvas/src'
make[5]: [src_libs] Error 2
make[5]: Leaving directory `/home/bernie/sources/mozilla-central/firefox-jssh/content/canvas'
make[4]: [canvas_libs] Error 2
make[4]: Leaving directory `/home/bernie/sources/mozilla-central/firefox-jssh/content'
make[3]: [libs_tier_gecko] Error 2
make[3]: Leaving directory `/home/bernie/sources/mozilla-central/firefox-jssh'
make[2]: [tier_gecko] Error 2
make[2]: Leaving directory `/home/bernie/sources/mozilla-central/firefox-jssh'
make[1]: [default] Error 2
make[1]: Leaving directory `/home/bernie/sources/mozilla-central/firefox-jssh'
make: [build] Error 2
Compiling
You can try fallow this instruction: (found using google but I had to correct a little bit):
You have to install some packages to checkout and successfully compile firefox
sudo apt-get build-dep firefox
sudo apt-get install mercurial libasound2-dev libcurl4-openssl-dev libnotify-dev libxt-dev libiw-dev libglu1-mesa-dev
then clone firefox source from repository
This version has problems with firefox add-ons compatibility
for quick workaround install this add-on http://www.oxymoronical.com/web/firefox/nightly
hg clone http://hg.mozilla.org/mozilla-central/
cd mozilla-central
Create a new file .mozconfig in current directory
gedit .mozconfig
and paste the following build options into it.
mk_add_options MOZ_CO_PROJECT=browser
mk_add_options MOZ_OBJDIR=#TOPSRCDIR#/firefox-jssh
ac_add_options --enable-extensions=default,jssh
ac_add_options --enable-webservices
ac_add_options --enable-application=browser
then do
autoconf2.13
cd js/src
autoconf2.13
cd ../..
and compile using
make -f client.mk build
If failure, install required packages displayed in error messages
now
./firefox-jssh/dist/bin/firefox -jssh
telnet localhost:9997
and fortunately you should see "Welcome to the Mozilla JavaScript Shell!"
I wish you luck, and be patient, compilation takes a while
Did you take a look at this?
http://wiki.openqa.org/display/WTR/FireWatir+on+Ubuntu
There is already compiled Linux XPI here:
http://wiki.openqa.org/display/WTR/FireWatir+Installation#FireWatirInstallation-2)InstalltheJSSHFirefoxExtension