X-Spam-Check-By: sourceware.org Message-ID: <462BA38A.A68957A7@dessent.net> Date: Sun, 22 Apr 2007 11:03:54 -0700 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Setup.exe Problems on Vista References: <462B002F DOT A1E27066 AT dessent DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com "Michael D. Adams" wrote: > > Please try the latest setup.exe snapshot, if you can. And even better > > would be to debug the problem. I don't have access to a Vista system > > but if I did I think I would start by running it under gdb/insight and > > putting a breakpoint at script.cc:run() right before CreateProcess and > > check the environment. Or create a test package with a postinstall that > > just runs "env > /tmp/foo" or "sleep 1h" or something so that you can > > inspect the environment. > > Where are those snapshots located? A quick google didn't turn them up. Greg already answered this but I'll point out that setup.exe has a home page: http://sourceware.org/cygwin-apps/setup.html > Since I already have a Cygwin install, does Cygwin play ok if I put a > second install (for testing the snapshot) or do I need to remove the > old Cygwin install first? You can "stash away" your current Cygwin install rather easily to make it as if it doesn't exist for the purposes of testing. The steps I use are roughly: - stop all Cygwin processes/services - from a command prompt, cd \cygwin\bin (if it's not in your PATH) and run "mount -m >oldmounts.bat" followed by "umount -A". You'll need to be administrator for this if you have system mounts. - rename \cygwin to something else, e.g. \cygwin-old (this is optional but it just ensures that any remaining references to it will not find it.) Now you can rerun setup.exe and it should proceed to install as if there was no Cygwin on your system. To go back to your original install, follow the above steps to nuke your testing install, then - rename \cygwin-old back to its original name - from a command prompt, cd to \cygwin\bin and run oldmounts.bat > Last thing I wanted to say was to note that I'm not set up for > developing cygwin. So while I'm happy to run test builds, I haven't a > clue how to build setup.exe or a package. (Unfortunately my > involvement in other open source projects doesn't leave me with the > time to learn how to do that either.) Well, since setup.exe is not a Cygwin app there is no need to have Cygwin debug symbols available as they aren't necessary. Building setup.exe is essentially a "configure" then "make" affair if you build from a non-CVS tarball, but there are a few extra options you need to specify. It's all explained in the file README. I have considered providing a copy of the snapshot with debugging symbols but there could be problems with the paths to the source files not matching the ones on my system used when compiling. (Note that you can work around this if you have a newish gdb with "set/show substitute path" but if you've built gdb yourself then I don't think you'd have a problem building setup yourself.) Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/