Web lists-archives.com

RE: [Mingw-msys] auto<stuff> troubles.

On 2007-11-15 16:52Z, Eric Fernandez wrote:
> I have discovered a very serious bug in the make.exe which is packaged
> in msys and I recommend people to replace it with latest version 3.81.

make-3.79.1 is seven years old, so there would naturally be a
strong presumption that any problem this fundamental would
already have been discovered.

> This was found out trying to compile Sundials CVODE library
> http://www.llnl.gov/CASC/sundials/ using Cygwin/MingW/MSYS. I reported
> the problem on their mailing-list. When trying to compile cvode-2.5.0,
> make truncates the build paths, leading to cd failing to change
> directory.

Do you mean you're mixing Cygwin and MSYS? My copy of MSYS's
readme says "You can't use Cygwin binaries at all" with MSYS.

> Ex:
>> make[1]: Entering directory `/c/cvode-2.5.0/src/sundials'
>> /bin/sh ../../libtool --mode=compile gcc  -I../../src 
>> -I./../../include -c ./sundials_band.c gcc -I../../src 
>> -I./../../include -c ./sundials_band.c -o sundials_band.o echo 
>> timestamp > sundials_band.lo /bin/sh ../../libtool --mode=compile gcc
>> -I../../src -I./../../include -c ./sundials_dense.c
>> [...]
>> gcc -I../../src -I./../../include -c ./sundials_sptfqmr.c -o 
>> sundials_sptfqmr.o echo timestamp > sundials_sptfqmr.lo
>> make[1]: Leaving directory `/c/cvode-2.5.0/src/sundials'
>> /bin/sh: cd: /cygdrive/c/cvode-2.5.0: No such file or directory
> Here make truncates /cygdrive/c/cvode-2.5.0 to /c/cvode-2.5.0 and stat
> obviously fails.

This looks like a Cygwin/MSYS mixup, not a 'make' defect.

> After updating make to version 3.81 (downloading the one provided under
> cygwin), this worked flawlessly.
> I recommend MSYS packagers to release a new stable version with make
> 3.81 and drop make 3.79.1 completely. I see that 3.81 is in the
> Technology Preview, but not in the "Current Release", which still has
> 3.79.1.

Try using either Cygwin alone or MSYS alone.

This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
Mingw-msys mailing list