[Botan-devel] Trouble running configure on cygwin
William K. Foster
wkf at alum.mit.edu
Fri Feb 18 11:09:16 EST 2011
I'll try that out, thanks.
I had already worked around with --os=cygwin and it runs into another issue
with symlinks. The file system I am building on is a samba mounted linux
drive. When Botan goes to create symbolic links for header files in (from
memory) build/include/*.h the files appear to the build as regular file
whose contents is some binary data including the tag <symlink>. I'm
guessing this is a Windows style symbolic link, but it needs to be a linux
style symbolic link.
On Fri, Feb 18, 2011 at 5:32 AM, Jack Lloyd <lloyd at randombit.net> wrote:
> On Thu, Feb 17, 2011 at 05:04:41PM -0800, William K. Foster wrote:
> > Hello,
> > I am trying to build Botan v1.8.11 on Windows XP using Cygwin.
> > The configure fails with the message:
> > Unknown OS "cygwin_nt-5.1"; available options: aix beos cygwin darwin
> > dragonfly freebsd hpux irix linux mingw netbsd openbsd qnx solaris tru64
> > windows
> > Where does the 'cygwin_nt-5.1' come from and how do I correct it to just
> > 'cygwin'?
> Hi William,
> The cygwin_nt-5.1 comes from what Python's platform module
> reports the system to be.
> You can override the guess by passing --os=cygwin to configure.py
> The following patch should also fix it; it will be included in
> the next release (if you could test and confirm it fixes the
> problem, that it would be appreciated):
> --- configure.py 646ee5cb324b79ecddbb270259b4ced7f05fc35c
> +++ configure.py 3cd55f8893b71cd6e869233f62e5c09129de243a
> @@ -1059,6 +1059,10 @@ def main(argv = None):
> if options.os == "java":
> raise Exception("Jython detected: need --os and --cpu to set
> + if re.match('^cygwin_.*', options.os):
> + logging.debug("Converting '%s' to 'cygwin'", options.os)
> + options.os = 'cygwin'
> options.base_dir = os.path.dirname(argv)
> options.src_dir = os.path.join(options.base_dir, 'src')
> botan-devel mailing list
> botan-devel at randombit.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the botan-devel