I am installing a library, and got this error message:
xxxx@ubuntu$ make
(cd num; make all)
make[1]: Entering directory `/home/xxxx/num\'
make[1]: Nothing to
Because it can happen that you need this library in 32 bit format for any particular reason (like it was for me)
You will need to run (on an Ubuntu/Debian) :
apt-get install libgmp3-dev:i386
the suffix :i386
behind any library will install the 32 bits version of it.
On OS X (if you're using Homebrew), do this:
brew install gmp
I did a lot of research and finally I could compile hue with the following environment variables:
export CPFLAGS="-I/usr/local/include/gmp.h -I/usr/local/opt/openssl/include"
export CFLAGS="-I/usr/local/include/gmp.h"
export CXXFLAGS="-I/usr/local/include/gmp.h"
export LDFLAGS="-L/usr/local/lib -L/usr/local/opt/openssl/lib"
export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"
you need to install libgmp3-dev
depends on your linux
yum install libgmp3-dev
apt-get install libgmp3-dev
For me this worked:-
apt-get install libgmp3-dev (Might vary in linux distro; this is for Ubuntu)
pip3 install gmpy --user
This may sound kind of dumb:
whenever I got an error , I just did :
sudo apt-get install lib<name_of_library_not_found>-dev
and it somehow solved the problem.
Don't Know how, something to do with developer libraries or something