Problem building with substitute sources

Peter Holmdahl peter.holmdahl at gmail.com
Wed Apr 16 07:57:06 EDT 2014


Hi,

Not an expert on the build process, but some thoughts..

The permission might come with the permissions on the files in git.
Since your using cygwin you _should_ be able to set whatever file
permissions you want. Such as
chmod -R u+rw *
to set read and write permission for user on all files in the current
directory.

cheers
//Peter


2014-04-16 12:46 GMT+02:00 John Stevenson-Hoare <
John.Stevenson-Hoare at ffei.co.uk>:

>  I am trying to build with substitute sources using Cygwin on my Windows
> 7 64 bit PC.
>
>
>
> 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.
>
>
>
> 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.
>
>
>
> Changed directory to ‘openslide-winbuild’ and ran ‘./build.sh –m64 bdist’
> from the terminal.
>
>
>
> The following is reported:
>
>
>
> Unpacking openslide from override directory...
>
> Building openslide...
>
> ./build.sh: line 271: ./configure: Permission denied
>
> 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)
>
>
>
> 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.
>
>
>
> Using ‘ls –al’ reports that the ‘64/build/openslide-3.4.0’ folder has the
> following permissions:
>
>
>
> d---------+ 1 JSHoare unix products 0 Apr 16 11:32 openslide-3.4.0
>
>
>
> Any ideas where I might have gone wrong? Thanks.
>  ------------------------------
>  [image: FFEI Limited] <http://www.ffei.co.uk> [image: FFEI wins 3rd
> Queens award for innovation]<http://www.ffei.co.uk/ffei-wins-third-queens-award-for-innovation/>
> *CONFIDENTIALITY AND DISCLAIMER NOTICE*
>
> 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.
>
> 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.
>
> No responsibility is accepted by FFEI Ltd for personal emails or emails
> unconnected with FFEI Limited's business.
>
> FFEI Limited is a limited company registered in England and Wales
> (Registered Number: 3244452).
> [image: Join us on Linked In] <http://www.linkedin.com/company/ffei> [image:
> Follow @FFEI_ltd] <https://twitter.com/FFEI_ltd> [image: FFEI YouTube
> Channel] <http://www.youtube.com/user/FFEIPrintTechnology>
> Registered Office: The Cube, Maylands Avenue, Hemel Hempstead,
> Hertfordshire, HP2 7DF, England.
>
> _______________________________________________
> openslide-users mailing list
> openslide-users at lists.andrew.cmu.edu
> https://lists.andrew.cmu.edu/mailman/listinfo/openslide-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/openslide-users/attachments/20140416/e1d32c48/attachment.html 


More information about the openslide-users mailing list