Problem building with substitute sources
Peter Holmdahl
peter.holmdahl at gmail.com
Wed Apr 16 08:48:09 EDT 2014
Hi,
again the build is not my bag of tea, but judging from the error message
"file: `" I suspect that the script is interpreted wrong. A filename or
command to generate the filename is quoted with ` and ´. I think this might
show up when you try to use a script written for one shell used in another
(like when going from linux to cygwin) (but I'm on thin ice here :-)
I have no quick fix for that :-/
//Peter
2014-04-16 14:41 GMT+02:00 John Stevenson-Hoare <
John.Stevenson-Hoare at ffei.co.uk>:
> Thanks Peter.
>
>
>
> 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:
>
>
>
> configure: creating ./config.status
>
> .in'ig.status: error: cannot find input file: `
>
> 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)
>
>
>
> Any ideas anyone?
>
>
>
>
>
> *From:* Peter Holmdahl [mailto:peter.holmdahl at gmail.com]
> *Sent:* 16 April 2014 12:57
> *To:* John Stevenson-Hoare
> *Cc:* openslide-users at lists.andrew.cmu.edu
> *Subject:* Re: Problem building with substitute sources
>
>
>
> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/openslide-users/attachments/20140416/cb9ea6fc/attachment.html
More information about the openslide-users
mailing list