Bill Allombert on Sun, 04 Sep 2016 20:26:40 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: make install on Windows with Cygwin


On Wed, Aug 31, 2016 at 01:23:40PM +0000, GUGLIELMETTI Rafael wrote:
> Dear PARI devs,
> 
> I downloaded PARI 2.7.6 and compiled it under Cygwin (Cygwin64 on Windows7).
> 
> The make install process copy the file libpari-gmp.dll to the folder cygwin\usr\local\lib\
> 
> The problem with that is that by default cygwin does not look into this folder for DLLs.
> 
> I copied the file libpari-gmp.dll into cygwin\bin\ and the problem is solved.
> 
> Do you think it would be possible/make sense that the "installed" copy
> the file into the bin/ folder when using Cygwin?

It is better to set up the PATH variable correctly for your system.

Alternatively you can build PARI with
./Configure --libdir=cygwin\bin
(or whatever is appropriate)
and then make install will install libpari-gmp.dll in cygwin\bin

Cheers,
Bill.