How to compile resin4 on mac - exception

./configure success!
but make error
[error description][1]
https://i.stack.imgur.com/C6SEZ.png

Related

Error of installing Google Chrome in Centos 7

I followed the following steps to install Chrome in my Centos 7 system.
(base) [abc#bogon ~]wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
(base) [abc#bogon ~]sudo yum install ./google-chrome-stable_current_*.rpm
All was OK, but I got the following error while I run "google-chrome &".
(base) [abc#bogon ~]$ google-chrome &
[1] 4679
(base) [abc#bogon ~]$ /usr/bin/google-chrome: symbol lookup error: /usr/bin/google-chrome: undefined symbol: gbm_bo_get_modifier
I could not launch Chrome. How can I fix this error? Thanks.
This is due to a missing symbol in the libgbm library. You will likely need to update the mesa-libgbm package to a later version.
sudo apt update mesa-libgbm
sudo yum update mesa-libgbm
Or the equivalent for your OS.

permission denied to install mysql connector in linux mint with python version3

$ python setup.py install
running install
Not Installing MySQL C Extension
running build
running build_py
running install_lib
running install_egg_info
running egg_info
writing requirements to lib/mysql_connector_python.egg-info/requires.txt
error: [Errno 13] Permission denied: 'lib/mysql_connector_python.egg-info/requires.txt'
when i try to install mysql connector it shows an error when i execute the command "setup.py install".How can i overcome this error?
Try to run command with sudo.
sudo python setup.py install

QBox configuration error: unable to find "cc"

I am trying to build QBox
https://git.greensocs.com/qemu/qbox
For Configuration, I am using
./configure --target-list=arm-softmmu --library --qbox --with-tlm2c=/proj/user/tlm2c --prefix=/proj/user/Qbox --disable-pie --extra-cflags=--ftls-model=initial-exec
But I am getting the following error while configuration:
ERROR: "cc" either does not exist or does not work
I tried to set the flag --cc=gcc but still getting the same error. I am using gcc version 4.7.2.
It is missing gcc, so run the below command to resolve it
$ sudo apt-get install gcc

error: command 'gcc' failed with exit status 1 while installing mysqlclient

I am trying to install mysqlclient in OSX 10.7 but I get this compiler error from gcc no matter what I try. I am using Python3.6 to run the setup.py script for mysqlclient.
You need to install XCode. The error message says that you don't have GCC in your mac. It will get installed as part of XCode

fatal error: 'mysql/mysql.h' file not found

I have installed mysql using
brew install mysql
Then compiled using
gcc -I/usr/include mydb.c
However it gives me the error:
fatal error: 'mysql/mysql.h' file not found
What am I doing wrong here? Am on macosx 10.12
edit: tried gcc -I/usr/local/include/mysql/ mydb.c still broken
On ubuntu16.04,mysql.h locates in /usr/include/mysql.
You can find it after install libmysqlclient20 or libmysqlclient-dev.
Verify at where are install mysql, for this, using the command for see the file list of directory
ls
and using
cd
The installation, in my example, are is in directory:
/usr/local/mysql-<version_my_mysql>/include/
second step is indicate the directory everytime compiller:
gcc my_program_code_file.c -I /usr/local/mysql-5.7.9-osx10.9-x86_64/include/ -o my_program_executable
the includers in code are:
#include <mysql.h>