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.
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.
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.
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.
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).
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).
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..?)
Example: ls - list a directory (like dir)
Typed: ls d
Output: No such file or directory.
Example: man gcc - manual (help) on gcc compiler
Typed: man gcc
Output: BASH: man: command not found
Example: man make - manual for make
Typed: man make
Output: BASH: man: command not found
Example: cd <dir> - change directory
Typed: cd d
Output: BASH: cd: d: No such file or directory.
I also tried: cygcheck -s
It worked, but it scrolled a bit to fast to really review what is said. I did it several times. But it didn't help, it scrolls to fast.
I do know that I got the following (it remained in the msdos window after completion)..
[There is more, but this is all I saw..]
^More..
gdbm
grep
gzip
libinl1
libncurses5
libncurses6
libreadline4
libreadline5
login
ncurses
pcre
readline
sed
sh-utils
tar
termcap
terminfo
textutils
which
zlib
Any ideas?
___________________________________
I noticed that "ls" is for unix and "dir" is for windows.
I'm running a windows machine, so that means I'd use windows commands right? (just maing sure since you listed both for me to try).
Windows Commands:
copy
del
move
dir
cd
Sounds like you didn't download man, which is a bit strange. You could re-run setup.exe and scroll around until you find man. It isn't essential, but reading the documentation doesn't hurt. :)
As for "ls d" - it will say file not found, unless you have a file called "d". Try typing "ls" on its own.
Same for "cd". You need to specify a directory that exists.
Quote:
I'm running a windows machine, so that means I'd use windows commands right?
No, cygwin always runs on Windows, that is why the "win" is in the name.
Cygwin emulates Unix under Windows, and thus you type the Unix commands.
If you have a "command" window (in Windows) you use "dir", if you are typing into Cygwin, you use "ls".
It worked, but it scrolled a bit to fast to really review what is said. I did it several times. But it didn't help, it scrolls to fast.
You need to fix that. Click on the "system" menu (top left-hand corner of the Cygwin window), you should see a few menu items. Select "properties".
Then select "layout". Change screen buffer size to make it larger (I have 1000 lines). Then when a bit command comes you will see scroll bars, and can scroll back and look.
Otherwise it will be hopeless, you'll never see all your error messages.
Font Mark Copy FullScreen Properties Background Font
-I don't see "Systems", but I do see "Properties"
I try clicking on "Properties"..
-I see the following tabs in a popup window..
Program Font Memory Screen Miscellaneous
-Going through each of the tabs.. I don't see "Layout".
In the Cygwin window I tried..
"1s" and it output: BASH: 1s: Command Not Found.
I did the same for "cd", but it didn't give any output, all it did was repeat the <myname> <lastname>@COMP01 ~ prompt..
?
..One day, something has to work in our favor.
UPDATE: I went back to setup.exe and found that "make" was set to "skip" - so I didn't download it after all.
I am downloading it now. I also chose to download "ctags" (since I may find it useful). Also the "gcc,C,C++ Compilers" package, under the "Devel" category was set to "Skip"..I am downloading that as well.
When it says "man not found" it means you haven't installed the man program. Thus man <anything> won't work.
The command is "ls" (L followed by S in lower case) you are typing 1s (the number 1, followed by S).
LS means LiSt. However you must use lower case "ls" as Unix is case-sensitive.
The "number of lines" I referred to applies to Windows NT. You have Windows 95/98/SE, that doesn't seem to allow you to change the number of lines.
You can always "pipe" the output into "less" which lets you see a screenfull at a time. Make sure you have "less" installed. If not, "more" is similar.
Thus you might do this ...
cygcheck -s | less
(That is a vertical bar, not a number one, or an L). The vertical var is over the backslash on my keyboard.
Or if less isn't there, try more:
cygcheck -s | more
That should work, more or less. :)
As for "cd", typing "cd" on its own doesn't do anything, you need to cd to somewhere (cd - change directory).
I have been moving around with it, learning to go in an out of folders with >dir and >cd.
I had tried >ls, 1s, Is, etc. earlier.
"ls" is working fine now, now that I know that it lists the contents of the directory/folder you are in. Before I was just using it in the ~ area so it had nothing to list - and I therefore thought it wasn't working.
Cygwin will work on DoT right? I think that's what I'll eventually settle with.
I'll head backover to setup.exe, I basically live there anyway, and see if I can find the "man".
Output: tar (child): smuag1.4a_mxp.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
You can help yourself by using the 'search' feature of the forum to answer such questions. For instance in this case the line before the line 'ld returned 1 exit status' mentioned the word crypt. I searched on 'cygwin smaug crypt' to find the above post.