Can't install on Kali linux

Niels Möller nisse at lysator.liu.se
Fri Apr 15 07:57:09 CEST 2022


Adham Khalile Yousef <akhalileyousef at gmail.com> writes:

> First off, I don't really think that's a bug, so if I'm addressing the
> wrong staff a redirection would be appreciated :) .

I think the gmp-discuss at gmplib.org list is more appropriate for
installation and usage help.

> I'm unable to make anything with the Makefile.
> Steps:
> 1. Download latest gmp from official gmp site (gmp-6.2.1.tar.lz
> <https://gmplib.org/download/gmp/gmp-6.2.1.tar.lz>)
> 2. lzip then tar to extract; cd gmp<*>
> 3. sudo ./configure --enable-cxx --prefix=/usr

I can't say exactly what's going wrong, but except for make install, you
should *not* run configure and make as root (with sudo). Something like 

  ./configure --prefix=/usr
  make
  make check
  sudo make install

is expected to work, to install in a system directory like /usr.

> 4. make tries:
>      4.1 $> sudo make outputs: make: *** No targets specified and no
> makefile found.  Stop.

If there's no makefile, that sounds like the configure step failed.
Check if it produced any errors (and if it did, more details can be
found in config.log).

Regards,
/Niels

-- 
Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677.
Internet email is subject to wholesale government surveillance.


More information about the gmp-bugs mailing list