Re: [AUCTeX] AUCTeX, Cygwin and Vista
David Kastrup writes: >Ciaran Taylor <[EMAIL PROTECTED]> writes: > >> I've tried to follow your advice with Cygwin, but run into a weird >> difficulty: >> I get "/bin/sh: command not found". "which sh" shows >> /cygdrive/c/cygwin/bin/sh. >> I've replaced /bin/sh with /cygdrive/c/cygwin/bin/sh everywhere I've >> found >> it. > >You should rather have started Cygwin with the respective batch script >which is, if I remember correctly, supposed to _mount_ the bin and other >directories (which gets recorded in the registry or something). Not the batch script, but rerunning setup.exe under the Administrator account worked (even though Cygwin was installed for all users from beginning). >> I have no experience with Cygwin, but I notice that the file >> INSTALL.windows says "Avoid `helpful' magic file names like >> `/cygdrive/c' and `C:\PROGRA~1\' like the plague. It is quite >> unlikely that the scripts will be able to identify the actual file >> names involved." I don't entirely understand what the problem might >> be with `/cygdrive/c' , but could your difficulties be something to do >> with this? > >Possibly. c:/whatever is probably what should have been used here, but >this does not change that Cygwin will not be able to find /bin/sh for >scripting (an entirely different problem, actually) unless /bin is >actually mounted. It worked! Thank you! -- View this message in context: http://www.nabble.com/AUCTeX%2C-MSYS-and-Vista-tp15467938p15583176.html Sent from the Gnu - AUCTeX - General mailing list archive at Nabble.com. ___ auctex mailing list auctex@gnu.org http://lists.gnu.org/mailman/listinfo/auctex
Re: [AUCTeX] AUCTeX, Cygwin and Vista
Ciaran Taylor <[EMAIL PROTECTED]> writes: > I've tried to follow your advice with Cygwin, but run into a weird > difficulty: > I get "/bin/sh: command not found". "which sh" shows > /cygdrive/c/cygwin/bin/sh. > I've replaced /bin/sh with /cygdrive/c/cygwin/bin/sh everywhere I've found > it. You should rather have started Cygwin with the respective batch script which is, if I remember correctly, supposed to _mount_ the bin and other directories (which gets recorded in the registry or something). > I have no experience with Cygwin, but I notice that the file > INSTALL.windows says "Avoid `helpful' magic file names like > `/cygdrive/c' and `C:\PROGRA~1\' like the plague. It is quite > unlikely that the scripts will be able to identify the actual file > names involved." I don't entirely understand what the problem might > be with `/cygdrive/c' , but could your difficulties be something to do > with this? Possibly. c:/whatever is probably what should have been used here, but this does not change that Cygwin will not be able to find /bin/sh for scripting (an entirely different problem, actually) unless /bin is actually mounted. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum ___ auctex mailing list auctex@gnu.org http://lists.gnu.org/mailman/listinfo/auctex
Re: [AUCTeX] AUCTeX, Cygwin and Vista (Was: AUCTeX, MSYS and Vista)
Alexey Romanov wrote: Uwe Siart wrote: On 13 Feb 2008 at 21:05, Ciaran Taylor wrote: I'm posting this in case it's useful to users of Windows Vista who now need to use MSYS to install the latest AUCTeX. Does this mean Cygwin isn't supposed to work? Maybe, but ... On my new PC at home (which runs Windows Vista), I had no problems with Emacs 22.1 but when I came to install AUCTeX, configure and make were fine, but make install didn't get very far without being denied permission. I tried fiddling with permissions on various programs, but nothing worked. Then I tried enabling the Administrator account and installing from there: problem solved! ... I'd not consider this a flaw because the messages of 'make' clearly say: "Now run 'make install' as root". -- Uwe Sure, installing as root is natural on *n*x, but it is not entirely obvious what the Windows equivalent is. In XP all that was necessary was to run 'make install' from a user account with administrator privileges (one might think this was equivalent to "run as root") but in Vista this is not enough: you need to use the Administrator account. This is not entirely straightforward: the Administrator account is hidden in Vista (as it was in XP also) so you have to find it and enable it before you can use it. It took me a while to figure this out, so I thought it might be helpful to report it. Anyway, I'm not reporting this as a fault, merely a tip to other Vista users. Ciaran. I've tried to follow your advice with Cygwin, but run into a weird difficulty: I get "/bin/sh: command not found". "which sh" shows /cygdrive/c/cygwin/bin/sh. I've replaced /bin/sh with /cygdrive/c/cygwin/bin/sh everywhere I've found it. Now "configure" works (if --disable-preview is used, otherwise it finds /bin/sh somehow on the line 4459) and so does "make". "make install" gets me "/cygdrive/c/cygwin/bin/sh: ./mkinstalldirs: No such file or directory make: [install-el] Error 127 (ignored)" two times, then it tries to access a non-existent directory, which obviously doesn't work. All of this only happens under Administrator account -- my own (administrator) account accesses ./mkinstalldirs all right, but of course "make install" doesn't work. I have no experience with Cygwin, but I notice that the file INSTALL.windows says "Avoid `helpful' magic file names like `/cygdrive/c' and `C:\PROGRA~1\' like the plague. It is quite unlikely that the scripts will be able to identify the actual file names involved." I don't entirely understand what the problem might be with `/cygdrive/c' , but could your difficulties be something to do with this? Best regards, Ciaran. ___ auctex mailing list auctex@gnu.org http://lists.gnu.org/mailman/listinfo/auctex
[AUCTeX] AUCTeX, Cygwin and Vista (Was: AUCTeX, MSYS and Vista)
>Uwe Siart wrote: >> On 13 Feb 2008 at 21:05, Ciaran Taylor wrote: >> >> >>> I'm posting this in case it's useful to users of Windows Vista who now >>> need to use MSYS to install the latest AUCTeX. >>> Does this mean Cygwin isn't supposed to work? >> >> Maybe, but ... >> >> >>> On my new PC at home (which runs Windows Vista), I had no problems >>> with Emacs 22.1 but when I came to install AUCTeX, configure and make >>> were fine, but make install didn't get very far without being denied >>> permission. I tried fiddling with permissions on various programs, >>> but nothing worked. Then I tried enabling the >>> Administrator account and installing from there: problem solved! >>> >> >> ... I'd not consider this a flaw because the messages of 'make' clearly >> say: "Now run 'make install' as root". >> >> -- >> Uwe >> >Sure, installing as root is natural on *n*x, but it is not entirely >obvious what the Windows equivalent is. In XP all that was necessary was >to run 'make install' from a user account with administrator privileges >(one might think this was equivalent to "run as root") but in Vista this >is not enough: you need to use the Administrator account. This is not >entirely straightforward: the Administrator account is hidden in Vista >(as it was in XP also) so you have to find it and enable it before you >can use it. It took me a while to figure this out, so I thought it >might be helpful to report it. > >Anyway, I'm not reporting this as a fault, merely a tip to other Vista >users. > >Ciaran. I've tried to follow your advice with Cygwin, but run into a weird difficulty: I get "/bin/sh: command not found". "which sh" shows /cygdrive/c/cygwin/bin/sh. I've replaced /bin/sh with /cygdrive/c/cygwin/bin/sh everywhere I've found it. Now "configure" works (if --disable-preview is used, otherwise it finds /bin/sh somehow on the line 4459) and so does "make". "make install" gets me "/cygdrive/c/cygwin/bin/sh: ./mkinstalldirs: No such file or directory make: [install-el] Error 127 (ignored)" two times, then it tries to access a non-existent directory, which obviously doesn't work. All of this only happens under Administrator account -- my own (administrator) account accesses ./mkinstalldirs all right, but of course "make install" doesn't work. -- View this message in context: http://www.nabble.com/AUCTeX%2C-MSYS-and-Vista-tp15467938p15567331.html Sent from the Gnu - AUCTeX - General mailing list archive at Nabble.com. ___ auctex mailing list auctex@gnu.org http://lists.gnu.org/mailman/listinfo/auctex