[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] building cygwin package
From: |
Stephen Leake |
Subject: |
[Monotone-devel] building cygwin package |
Date: |
Wed, 16 Mar 2011 18:39:57 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (windows-nt) |
I've pulled from Lapo's repository, and I'm trying to build a cygwin
package for 1.0dev.
Here's my steps so far:
$ mtn -d ~/monotone-dbs/lapo.db pull "mtn://lapo.it?it.lapo.cygwin.ports"
$ cd /Projects/monotone
$ mtn -d ~/monotone-dbs/lapo.db checkout -b it.lapo.cygwin.ports cygwin
$ cd cygwin
$ mtn mv monotone-$0.99-1.cygport monotone-1.0dev-1.cygport
edit monotone-1.0dev-1.cygport to add '-g -O2' to CXXFLAGS
$ cd ../monotone-build_cygwin; make dist-gzip
$ cp ../monotone-build_cygwin/monotone-1.0dev.tar.gz .
$ cygport /Projects/monotone/cygwin/monotone-1.0dev-1 all
I have two issues; one with Cygwin 'pwd', the other with cygport
The problem with 'pwd' is that it returns c:/ syntax when run under
Emacs, and I can't figure out why. For example, in the canonical Bash
window, I get:
$ cd
$ pwd
/Stephe
$ /bin/pwd
/Stephe
but in a shell window under Emacs, I get:
$ cd
$ pwd
c:/Stephe
$ /bin/pwd
/Stephe
This is in Emacs -q, with ~/.bash_profile, ~/.emacs_bash renamed away (I
don't have a ~/.bashrc).
Any clues as to why this is happening?
The same problem led to some recent fixes I put in Monotone.am.
The second problem is with cygport. it trundles along until it gets
mostly done building mtn.exe, then hangs, with Windows Task Manager
reporting that 'make.exe' is using one full CPU.
Running 'make' in that directory
(/Projects/monotone/cygwin/monotone-1.0dev-1/build) finishes cleanly.
How do I find out the exact command that cygport is executing?
--
-- Stephe
- [Monotone-devel] building cygwin package,
Stephen Leake <=