I tried to install V8 according to this instruction http://www.php-js.com/documentation/v8
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH=pwd/depot_tools:"$PATH"
gclient
fetch v8
And I get this error while running fetch v8:
Error: Command 'download_from_google_storage --no_resume
--platform=linux* --no_auth --bucket chromium-clang-format -s v8/buildtools/linux64/clang-format.sha1' returned non-zero exit status
1
Failed to fetch file
gs://chromium-clang-format/942fc8b1789144b8071d3fc03ff0fcbe1cf81ac8
for v8/buildtools/linux64/clang-format. [Err: panic: failed to execve
"/home/erniesto77/.vpython-root/e63758/bin/python": cannot allocate
memory
What could possibly be causing this? And whether it is possible to install V8 on WSL in General?
I run gclient --help and it gives me warning that gclient not yet support python3, I fix it by change my python command pointing to my python2.
calling fetch v8 works fine then.
Related
I have some problems to install syndesis on Windows.
My configuration is Win10 64bits with minishift installed.
minishift and oc commands works from command line.
I have started the OpenShift server and I can connect it with web browser.
I tried the install mentioned README.md with Cygwin: "bash <(curl -sL https://syndes.is/start) --vm-driver hyperkit" --> nothing happen
Then I tried the syndesis-cli from 2.0.0-20210514 with Cygwin
$ ./syndesis install
/cygdrive/d/users/toto/Downloads/syndesis-cli/commands/util/common_funcs: line 354: /home/toto/.syndesis/bin/platform-detect: cannot execute binary file: Exec format error
operator binary not found under /home/toto/.syndesis/bin/syndesis-operator, attempting to download...
OK
Unknown platform [ cygwin ],
unable to download the operator binary, exit
ERROR: Last command exited with 1
How can I install syndesis on Windows?
Thanks !
Toto
I got problem with command line: "gcloud init" after installed successfully the google cloud SDK in local machine. The error appeared as below:
cloud init
Welcome! This command will take you through the configuration of gcloud.
Your current configuration has been set to: [default]
You can skip diagnostics next time by using the following flag:
gcloud init --skip-diagnostics
Network diagnostic detects and fixes local network connection issues.
Checking network connection...done.
Reachability Check passed.
Network diagnostic passed (1/1 checks passed).
You must log in to continue. Would you like to log in (Y/n)? Y
ERROR: gcloud crashed (NotADirectoryError): [Errno 20] Not a directory: 'xdg-settings'
If you would like to report this issue, please run the following command:
gcloud feedback
To check gcloud for common problems, please run the following command:
gcloud info --run-diagnostics "
I tried to fix by using this link but it did not work in my environment. Please let me know if you have any idea and want me to provide anything, feel free to ask me.
Best Regards,
PNV
I solved it by doing the steps here:
brew install libxslt xmlto
export XML_CATALOG_FILES="/usr/local/etc/xml/catalog"
git clone git://anongit.freedesktop.org/xdg/xdg-utils
cd xdg-utils
./configure --prefix=/usr/local
make
make install
Note that I also had to install lynx using brew install lynx cause I was getting this issue:
Note: Writing xdg-settings.1
/usr/local/bin/xmlto txt desc/xdg-desktop-menu.xml
No way to convert HTML to text found.
Try either installing text web browser(lynx/w3m/links) or use option --with-fop
make[1]: *** [xdg-desktop-menu.txt] Error 1
make: *** [scripts] Error 2
I am trying to run Firefox (or any other browser) through an X11 connection from Bash on Ubuntu on Windows.
I am using VcXsrv 1.20.6.0
My Firefox version I see through the bash terminal is:
(env) flx#pc:/etc/ssh$ firefox --version
Mozilla Firefox 74.0
When I try to start Firefox from the bash I get the following error:
(env) flx#pc:/etc/ssh$ firefox
Exiting due to channel error.
###!!! [Parent][MessageChannel] Error: (msgtype=0x1E0057,name=PBrowser::Msg_UpdateEffects) Channel error: cannot send/recv
(firefox:16625): LIBDBUSMENU-GLIB-WARNING **: Unable to get session bus: Error spawning command line 'dbus-launch --autolaunch=f6c6eb9e4e7543fa90e8fb64fbdd8983 --binary-syntax --close-stderr': Child process exited with code 1
[Parent 16625, Main Thread] WARNING: FileDescriptorSet destroyed with unconsumed descriptors: file /build/firefox-LE_x6q/firefox-74.0+build3/ipc/chromium/src/chrome/common/file_descriptor_set_posix.cc, line 23
I am quite stuck here, do you have any ideas what I could try to get it to work?
Adding on to #Roudcore's answer
wget https://ftp.mozilla.org/pub/firefox/releases/52.0/firefox-52.0.linux-x86_64.sdk.tar.bz2
sudo tar xjf firefox-52.0.linux-x86_64.sdk.tar.bz2 -C /opt/
sudo ln -s /opt/firefox-sdk/bin/firefox /usr/local/bin/firefox
Try to service dbus start before starting firefox, after that dbus-launch should work properly
As alternative, i would recommend you to use firefox 52.
52 version works correctly.
Hi I'm trying to add repository to install Termintor on my linux machine (SUSE Linux Enterprise Server 12 SP3). However after running this command
sudo zypper -v addrepo https://download.opensuse.org/repositories/openSUSE:Factory/standard/openSUSE:Factory.repo
I get 503 error.
Download (curl) error for 'https://download.opensuse.org/repositories/openSUSE:Factory/standard/openSUSE:Factory.repo':
Error code: HTTP response: 0
Error message: The requested URL returned error: 503
Apparently the source is not available. Is there a way to find the current repo for installing Terminator via zypper?
The correct repository for SLE12 is:
sudo zypper addrepo https://download.opensuse.org/repositories/X11:/terminals/SLE_12/X11:terminals.repo
You can find all the available SUSE builds for 'Terminator' here: https://software.opensuse.org/package/terminator
I have a linux dev server I watch, and lately its chugging at some points so I'd like to keep a better eye on it. I used to use Gkrellm, but its been a pain to try get Gkrellm to build on my Mac.
Besides servering X remotely (which would not be optimal), I guess i'm looking for alternatives to Gkrellm.
I would like a program that will let me watch the I/O CPU, Memory, processes, etc of a remote server running Linux. I am on a Mac.
If you're looking for something simple, and almost certainly already installed on the Linux box, you could SSH into the Linux machine and use tools like top, vmstat, and lsof to see what it's up to.
If you still want to test Gkrellm on Mac, you can follow this procedure
# sudo port install gkrellm
If you have this error :
Error: Target org.macports.activate returned: Registry error: xorg-xproto 7.0.16_0 not registered as installed.
[...]
Error: Status 1 encountered during processing.
Do this
# sudo port clean xorg-xproto
# sudo port install xorg-xproto
And continue install
# sudo port install gkrellm
Now if you have this error :
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk-doc/work/gtk-doc-1.11" && ./configure --prefix=/opt/local --with-xml-catalog=/opt/local/etc/xml/catalog " returned error 1
[...]
Error: Status 1 encountered during processing.
Do this
# sudo port clean gtk-doc
# sudo port install gtk-doc
And last
# sudo port install gkrellm
To start gkrellm
# gkrellm
You could use Growl for this purpose. It's possible to send Growl messages from a unix machine by using netgrowl.py, which masquerades as the growlnotify program, but all written in python.
You could then have a process running on the server that monitors the other bits, and posts notifications when limits are exceeded, or whatever.
It would be a hand-coded solution, but we are on Stack Overflow, so programming-related stuff is the go :)
(Oh, and the netgrowl.py page has a few links to similar projects in other languages, if that's your thing, too).
You are propably looking for a more rigid monitoring tool like zabbix. https://zabbix.org