Re: Anecdotal: Rebase and Visual Studio 2015 and /etc

2016-07-05 Thread Warren Young
On Jul 3, 2016, at 8:02 AM, Ken Brown wrote: > > it doesn't take dependency loops into account I’ve fixed that using your proposed “Dependency order” solution. I haven’t analyzed the output, but it is a bit longer than the last time, so I assume it has saved me from dropping all packages in a

Re: cygstart.exe can't open file:///C:/

2016-07-05 Thread Warren Young
On Jul 5, 2016, at 12:10 PM, Brian Inglis wrote: > > cygstart file://C:/ works Right. The extra leading slash is causing the POSIX to DOS command conversion to effectively give you $(cygpath -m /c:/) rather than what you expected, which was $(cygpath -m c:/) -- Problem reports: http:/

Re: how to compile cygwin from sources in cygwin(win 7)?

2016-07-05 Thread Warren Young
On Jul 4, 2016, at 6:34 AM, harryren0...@sina.com wrote: > > ../../../../cygwinSrc/winsup/cygwin/cxx.cc:32:32: error: unknown option after > '#pragma GCC diagnostic' kind [-Werror=pragmas] > #pragma GCC diagnostic ignored "-Wc++14-compat” That says you’re using a GCC that doesn’t understand -Wc+

Re: Anecdotal: Rebase and Visual Studio 2015 and /etc

2016-07-05 Thread Warren Young
On Jul 5, 2016, at 6:11 AM, KARL BOTTS wrote: > > I have been using 32-bit Cygwin for at least 15 > years, and being without it throws me into a tizzy. 64-bit Cygwin installs in parallel to 32-bit Cygwin, not over the top of it. If your 64-bit adventure is a complete failure, your 32-bit insta

Re: Anecdotal: Rebase and Visual Studio 2015 and /etc

2016-07-05 Thread Ken Brown
On 7/5/2016 9:59 AM, Ken Brown wrote: On 7/3/2016 10:02 AM, Ken Brown wrote: This script has a couple of problems. First, it doesn't take dependency loops into account. For example, if package p requires q and q requires p, then both will be marked as non-root. Second, if the mirror was use

Re: cygstart.exe can't open file:///C:/

2016-07-05 Thread Brian Inglis
Gene Pavlovsky gmail.com> writes: > On 4 July 2016 at 04:10, Juan Miguel Navarro Martínez gmail.com> wrote: >> On 2016-07-04 at 01:51, Gene Pavlovsky wrote: >>> cygstart‘s manpage says it’s similar to the Windows command-line start command. >>> However, cygstart file:///C:/ results in an error me

Re: Repairing permissions after windows reinstall -- scripts to do it

2016-07-05 Thread Henry S. Thompson
Here's what worked for me in the end, over several days (I had several hundred thousand files to fix): These could be parameterised much better, but I leave that as an exercise to the user... These both use subinacl, as getting /substitute ... /restore to work with icacls was beyond me. fixPerms

Re: how to build cygwin from source?

2016-07-05 Thread Marco Atzeri
On 05/07/2016 17:37, harryren0...@sina.com wrote: ../../../../cygwinSrc/winsup/cygwin/autoload.cc but this is a relative path. Have you some residual around of a previous build ? no, make distclean make I don't see the need of "make distclean" between "configure" and "make" on a empty build

Re: cygstart.exe can't open file:///C:/

2016-07-05 Thread Gene Pavlovsky
Juan, thanks for this, it does work. (on my system I setup `cygdrive` to be `/mnt` using fstab, though). But I think the C:/ syntax should be supported as well. After all, `ls C:/` works correctly on Cygwin. Don't you think? On 4 July 2016 at 04:10, Juan Miguel Navarro Martínez wrote: > Even if i

Re: Repairing permissions after windows reinstall

2016-07-05 Thread Andrey Repin
Greetings, Corinna Vinschen! > On Jul 4 06:27, Andrey Repin wrote: >> Greetings, Henry S. Thompson! >> >> > Andrey Repin writes: >> >> >> Greetings, Henry S. Thompson! >> >> >> >>> Good news: My cygwin file tree survived a Windows (10) reinstall >> >>> Not-so-good news: I have a new SID, so not

Re: Anecdotal: Rebase and Visual Studio 2015 and /etc

2016-07-05 Thread Ken Brown
On 7/3/2016 10:02 AM, Ken Brown wrote: On 7/1/2016 7:38 PM, Warren Young wrote: On Jul 1, 2016, at 4:40 PM, Warren Young wrote: I’ve written a script to do that automatically. I’ve improved the script so that it no longer requires any parameters. It finds the last-used setup.ini file and ex

Re: how to build cygwin from source?

2016-07-05 Thread Marco Atzeri
On 05/07/2016 14:46, harryren0...@sina.com wrote: I configured like this: mkdir /oss/src mkdir /oss/build mkdir /oss/install cd build /oss/src/configure --prefix=/oss/install this is a call to a configure with absolute path make >& make.out make install > install.log 2>&1 when i compiled cy

how to build cygwin from source?

2016-07-05 Thread harryren0524
I configured like this: mkdir /oss/src mkdir /oss/build mkdir /oss/install cd build /oss/src/configure --prefix=/oss/install make >& make.out make install > install.log 2>&1 when i compiled cygwin2.5.2-1 from source code in cygwin 2.2.1-1(win 7),i got a error: c++wrap -O2 -g -fno-rtti -fno-ex

Re: Anecdotal: Rebase and Visual Studio 2015 and /etc

2016-07-05 Thread Achim Gratz
KARL BOTTS usa.net> writes: > I am just a little nervous. I have been using 32-bit Cygwin for at least 15 > years, and being without it throws me into a tizzy. (I barely know how to use > WindowsExplorer.) Are there any gotchas I should know about? Here's another way to do it. http://permalin

Re: Anecdotal: Rebase and Visual Studio 2015 and /etc

2016-07-05 Thread KARL BOTTS
Karl Botts>> I use Cygwin32 on Windows-64. Warren Young> Then you’re artificially making rebase’s job harder. > The list of 32-bit-only Cygwin packages is tiny these days, and you’ve just > rebuilt your Cygwin environment. With my new find-cyg-roots script, you could > rebuild your current 32-bit

Re: How to build Emacs in Cygwin environment?

2016-07-05 Thread Andy Moreton
On Tue 05 Jul 2016, Xi Shen wrote: > Hi, > > I want to make some code change to Emacs for Windows, but first I need > to setup the build environment. > > I got the Emacs git repo, and tried "config msdos", but I got > "permission denied" error. If I execute "cmd" from Cygwin bash, I can > execute

Re: How to build Emacs in Cygwin environment?

2016-07-05 Thread Hans-Bernhard Bröker
Am 05.07.2016 um 08:38 schrieb Xi Shen: I want to make some code change to Emacs for Windows, but first I need to setup the build environment. I got the Emacs git repo, and tried "config msdos", That makes no sense. That step configures Emacs to build for _DOS_, not Windows. -- Problem re