Cygwin installation problem.

McCraley, Mark TECHNISOURCE INC. Mark.McCraley at hs.utc.com
Thu Sep 30 16:13:06 CEST 2010


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.

 

Does anyone know what I can do to fix these problems?  Is there some setting I need to add to an install script?

 

Thanks, 

 

Mark



More information about the gmp-discuss mailing list