Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ Cygwin

Cygwin

It is now over 60 days since the last post. This thread is closed.     Refresh page


Pages: 1 2  3  

Posted by Microp   USA  (68 posts)  Bio
Date Sun 24 Mar 2002 10:35 PM (UTC)
Message
I downloaded Cygwin, but I am having trouble unzipping ? setting it up.

I did a search for setup.exe but it found nothing in the Cygwin folder. Does this mean I didn't download it correctly, that I haven't unzipped it, or?

I use winzip to download things, but when I downloaded Cygwin it didn't go through winzip..so I assume it's not a .zip or didn't need to be unzipped.

Basically Im confused.

Here is a layout of the top two layers of the items in my Cygwin folder..

Cygwin (folder)
Setup.log
Setup.log.full
ftp%3a%2f%2farchive.progeny.com%2fcygwin (folder)
Contrib (folder with futher contents)
Latest (folder with further contents)
Setup.ini
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 24 Mar 2002 11:21 PM (UTC)
Message
Last time I used Cygwin, you ran some sort of setup.exe from their site. This worked out what you needed and downloaded it for you.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Microp   USA  (68 posts)  Bio
Date Reply #2 on Mon 25 Mar 2002 03:58 AM (UTC)
Message
Still no luck, I downloaded it again, did a search for setup.exe in the new cygwin founlder but found nothing.

The setup.exe is a gui to download the cygwin compiler, or so I understand. Yet I can't find out how to install/run/unzip it. I read over the cygwin site, but it didn't detail anything on this.

Any help would be great.
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #3 on Mon 25 Mar 2002 04:49 AM (UTC)
Message
On the Cygwin site is a link "Install Cygwin now" that goes to:

http://cygwin.com/setup.exe

If you run that (ie. open it) then it should do its stuff.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Microp   USA  (68 posts)  Bio
Date Reply #4 on Mon 25 Mar 2002 05:34 AM (UTC)
Message
Sorry to bother you with such newbie questions.
I really appreciate your help with this.

Quote:
On the Cygwin site is a link "Install Cygwin now" that goes to: http://cygwin.com/setup.exe
If you run that (ie. open it) then it should do its stuff.
Quote:


Question: I've done that (4 times), waited for it to download, then when it says in a pop-up window "download complete", I go to the file that I had it downloaded into -open it and look through it - but I can't find any file that'll launch Cygwin. Once you have Cygwin downloaded, what next? Do you need something other than winzip to unzip it (assuming it isn't already unzipped)?

I was thinking that setup.exe was a file you downloaded that actually launched Cygwin - not the actual downloader process itself. Sorry for the confusion.

Once again, sorry for such lame questions. I've ordered several books on C programing, and have spent hours looking over various helpfiles on mud building. Evetually I'll improve.
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #5 on Mon 25 Mar 2002 09:56 PM (UTC)
Message
Quote:

Once you have Cygwin downloaded, what next? Do you need something other than winzip to unzip it (assuming it isn't already unzipped)?


The setup.exe is a program, you shouldn't be able to "look through it".

When you run it (execute, open it) it should work out how much of Cygwin, if any, you have installed, and install the rest. Once that is done it should be ready to use.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Microp   USA  (68 posts)  Bio
Date Reply #6 on Tue 26 Mar 2002 07:23 PM (UTC)
Message
startup.exe choices..

-Install from internet

-Download from internet

-Install from local directory

1) I FIRST have to choose "Download from Internet" correct?
In the startup.exe screens, which lists the different packages, what do I have to do? Nothing? -Just click "Next"?

2) Once I do that (download it) do I THEN choose "Install from Internet" OR "Install from Local Directory"?
..After I choose one, and proceed..in the startup.exe screen which list the different Cygwin packages, do I have to do anything here? -Just click "Next"?

3) The startup.exe then installs Cygwin onto my computer..


As you can see, I am having trouble figuring out how to download it using the startup.exe GUI.
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #7 on Tue 26 Mar 2002 08:09 PM (UTC)
Message

I think I installed from the Internet, although that is usually something I don't do. Take a look at New With Cygwin Compiler. There is a discussion from someone who didn't have 'make'. You will see a screenshot of what you should see (in part).

Make sure you choose development tools, inter alia, or you will be posting next that it can't find 'make'. (You need make, gcc, gdb, patch, diff, include files, runtime libraries - basically most stuff).


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Microp   USA  (68 posts)  Bio
Date Reply #8 on Tue 26 Mar 2002 09:26 PM (UTC)
Message
I choose "install from internet"..

Then in the setup.exe screen that lists a bunch of downloadable packages, I have to manually choose the correct Cygwin packages?

These Cygwin packages that I need are listed in category "Devel"..
-make
-gcc
-gdb
-patch
-diff
-include files
-runtime libraries

I'm doing my best to understand this. Is this right?
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #9 on Tue 26 Mar 2002 09:44 PM (UTC)
Message
I think you need categories:


  • Base
  • Devel
  • Doc
  • Editors
  • Interpreters
  • Libs
  • Shells
  • Text
  • Utils


That should be enough. You might get away with slightly less, but it mightn't be worth the effort.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Microp   USA  (68 posts)  Bio
Date Reply #10 on Wed 27 Mar 2002 02:38 AM (UTC)
Message
Got it!

Ok, the setup.exe screen which lists the different packages is setup sort of like a tree menu.

I click on those branches (that you listed above) to expand them so that they list all of their contents.

After I do that, do I need to click on each of their contents? Or is just expanding those category branches enough?
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #11 on Wed 27 Mar 2002 06:50 AM (UTC)
Message
If you click on the little double-arrowed circle, the wording changes. Mine was initially "default" (whatever that is), but can be cycled through "install", "reinstall" and "uninstall".

I'm not sure what "default" means, you could try reading their web page. You could leave most at default, and the others to "uninstall", or make the ones you want "install" and the others "uninstall" (I suppose).

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Microp   USA  (68 posts)  Bio
Date Reply #12 on Wed 27 Mar 2002 08:49 PM (UTC)
Message
I'm downloading it now.

I've read, and re-read all the help files on their site ..I don't know maybe I'm skipping some vital webpage..

I'll give it yet another shot.
Top

Posted by Microp   USA  (68 posts)  Bio
Date Reply #13 on Wed 27 Mar 2002 10:04 PM (UTC)
Message
Alright, I may have it this time.

I opened the categories you listed above in the setup.exe, then downloaded (installed from internet) it..

I now have the launch icon on my desktop.

When I click on the launch icon a ms-dos window comes up with..
_______________________________________
<Myname> <Lastname>@COMP01 ~
$



_______________________________________

I know you've several helpfiles already created (am looking over them now), but I was wondering if you know of any commands I could type into the Cygwin window to determine if I got it right this time..(all important files installed?, installed correctly..?)

Or perhaps you know of another way.
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #14 on Wed 27 Mar 2002 11:17 PM (UTC)
Message
You can try:


  • ls - list a directory (like dir)
  • man gcc - manual (help) on gcc compiler
  • man make - manual for make
  • man bash - manual for bash (the shell)
  • cd <dir> - change directory
  • pwd - Print Working Directory (ie. what directory am I in?)
  • whoami - who am I? ie. your login name
  • df - list mounted file systems with disk space
  • df -h - as above, but show space in Kb, Mb etc.
  • du --max-depth=1 -h - show disk taken by current directory
  • ps - show running processes


Then you can work through my example about 'how to compile' - untar the SMAUG distribution, and follow the example.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


95,202 views.

This is page 1, subject is 3 pages long: 1 2  3  [Next page]

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.