<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:"Lucida Console"}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p
        {margin-right:0cm;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
span.EmailStyle19
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Thanks Peter.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">I tried ‘chmod –R u+rw *’ from the ‘override’ folder and this produced the same result. However trying ‘chmod –R u+x *’ got me a bit further. The build started
but failed with the following error:</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt; font-family:"Lucida Console"">configure: creating ./config.status</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt; font-family:"Lucida Console"">.in'ig.status: error: cannot find input file: `</span></p>
<p class="MsoNormal"><span style="font-size:9.0pt; font-family:"Lucida Console"">Failed: ./configure --host=${build_host} --build=${build_system} --prefix="$root" --disable-static --disable-dependency-tracking PKG_CONFIG=pkg-config PKG_CONFIG_LIBDIR="${root}/lib/pkgconfig"
PKG_CONFIG_PATH= CC="${build_host}-gcc -static-libgcc" CPPFLAGS="${cppflags} -I${root}/include" CFLAGS="${cflags}" CXXFLAGS="${cxxflags}" LDFLAGS="${ldflags} -L${root}/lib" "$@" (line 271)</span><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Any ideas anyone?</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:11.0pt; font-family:"Calibri","sans-serif""> Peter Holmdahl [mailto:peter.holmdahl@gmail.com]
<br>
<b>Sent:</b> 16 April 2014 12:57<br>
<b>To:</b> John Stevenson-Hoare<br>
<b>Cc:</b> openslide-users@lists.andrew.cmu.edu<br>
<b>Subject:</b> Re: Problem building with substitute sources</span></p>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Hi,</p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Not an expert on the build process, but some thoughts..</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">The permission might come with the permissions on the files in git.</p>
</div>
<div>
<p class="MsoNormal">Since your using cygwin you _should_ be able to set whatever file permissions you want. Such as</p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">chmod -R u+rw *</span></p>
</div>
<div>
<p class="MsoNormal">to set read and write permission for user on all files in the current directory.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">cheers</p>
</div>
<div>
<p class="MsoNormal">//Peter</p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"> </p>
<div>
<p class="MsoNormal">2014-04-16 12:46 GMT+02:00 John Stevenson-Hoare <<a href="mailto:John.Stevenson-Hoare@ffei.co.uk" target="_blank">John.Stevenson-Hoare@ffei.co.uk</a>>:</p>
<blockquote style="border:none; border-left:solid #CCCCCC 1.0pt; padding:0cm 0cm 0cm 6.0pt; margin-left:4.8pt; margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="">I am trying to build with substitute sources using Cygwin on my Windows 7 64 bit PC.</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">I first performed a ‘git clone’ of the openslide ‘C’ library. Next I ran the ‘autoreconf –i’ command in that folder from my Cygwin64 Terminal.</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">I then created an ‘override/openslide’ folder (using Windows) in my ‘openslide-winbuild’ folder and copied (using Windows) the entire contents (except the .git folder and .gitignore file) of my ‘openslide’ folder to that location.</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">Changed directory to ‘openslide-winbuild’ and ran ‘./build.sh –m64 bdist’ from the terminal.</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">The following is reported:</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt; font-family:"Lucida Console"">Unpacking openslide from override directory...</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt; font-family:"Lucida Console"">Building openslide...</span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt; font-family:"Lucida Console"">./build.sh: line 271: ./configure: Permission denied</span></p>
<p class="MsoNormal" style=""><span style="font-size:9.0pt; font-family:"Lucida Console"">Failed: ./configure --host=${build_host} --build=${build_system} --prefix="$root" --disable-static --disable-dependency-tracking PKG_CONFIG=pkg-config PKG_CONFIG_LIBDIR="${root}/lib/pkgconfig"
PKG_CONFIG_PATH= CC="${build_host}-gcc -static-libgcc" CPPFLAGS="${cppflags} -I${root}/include" CFLAGS="${cflags}" CXXFLAGS="${cxxflags}" LDFLAGS="${ldflags} -L${root}/lib" "$@" (line 271)</span></p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">I had previously built the entire sources without the override folder and in order to trigger the override to occur deleted the ‘libopenslide-0.dll’ from the ‘root/bin’ folder and the ‘libopenslide.a and .la’ files from the ‘root/lib’
folder.</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">Using ‘ls –al’ reports that the ‘64/build/openslide-3.4.0’ folder has the following permissions:</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style=""><span style="font-size:9.0pt; font-family:"Lucida Console"">d---------+ 1 JSHoare unix products 0 Apr 16 11:32 openslide-3.4.0</span></p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">Any ideas where I might have gone wrong? Thanks. </p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"> </p>
</div>
</div>
<hr>
<div style="background-color:#FFFFFF; border:1px dotted #003333; padding:.8em">
<div align="center"><a href="http://www.ffei.co.uk"><img alt="FFEI Limited" src="http://www.ffei.co.uk/wp-content/uploads/2013/04/FFEI_Logo_BoxOnly_72dpi-Web-optimised-300x298.jpg" height="75" alt="FFEI_Logo_BoxOnly[1].png" border="0"></a>
<a href="http://www.ffei.co.uk/ffei-wins-third-queens-award-for-innovation/"><img alt="FFEI wins 3rd Queens award for innovation" src="http://www.ffei.co.uk/wp-content/uploads/2013/10/QA_small.png" height="75" border="0"></a></div>
<span style="font-size:12pt; font-family:'Cambria','times new roman','garamond',serif; color:#800080"><strong>CONFIDENTIALITY AND DISCLAIMER NOTICE</strong></span><br>
<p style="">This message and any attachment is confidential and is protected by copyright. If you are not the intended recipient, please email the sender and delete this message and any attachment from your system.
<br>
<br>
Dissemination and or copying of this email is prohibited if you are not the intended recipient. We believe, but do not warrant, that this email and any attachments are virus free. You should take full responsibility for virus checking.<br>
<br>
No responsibility is accepted by FFEI Ltd for personal emails or emails unconnected with FFEI Limited's business.
<br>
<br>
FFEI Limited is a limited company registered in England and Wales (Registered Number: 3244452).
</p>
<div align="center"><a href="http://www.linkedin.com/company/ffei" target="_blank"><img src="http://www.ffei.co.uk/wp-content/uploads/2013/10/linkedin_Small.png" border="0" alt="Join us on Linked In"></a>
<a href="https://twitter.com/FFEI_ltd" target="_blank"><img src="http://www.ffei.co.uk/wp-content/uploads/2013/10/twitter_small.png" height="30" border="0" alt="Follow @FFEI_ltd"></a>
<a href="http://www.youtube.com/user/FFEIPrintTechnology" target="_blank"><img src="http://www.ffei.co.uk/wp-content/uploads/2013/10/YouTube_small.png" height="30" border="0" alt="FFEI YouTube Channel"></a>
</div>
<div align="center"><span style="padding-top:10px; font-weight:bold; color:#000000; font-size:10pt; font-family:'Calibri',Arial,sans-serif">Registered Office: The Cube, Maylands Avenue, Hemel Hempstead, Hertfordshire, HP2 7DF, England.
</div>
</span></div>
</body>
</html>