This is the mail archive of the
cygwin-xfree@sources.redhat.com
mailing list for the Cygwin project.
RE: Installation How-To Draft
- To: cygwin-xfree at sourceware dot cygnus dot com
- Subject: RE: Installation How-To Draft
- From: Olivier Jacquemin <Olivier dot Jacquemin at DialogSystems dot be>
- Date: Thu, 14 Sep 2000 09:40:45 +0200
Hello,
Please see my answers below.
For me this is not really a problem any more since I have now a solution for
running X.
_Olivier_
> -----Original Message-----
> From: Bob McGowan [SMTP:rmcgowan@veritas.com]
> Sent: Wednesday, September 13, 2000 6:25 PM
> To: Olivier Jacquemin
> Cc: cygwin-xfree@sources.redhat.com
> Subject: 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 it is (from environment control panel).
> 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.
>
Both commands were executed from the same cygwin console running bash.
> 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?
>
1. start cygwin console running bash (all subsequent commands are done in
this console)
2. 'echo $CYGWIN' gives: ntsec binmode tty
3. empty the CYGWIN var using: export CYGWIN=
4. uncompress using 'tar --use-compress-program=bunzip2 -xvf
xfree86-4.0-Xterm.tar.bz2' (for all packages)
5. '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
6. double-click on startxwin.bat: X starts properly
7. modify CYGWIN var using: export CYGWIN='ntsec binmode tty'
8. 'ls -l *.dll' gives
-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*
9. double-click on startxwin.bat: X starts correctly again.
> 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