Bazaar installed from source does not work under cygwin
Alexander Belchenko
bialix at ukr.net
Sat Sep 29 18:25:17 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Nicholas Allen пишет:
>
>> No, windows python works much worse inside cygwin, because it know
>> nothing about emulation of posix system provided by cygwin.
>> And absolute path mismatch is the top of iceberg.
>>
>> A while ago John Meinel said he used standalone bzr.exe for Cygwin.
>> I think it's best solution for your problem.
>>
>> But I'm sure the right solution here: you need to install bzr on cygwin.
> Actually, I always used the install wizard version under Cygwin with no
> problems. I only decided to use the source one as 0.91 installer had not
> been released yet. I would have thought that it would be possible to
> have the same functionality when installing from source as using the
> installer.
>
> I have found that if I type bzr.bat it works. In the scripts directory
> there are 2 bzr files. One is a python one called "bzr" and the other is
> "bzr.bat". bzr.bat call bzr but it seems under Cygwin the "bzr" python
> script is called directly instead of through the bzr.bat script.
It's because Cygwin use shebang line. If you remove this line from bzr
script then Cygwin won't try to launch this file. Furthermore, this
shebang has no effect for windows python.
> A solution I found is to rename the "bzr" script to "bzr.py" and then
> add a bash script called "bzr" that launches the "bzr.bat" file. With
> this setup bzr works from both Cygwin and DOS. I guess it would make
> sense to have this as the default setup after install from source on
> Windows wouldn't it?
No, I don't think so.
I think, if you want work on Cygwin with windows-based bzr, then
standalone bzr.exe will help you without any twist with bzr[.py|bat|sh]
scripts.
- --
[µ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFG/op9zYr338mxwCURAvA6AJ9vzYFgikaaZB85vT/kcfSdmgdhzwCeNvP0
qx++ccIXHd4JiIkHBXyx1bI=
=UPu/
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list