Re: Errors using configure when building packages
On 2016-10-17 16:54, Sinkler, Wharton wrote: Yes that did it. The problem was definitely caused by virus scan - McAfee. Not sure why, but excluding the folder from on-access scanner did not get rid of the error. Only by completely disabling Access Protection and On-Access Scanner in the McAfee console was I able to complete the configure script for ImageMagick on my Cygwin installation. Thanks for the help and hope this will help others who encounter this problem. What helps your system even more is deinstalling McAfee as it seems to take a really safe but really dumb approach which slows Cygwin and Windows drastically, unless you add a LOT of exclusions. Then you can enable Windows Defender, and download and install Microsoft Security Essentials if you are still on Win 7/8: Win 10 Defender includes MSE functions so it is not required there. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
RE: Errors using configure when building packages
Yes that did it. The problem was definitely caused by virus scan - McAfee. Not sure why, but excluding the folder from on-access scanner did not get rid of the error. Only by completely disabling Access Protection and On-Access Scanner in the McAfee console was I able to complete the configure script for ImageMagick on my Cygwin installation. Thanks for the help and hope this will help others who encounter this problem. -Original Message- From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of Ken Brown Sent: Friday, October 14, 2016 3:23 PM To: cygwin@cygwin.com Subject: Re: Errors using configure when building packages On 10/14/2016 1:46 PM, Sinkler, Wharton wrote: > I've got a new Cygwin installation on Win7, which has issues with configure, > the first step of building packages from source (I've seen this with > ImageMagick, libtiff and others so it's not specific to the package I'm > installing). > > It seems to sporadically be unable to remove a file 'conftest.exe' which is > compiled in the tests within configure. This shows up during configure as: > > rm: cannot remove 'conftest.exe': Device or resource busy > > The configure will then fail completely when this causes a critical test to > fail. > > I suspect that this might have something to do with slowness to release an > in-use file (the conftest.exe) in the Win7 operating system. I've searched > the archives and don't see this exact issue showing up in previous posts. > Have others experienced this problem? Is there a fix which will allow me to > complete building these packages? Do you have security software installed that might be interfering with Cygwin? Ken -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Errors using configure when building packages
On 10/14/2016 4:23 PM, Ken Brown wrote: > On 10/14/2016 1:46 PM, Sinkler, Wharton wrote: >> I've got a new Cygwin installation on Win7, which has issues with >> configure, the first step of building packages from source (I've seen >> this with ImageMagick, libtiff and others so it's not specific to the >> package I'm installing). >> >> It seems to sporadically be unable to remove a file 'conftest.exe' >> which is compiled in the tests within configure. This shows up during >> configure as: >> >> rm: cannot remove 'conftest.exe': Device or resource busy >> >> The configure will then fail completely when this causes a critical >> test to fail. >> >> I suspect that this might have something to do with slowness to >> release an in-use file (the conftest.exe) in the Win7 operating >> system. I've searched the archives and don't see this exact issue >> showing up in previous posts. Have others experienced this problem? >> Is there a fix which will allow me to complete building these packages? > > Do you have security software installed that might be interfering with > Cygwin? > This is often an issue of your security software having opened the conftest.exe for inspection and the configure script expects to delete it but cannot because it is now opened by another process. Exclude your working directory from the scan to resolve it. -- cyg Simple -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Errors using configure when building packages
Sinkler, Wharton wrote: I've got a new Cygwin installation on Win7, which has issues with configure, the first step of building packages from source (I've seen this with ImageMagick, libtiff and others so it's not specific to the package I'm installing). It seems to sporadically be unable to remove a file 'conftest.exe' which is compiled in the tests within configure. This shows up during configure as: rm: cannot remove 'conftest.exe': Device or resource busy The configure will then fail completely when this causes a critical test to fail. I suspect that this might have something to do with slowness to release an in-use file (the conftest.exe) in the Win7 operating system. I've searched the archives and don't see this exact issue showing up in previous posts. Have others experienced this problem? Is there a fix which will allow me to complete building these packages? I ran into a similar problem on linux - but was unable to describe it to the point where others could reproduce it -- so I manually worked around it in each case where it happened, until some SW-update to the autoconf-stuff made it go away. It also happened in multiple packages, so wasn't specific to any one -- but it also happened on *linux*. The problem is that somehow the information for "conftest.exe" will be *in* the directory "conftest.exe" with some temporary name. It's really a weird one -- but it happened with different files (where the actual file was in a directory that had the name of the file, and the actual file being in the directory with some name like "out". It happened with multiple SW products that I would build, but not most. Have no idea what caused it but do know that updating the autoconf-related SW eventually made it go away. Sorry can't be more precise, but when I tried reporting it as a bug, different dev-teams gave up and suggested re-formatting and re-installing linux. So helpful! Occasionally I run into weird problems -- because of how my system is setup -- but are still caused by bugs in the underlying SW -- like making perl, completely failed for a few years on my system because I had a RAID 50 where the "optimal write size" was 12*64KB (3 RAID-5's that were 4*64KB/stripe). The underlying Gnu DB library failed (probably still does, as no one wanted to try to fix it, was designed around the assumption that the optimal-write-size would always be a power-of-2 -- which it is not. I even told how to reproduce and test for it (using a VM), but it got ignored... ;^/ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Errors using configure when building packages
On 10/14/2016 1:46 PM, Sinkler, Wharton wrote: I've got a new Cygwin installation on Win7, which has issues with configure, the first step of building packages from source (I've seen this with ImageMagick, libtiff and others so it's not specific to the package I'm installing). It seems to sporadically be unable to remove a file 'conftest.exe' which is compiled in the tests within configure. This shows up during configure as: rm: cannot remove 'conftest.exe': Device or resource busy The configure will then fail completely when this causes a critical test to fail. I suspect that this might have something to do with slowness to release an in-use file (the conftest.exe) in the Win7 operating system. I've searched the archives and don't see this exact issue showing up in previous posts. Have others experienced this problem? Is there a fix which will allow me to complete building these packages? Do you have security software installed that might be interfering with Cygwin? Ken -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Errors using configure when building packages
I've got a new Cygwin installation on Win7, which has issues with configure, the first step of building packages from source (I've seen this with ImageMagick, libtiff and others so it's not specific to the package I'm installing). It seems to sporadically be unable to remove a file 'conftest.exe' which is compiled in the tests within configure. This shows up during configure as: rm: cannot remove 'conftest.exe': Device or resource busy The configure will then fail completely when this causes a critical test to fail. I suspect that this might have something to do with slowness to release an in-use file (the conftest.exe) in the Win7 operating system. I've searched the archives and don't see this exact issue showing up in previous posts. Have others experienced this problem? Is there a fix which will allow me to complete building these packages? Thanks, Wharton -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple