Re: Can't install on Kali linux

2022-04-15 Thread Marco Bodrato

Ciao,

I agree with the message by Niels. But I add a comment.

Il 2022-04-14 21:59 Adham Khalile Yousef ha scritto:
My purpose of install gmp is to be able to"# include " in other 
C

programs on my machine (i.e., same linux, I even tried to give


If your purpose is simply to use the library, and you have problems 
compiling it from source, I'd suggest to install the pre-packaged one, 
that your linux distribution surely provides. Did you say Kali, and Kali 
is Debian-based? So something like "apt install libgmp-dev" should do...


Ĝis,
m

--
http://bodrato.it/papers/
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: Can't install on Kali linux

2022-04-14 Thread Niels Möller
Adham Khalile Yousef  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-disc...@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
> )
> 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.
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Can't install on Kali linux

2022-04-14 Thread Adham Khalile Yousef
Hi,
My name is Adham Khalile
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'm unable to make anything with the Makefile.
Steps:
1. Download latest gmp from official gmp site (gmp-6.2.1.tar.lz
)
2. lzip then tar to extract; cd gmp<*>
3. sudo ./configure --enable-cxx --prefix=/usr
PS in the above I tried many other configurations, none seems to be helping
with the next troublesome step
4. make tries:
 4.1 $> sudo make outputs: make: *** No targets specified and no
makefile found.  Stop.
 4.2 $> sudo make check outputs: make: *** No rule to make target
'check'.  Stop.
 4.3 $> sudo make install outputs: make: *** No rule to make target
'install'.  Stop.

in both Makefiles (in and am) I can see the rules,
help would be appreciated.
uname -a output (if helpful):
Linux kali 5.15.0-kali3-amd64 #1 SMP Debian 5.15.15-2kali1 (2022-01-31)
x86_64 GNU/Linux
My purpose of install gmp is to be able to"# include " in other C
programs on my machine (i.e., same linux, I even tried to give
--host=x86_64-linux-gnu --target=x86_64-linux-gnu to the ./configure step
with x86_64-linux-gnu and it also didn't help)
Thanks.
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs