building cygwin package

Stephen Leake <[email protected]>
Newsgroups gmane.comp.version-control.monotone.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.