DigitalOcean - Ubuntu php8.1 - pecl install grpc g++: fatal error: Killed signal terminated program cc1plus - ERROR: `make' failed - grpc

Can't get pecl to install grpc.
Command
sudo pecl install grpc
Error
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make: *** [Makefile:226: src/core/ext/filters/client_channel/client_channel.lo] Error 1
ERROR: `make' failed

Change/Resize your Droplets RAM to 4gb and try re-installing should work now. I was on a 1GB droplet.
Worked for me and took me days to find a fix/workaround for this.
Hope it help someone else out there.

Related

Failed to build bootloader for pyinstaller

I tried to install pyinstaller on BBG with the latest image downloaded from beagleboard.org (Debian 9.5 2018-10-07 4GB SD IoT). After getting errors and suggested by building bootloader manually, I downloaded the pyinstaller 3.4 source and followed the instruction on the pyinstaller docs. I paste the error I extracted from config.log below. Does anyone have idea how to fixed this issue.
I work on Raspberry Pi and BeagleBone quite often. Sometimes I can install pyinstaller simply by typing "pip install pyinstaller". Sometimes I fail and need to build the bootloader manually. I have no idea what actually cause the difference.
Checking for library z
==>
int main(int argc, char **argv) {
(void)argc; (void)argv;
return 0;
}
<==
[1/2] Compiling build/.conf_check_c870da07392f02bfe0dd2ca05dee71ef/test.c
['/usr/bin/gcc', '-O2', '-Wdeclaration-after-statement', '-Wimplicit-function-declaration', '-Werror', '-U_FORTIFY_SOURCE', '-D_REENTRANT', '-D_BSD_SOURCE', '-D_DEFAULT_SOURCE', '-D_FORTIFY_SOURCE=2', '../test.c', '-c', '-o/home/est/pyinstaller-3.4/bootloader/build/.conf_check_c870da07392f02bfe0dd2ca05dee71ef/testbuild/test.c.1.o']
[2/2] Linking build/.conf_check_c870da07392f02bfe0dd2ca05dee71ef/testbuild/testprog
['/usr/bin/gcc', 'test.c.1.o', '-o/home/est/pyinstaller-3.4/bootloader/build/.conf_check_c870da07392f02bfe0dd2ca05dee71ef/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lz']
err: /usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
from /home/est/pyinstaller-3.4/bootloader: Test does not build: Traceback (most recent call last):
File "/home/est/pyinstaller-3.4/bootloader/.waf3-2.0.9-6b5f17f340ec613b295ffa3dedcecc80/waflib/Configure.py", line 324, in run_build
bld.compile()
File "/home/est/pyinstaller-3.4/bootloader/.waf3-2.0.9-6b5f17f340ec613b295ffa3dedcecc80/waflib/Build.py", line 176, in compile
raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
-> task in 'testprog' failed with exit status 1 (run with -v to display more information)
not found
from /home/est/pyinstaller-3.4/bootloader: The configuration failed
I think I fixed it. For some reasons I missed "library z" in my system. Reinstall it and then I can reinstall pyinstaller normally. Sorry for wasting your time reading this question.
sudo apt-get install zlib1g-dev
pip3 install pyinstaller

Instal devStack on Ubuntu14.04 faild

I run ./stack.sh to install OpenStack but failed with
[ERROR] ./stack.sh:198 If you wish to run this script anyway run with FORCE=yes
So I use this cmd FORCE=yes ./stack.sh to install OpenStack on Ubuntu but failed as:
[ERROR] /opt/stack/devstack/functions-common:602 git call failed: [git clone git://git.openstack.org/openstack/requirements.git /opt/stack/requirements --branch master]
I search this error but I got nothing from google, can someone help me to resolve this problem?
Many Thanks!

Error during qt installation

When I tried to run
qt-linux-opensource-5.0.2-x86-offline.run
I got the following error:
Error during installation process (qt.502.gcc.essentials):
Execution failed(Unexpected exit code: 127)
Some threads say this is because of absence of gcc on the machine, however my Ubuntu machine has gcc installed. Can someone tell me how to install qt?

Unable to install gmum.r package

I'am not able to install the R package gmum.r. It says compilation failed. I have installed all supporting packages.
/bin/bash: g++: command not found
make: *** [svm/libsvm_runner.o] Error 127
ERROR: compilation failed for package ‘gmum.r’
* removing ‘/home/XXX/R/x86_64-pc-linux-gnu-library/3.2/gmum.r’
It got worked using the following command,
sudo apt-get install r-base-dev
Errors fixed !

Build and Install Qt-4.7.3 ERROR on CentOS 5.6 x64

I am having an error when trying to install the Qt-4.7.3 libraries on CentOS 5.6. The error I am getting is:
/usr/bin/ld: cannot find -ltcg
collect2: ld returned 1 exit status
gmake[1]: *** [../../../bin/moc] Error 1
gmake[1]: Leaving directory `/home/chlong/Libraries/qt-4.7.3/src/tools/moc'
gmake: *** [sub-moc-make_default-ordered] Error 2
My CentOS is running off of VMWare 3.1.3. I have tried re-downlading and re-installing Qt as well as re-installing VMWare and re-installing CentOS, but to no avail.
Any insights would be greatly appreciated.
A work around is to compile with '-no-ltcg'
Alternatively, the EPEL repository has qt give that a shot.
try running the command gmake install as a root user
otherwise you may avoid installing lctg by providing configuration flag --no ltcg,if you dont need ltcg.........

Resources