Cygwin installation problem.

Sam Rawlins sam.rawlins at gmail.com
Thu Sep 30 18:38:08 CEST 2010


On Thu, Sep 30, 2010 at 7:13 AM, McCraley, Mark TECHNISOURCE INC. <
Mark.McCraley at hs.utc.com> wrote:

> I am pretty weak in UNIX so maybe I have a misunderstanding.
>
>
>
> I am trying to install gmp in Cygwin on a Win-XP machine in the Cygwin bash
> shell
>
> I ran make "./configure" - and ended up installing packages until it
> worked.
>
> I ran "make" and it was successful.
>
> I ran "make check" and it reported no errors.
>
>
>
> The problem is when I run "make install."
>
>
>
> I get this error:
>
> ~~~
>
> test -z "/usr/local/share/info" || mkdir -p -- . "/usr/local/share/info"
>  /cygdrive/c/Program Files/ShowCase Suite/bin/install -c -m 644 './
> gmp.info' '/usr/local/share/info/gmp.info'
> /bin/sh: line 13: /cygdrive/c/Program: No such file or directory
>  /cygdrive/c/Program Files/ShowCase Suite/bin/install -c -m 644
> './gmp.info-1' '/usr/local/share/info/gmp.info-1'
> /bin/sh: line 13: /cygdrive/c/Program: No such file or directory
>  /cygdrive/c/Program Files/ShowCase Suite/bin/install -c -m 644
> './gmp.info-2' '/usr/local/share/info/gmp.info-2'
> /bin/sh: line 13: /cygdrive/c/Program: No such file or directory
>  install-info --info-dir='/usr/local/share/info' '/usr/local/share/info/
> gmp.info'
> install-info: No such file or directory for /usr/local/share/info/gmp.info
> make[3]: Leaving directory `/usr/local/config/gmp-4.3.2/doc'
> make[2]: Leaving directory `/usr/local/config/gmp-4.3.2/doc'
> make[2]: Entering directory `/usr/local/config/gmp-4.3.2'
> make[3]: Entering directory `/usr/local/config/gmp-4.3.2'
> test -z "/usr/local/lib" || mkdir -p -- . "/usr/local/lib"
>  /bin/sh ./libtool --mode=install /cygdrive/c/Program Files/ShowCase
> Suite/bin/install -c  'libgmp.la' '/usr/local/lib/libgmp.la'
> libtool: install: `/usr/local/lib/libgmp.la' is not a directory
> Try `libtool --help --mode=install' for more information.
> make[3]: *** [install-libLTLIBRARIES] Error 1
> make[3]: Leaving directory `/usr/local/config/gmp-4.3.2'
> make[2]: *** [install-am] Error 2
> make[2]: Leaving directory `/usr/local/config/gmp-4.3.2'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/usr/local/config/gmp-4.3.2'
> make: *** [install] Error 2
>
>
>
> ~~~
>
> It looks like two issues to me.  First it does not like the space in
> "Program Files"  and second for some reason instead of copying over
> libgmp.la to /usr/local/lib,  it is looking for a /usr/local/lib/
> libgmp.la/ directory.
>

I would manually specify a prefix in configure. For example
./configure --prefix=/usr/local
or
./configure --prefix=/usr/local/gmp-4.3.2

Is this a recent (1.7.x) build of Cygwin?

Also, GMP is part of the Cygwin repositories if you don't mind installing it
that way.

-- 
Sam Rawlins


More information about the gmp-discuss mailing list