This is the mail archive of the cygwin-xfree@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Installation How-To Draft


The CYGWIN variable must be in the environment _before_ the shell starts
(set in the .bat or in the system->environment control panel applet). 
So, was the second ls in your example done from an xterm/bash?  If so,
its likely the first bash did not see the same variable values as the
second, affecting the output of the ls command.

Its not clear to me, in the first case, where CYGWIN is being set, nor
where the ls is being done, for both cases.  Could you supply a bit more
detail on the sequence of operations?

Olivier Jacquemin wrote:
> 
> Hello,
> 
> ntsec is the origin.  On my installation the CYGWIN environment variable is
> set to
> ntsec binmode tty
> If I do 'export CYGWIN='
> and then remove the /usr/X11R6/ directory and untar the X packages again,
> then xfree starts correctly.  At this moment, 'ls -l *.dll' gives
> -rw-r--r--   1 oja      None        72704 Jul 16 19:30 libICE.dll
> -rw-r--r--   1 oja      None       203776 Jul 16 19:30 libPEX5.dll
> -rw-r--r--   1 oja      None        29184 Jul 16 19:30 libSM.dll
> -rw-r--r--   1 oja      None       726528 Jul 16 19:30 libX11.dll
> 
> Afterward if I type
> export CYGWIN='ntsec binmode tty'
> then X starts correctly again, but 'ls -l *.dll' gives (without any use of
> chmod)
> -rwxr-xr-x   1 administ None        72704 Jul 16 19:30 libICE.dll*
> -rwxr-xr-x   1 administ None       203776 Jul 16 19:30 libPEX5.dll*
> -rwxr-xr-x   1 administ None        29184 Jul 16 19:30 libSM.dll*
> -rwxr-xr-x   1 administ None       726528 Jul 16 19:30 libX11.dll*
> 
> The least I can say is that I don't understand this fully.
> 
>         _Olivier_
> 
> > -----Original Message-----
> > From: Robert Collins [SMTP:robert.collins@itdomain.com.au]
> > Sent: Tuesday, September 12, 2000 11:51 PM
> > To:   Chris Faylor; cygwin-xfree@sources.redhat.com
> > Cc:   Olivier.Jacquemin@DialogSystems.be
> > Subject:      Re: Installation How-To Draft
> >
> > I use cygwin=ntsec,
> > when I reinstalled the entire cygwin suite I got c0000022 errors in perl,
> > and
> > when I upgraded to the current X binaries I recieved the same error for
> > Xwin
> > etc.. I didn't fix the issue with perl - but I was apparently searching
> > the
> > wrong list archive - as the chmod o+x,g+x,u+x *.dll cmd did fix it for me.
> >
> > I suspect there is a problem untarring or setting x when cygwin=ntsec.
> >
> > I don't use cygwin=ntsec at the office, and I had no problems there.
> >
> > Rob
> >
> >
> > ----- Original Message -----
> > From: "Chris Faylor" <cgf@cygnus.com>
> > To: <cygwin-xfree@sources.redhat.com>
> > Cc: <Olivier.Jacquemin@DialogSystems.be>
> > Sent: Wednesday, September 13, 2000 7:15 AM
> > Subject: Re: Installation How-To Draft
> >
> >
> > > On Tue, Sep 12, 2000 at 05:51:15PM +0200, Olivier Jacquemin wrote:
> > > >Harold,
> > > >
> > > >My PC is part of a domain.  I am also part of the Administrators group
> > of
> > my
> > > >machine.
> > > >
> > > >An 'ls -l *.dll' gives the following result if I do it just after
> > > >un-tarring:
> > > >-rw-r--r--   1 oja      None        72704 Jul 16 19:30 libICE.dll
> > > >-rw-r--r--   1 oja      None       203776 Jul 16 19:30 libPEX5.dll
> > > >-rw-r--r--   1 oja      None        29184 Jul 16 19:30 libSM.dll
> > > >
> > > >An important difference with your result is that the owner is myself
> > instead
> > > >of "administ".  This is due to the fact that my bash prompt is
> > "oja@Pc_oja"
> > > >instead of "administrator@Pc_oja" (and I don't remember how to change
> > this).
> > > >
> > > >Now I have reduced the necessary command for correct initialization of
> > X
> > to
> > > >'chmod u+x *.dll'
> > > >Of course, I can get the same result by adding "Execute (X)" permission
> > for
> > > >user OJA on all these files using the GUI of Win NT.
> > > >
> > > >I hope you will find this information useful.
> > >
> > > What Cygwin options are you using?
> > >
> > > As I've previously indicated, 'chmod u+x' really should only has meaning
> > to
> > > Cygwin and only if you are using a specific option in the Cygwin
> > > environment variable.
> > >
> > > cgf
> > >

-- 
Bob McGowan
Staff Software Quality Engineer
VERITAS Software
rmcgowan@veritas.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]