This is the mail archive of the cygwin@sourceware.cygnus.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: new net release structure question.


Please *do not* use the procedure that "Robert McNulty Junior" is
advocating.  He is confused and confusing what should be a simple
process.

As to why you have different files with different sizes, I can't answer
the question.  It is not supposed to be the case.  /usr/bin is supposed
to be the same directory as /bin.  You should only put /bin in your
path, not /usr/bin.

In the hundreds of times that I have tried setup, the only time I saw
behavior like this was with an older version of setup.  The version
that is currently in the latest directory should not have this problem.

When I did see this, there were two things that caused the problem.  1)
there was another version of tar.exe in my path which did not understand
cygwin mount points, and 2) the setup program did not umount /usr and
/usr/bin before creating the new directories.  Both of these situations
should be fixed in newer versions of setup.exe.

cgf

On Sat, Apr 29, 2000 at 06:14:00AM -0700, Shamsutdinov, Salikhyan wrote:
>I don't have problems with installing new cygwin. I can receive bash promt
>when I start cygwin.bat. I only cannot understand why do I need to have two
>file with the same name but different sizes both in \usr\bin and \bin
>folders on Windows. When I start to use something it will use only one of
>them what is the first in the path. What is the relations betwen that pair
>of files? I don't want to use two binary folders like in UNIX. I prefer to
>put all the binaries to the one folder (concatenate /bin and /usr/bin
>folders ). And then start everything from one folder. 
>Or by default it is installing in the foloowing way:
>1. If I start command from dos-command line it will look at c:\cygroot\bin
>first, the c:\cygroot\usr\local\bin then (as the default cygwin.bat created
>), so I cannot see c:\cygroot\usr\bin folder as it is not in the path
>2. In unix as there is mount point /usr/bin to c:\cygroot\bin it will search
>only in /usr/bin
>
>My question was why two files with the same names but different sizes are in
>c:\cygroot\bin and c:\cygroot\usr\bin. What is the relations between them?
>What are these files? What is real binary, what is the second file if first
>one is binary I have to use?
>
>Thanks,
>Salikhyan.
>
>-----Original Message-----
>From: Robert McNulty Junior [mailto:sherlock_abc@netzero.net]
>Sent: Saturday, April 29, 2000 2:35 PM
>To: Shamsutdinov, Salikhyan
>Subject: Re: new net release structure question.
>
>
>Sal, try my way again.
>This time, use setup.
>All work.bat does is set the enviroment varible to the bin directory where
>tar.exe, gzip.exe and cygwin1.dll are at.
>Setup.exe goes into the tempdir itself, or where you saved it.
>About the tar files I had: Netscape Communicator renamed the .tar.gz to
>.tar. That is what happened.
>Right now, I'm trying to get Xfree86 for my project. See you in a bit.
>1) Download all the tar.gz in each of the directories in the latest
>directory of the German site, saving them to a tempory directory.
>2) get setup.exe and bootstrap.zip. Put them in the temp directory
>3)  unzip the bootstap.zip. I used unzip fond found else on the net.
>4) with a text editor, make a bat file that will point to the point setup to
>the bin directory in the temp directory.
>5) execute the bat file
>6) run setup. It will call the gzip and the tar.
>You see, setup makes a directory on where you chose to set the root
>directory. I call mine "cygnus". When it creates that directory, it wil
>creat \bin. \usr, and a bunch of others.
>Setup.exe is the key. It works and it works great.
>You can find all the binary code for the Cygwin C/C++ compiler at the German
>site, or any where in Europe, Japan, and the boring USA.
>I am using the one of the UK site because I keep getting a timeout error on
>my US site.
>About the mount points: We are emuluting Unix and Linux under window.
>Window path would be like this:
>c:\cygnus\bin
>c:\cygnus\usr
>
>Because we are under bash, the format for Unix is:
>/bin
>/usr
>
>in the mount:
>mount c:\cygnus\bin /usr/bin
>
>Mount acts like the path command that you use under Windows.
>Mount tells Cygwin what path to look for when reading file.
>
>gcc.exe is in the /bin directory,
>when you start Cygwin, you use a bat file called Cygwin.bat.
>Type cygwin.
>If all goes well, you should see a prompt like this:
>BASH 2.03$
>type ls
>you should get a directory.
>
>if you type gcc -v, it should point to a specs file under /usr.
>Robert McNulty Junior

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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