0

I have a questition about an error occuring while I tried to install the GMP-Package with cygwin.

I already read through the other threads, however - the solutions suggested do not help me solving the problem.

I already installed the automake-package and I tried to procceed as suggested in another thread, however I am troubling where to insert config.guess since I do not understand what is meant by

your build tree

Can somebody help me to solve my issue?

Thanks a lot!

Community
  • 1
  • 1
Value Driver
  • 137
  • 1
  • 2
  • 8

1 Answers1

2

Solution 1 (strongly suggested) Install gmp cygwin packages:

gmp                                     6.1.0-3p1
libgmp-devel                            6.1.0-3p1
libgmp10                                6.1.0-3p1
libgmpxx4                               6.1.0-3p1

Solution 2 (to build your self)

It requires packages: Autoconf, automake, libtool

wget https://gmplib.org/download/gmp/gmp-6.1.0.tar.lz
tar -xf gmp-6.1.0.tar.lz
cd  gmp-6.1.0
autoreconf -ifv 
./configure
make
matzeri
  • 8,062
  • 2
  • 15
  • 16
  • I get the message: 'configure.ac' or 'configure.in' is required. – Value Driver May 04 '16 at 07:57
  • which GMP software ? `https://gmplib.org/` gmp 6.1.0-3p1 is available on cygwin as package and its original source has configure.ac in `https://gmplib.org/download/gmp/gmp-6.1.0.tar.lz` – matzeri May 04 '16 at 08:09
  • I already downloaded the gmp-package from its website. However, by installing gmp using ./configure --prefix=${gmp_install} it says the error mentioned above. – Value Driver May 04 '16 at 08:13
  • I suggest you to install the gmp cygwin package binary. In addition `autoreconf -ifv` in the source tree works fine – matzeri May 04 '16 at 08:20
  • Where is the "source tree"? I tried autoreconf -ifv in the cygwin64-folder. However, the whole folder neither contents configure.ac nor configure.in. – Value Driver May 04 '16 at 08:29
  • You are clearly missing the basegroung : `tar -xf gmp-6.1.0.tar.lz` `cd gmp-6.1.0` `autoreconf -ifv` – matzeri May 04 '16 at 08:32
  • Sorry, I misunderstood you. I now performed autoreconf -ifv correctly. However, now several errors occur saying "error: possibly undefined macro". The last line says "/usr/bin/autoconf-2.69 failed with exit status: 1". – Value Driver May 04 '16 at 08:37