This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]