Re: Having trouble building the library...

2020-03-05 Thread Vincent Lefevre
On 2020-03-05 22:30:51 +0100, Torbjorn Granlund wrote:
> D Lee  writes:
> 
>   *These are my steps:*
>   Downloaded and unpacked.
>   mkdir gmp-obj *outside* of the source tree.
>   cd gmp-obj
>   ../gmp-6.2.0/gmp-6.2.0/configure >> configure.log 2>&1 (see attached
>   configure.log file)
>   make check >> make-check.log 2>&1 (see attached make-check.log)
> 
> You forgot the plain "make" step.

Shouldn't "make check" build the required dependencies?
In MPFR, one can run "make check" without "make" first.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: Having trouble building the library...

2020-03-05 Thread Torbjörn Granlund
D Lee  writes:

  *These are my steps:*
  Downloaded and unpacked.
  mkdir gmp-obj *outside* of the source tree.
  cd gmp-obj
  ../gmp-6.2.0/gmp-6.2.0/configure >> configure.log 2>&1 (see attached
  configure.log file)
  make check >> make-check.log 2>&1 (see attached make-check.log)

You forgot the plain "make" step.

-- 
Torbjörn
Please encrypt, key id 0xC8601622
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Having trouble building the library...

2020-03-05 Thread D Lee
I'm trying to build v6.2.0, having download the source,  gmp-6.2.0.tar.lz ,
from https://gmplib.org.  Downloaded the documentation, *gmp-man-6.2.0.pdf*,
and am following *Ch 2 Installing GMP*; when I do the *make check*, I get
the following error:

libtool:   error: cannot find the library '../libgmp.la' or unhandled
argument '../libgmp.la'

*These are my steps:*
Downloaded and unpacked.
mkdir gmp-obj *outside* of the source tree.
cd gmp-obj
../gmp-6.2.0/gmp-6.2.0/configure >> configure.log 2>&1 (see attached
configure.log file)
make check >> make-check.log 2>&1 (see attached make-check.log)

These are the versions:

cat /etc/debian_version = 9.12
gcc --version  = gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
bash --version = GNU bash, version 4.4.12(1)-release
(x86_64-pc-linux-gnu)
make --version = GNU Make 4.3
libtool --version  = libtool (GNU libtool) 2.4.6
autoconf --version = autoconf (GNU Autoconf) 2.69
automake --version = automake (GNU automake) 1.16.1
binutils   = binutils/oldstable,now 2.28-5 amd64 [installed]
uname -a = Linux v-LD9 4.9.0-7-amd64 #1 SMP Debian 4.9.110-3+deb9u2
(2018-08-13) x86_64 GNU/Linux

My apologies, I'm not familiar with libtool (yet) and thank you for any
help.

Regards,
David
<>
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs