On Mon, Jun 07, 2010 at 12:59:51PM -0700, Nasser M. Abbasi wrote: >On 6/7/2010 12:41 PM, Christopher Faylor wrote: >> On Mon, Jun 07, 2010 at 11:48:54AM -0700, Nasser M. Abbasi wrote: >>> >>> This is a bug report. attached is output of cygcheck -s -v -r (I get >>> some access denited warnings btw): >>> >>> $ cygcheck -s -v -r> cygcheck.out >>> /usr/bin/cygrunsrv: warning: OpenService failed for 'DcomLaunch': Win32 >>> error 5 >>> Access is denied. >>> /usr/bin/cygrunsrv: warning: OpenService failed for 'pla': Win32 error 5 >>> Access is denied. >>> /usr/bin/cygrunsrv: warning: OpenService failed for 'QWAVE': Win32 error 5 >>> Access is denied. >>> /usr/bin/cygrunsrv: warning: OpenService failed for 'RpcEptMapper': >>> Win32 error 5 >>> Access is denied. >>> /usr/bin/cygrunsrv: warning: OpenService failed for 'RpcSs': Win32 error 5 >>> Access is denied. >>> $ >> > >> This looks suspicious: >> >> Warning: C:\cygwin\bin\perl.exe hides G:\LATEX\perl\bin\perl.exe >> >> That would indicate that you have two versions of perl on your system. > >Yes, I have the windows version of perl (Active Perl 5.1) and cygwin own >perl. > >What is wrong with this? I need the windows version to be able to use >latex2html on windows, since I am not able to use latex2html installed >on cygwin. > >Can't one install different perl on windows if they have cygwin with its >own perl? cygwin perl comes before windows perl. windows perl is on >windows path (defined by using windows, outside cygwin). > >$ echo $PATH >/usr/local/bin:/usr/bin:/bin:/cygdrive/g/LATEX/MiKTeX2.8/miktex/bin:/cygdrive/g/ >LATEX/GnuWin32/bin:/cygdrive/g/LATEX/latex2html/bin:/cygdrive/g/LATEX/perl/bin:/ >cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbe >m:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/:/cygdrive/c/Program >Files > (x86)/ATI Technologies/ATI.ACE/Core-Static:/cygdrive/c/Program Files >(x86)/MATL >AB/R2008b Student/bin:/cygdrive/c/Program Files (x86)/MATLAB/R2008b >Student/bin/ >win32:/usr/lib/lapack
Rather than express amazement that I raised the issue why not just prove that this doesn't mean anything by simplifying your path and trying again? I would try just doing something like: c:\>set PATH=c:\cygwin\bin;c:\windows;c:\windows\system32;c:\windows\system32\Wbem bash$ ... I also meant to mention that you should remove the reference to /usr/bin since /bin and /usr/bin are the same directory under Cygwin. This won't have any effect other than to make things slightly slower but you don't need to have this in your path. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple