| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 15018 | 2002-01-26 07:14:00 | It's a file, no it's not, it's a directory, no it's not...... | Guest (0) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 32867 | 2002-01-26 07:14:00 | Hi, Recently I installed Dive version 3.2 on Mandrake 8.0. I installed it as per the instructions on the website, exactly... when I go to run gthe .exe, (diva.exe) by the command: ./ diva.exe It says: bash: ./: is a directory when I use: cd diva (or diva.exe) it says: bash: cd: diva: Not a directory What's going on? Thanks, Erin |
Guest (0) | ||
| 32868 | 2002-01-26 07:56:00 | Jeeze - not very helpful I know, but I was contemplating giving your operating system a go - UNTILL bash: ./: bash: cd: diva ./diva Far too complicated for poor old me !!! <VBG> Hope ya get it sorted. cheers |
Guest (0) | ||
| 32869 | 2002-01-26 09:36:00 | The problem is with the instructions, there shouldn't a space between the ./ and dive.exe. Bash is correct in saying ./ is a directory (. is the current one), because of the space it treats the rest of the line as arguments. |
Guest (0) | ||
| 32870 | 2002-01-26 10:24:00 | Hi, If I leave out the space it says no such file or directory.. Here's the excerpt showing my problem... [erin@localhost appl]$ dir diva diveserver mini persistent proxyserver vishnu [erin@localhost appl]$ ./diva bash: ./diva: No such file or directory [erin@localhost appl]$ ./diva.exe bash: ./diva.exe: No such file or directory [erin@localhost appl]$ Running the terminal as su has no effect. I notice that the directory containing appl is called 'i586-intel-linux', yet my machine is an AMD i686... Is that a problem? Perhaps the software will only work on an intel? If I try opening any of the other files in the appl directory I get the same response... Now what? Erin |
Guest (0) | ||
| 32871 | 2002-01-27 03:23:00 | This is a linux executable called dive.exe? Normally, it would be called diva . I would expect that to be a MS executable file. In that blah/appl directory try 'file *'. Very useful command -- identifies just about any filetype through a magic list. The other check is 'ls -l'. In the list of attributes, make sure executables have the letter 'x'. Yes, watch out for spaces in lines. './' refers to the current directory. './name' referes to a file in the current directory. './ name' refers to current directory and an argument. Directories *don't have* arguments in a command line. |
Guest (0) | ||
| 32872 | 2002-01-27 10:02:00 | Hi, Yes, it is called diva.exe, not dive, but I'm not sure where you read that... Anyway, ls -l returns the following: (all in order) [erin@localhost appl]$ ls -l total 4768 -rwxr-xr-x 1 erin erin 2510364 Aug 8 1997 diva* -rwxr-xr-x 1 erin erin 487262 Aug 8 1997 diveserver* -rwxr-xr-x 1 erin erin 484219 Aug 8 1997 mini* -rwxr-xr-x 1 erin erin 866033 Aug 8 1997 persistent* -rwxr-xr-x 1 erin erin 506948 Aug 8 1997 proxyserver* lrwxrwxrwx 1 erin erin 4 Jan 25 19:44 vishnu -> diva* Evidently there is nothing wrong there either... Is this a lost cause or does anything stand out as a problem? Thanks, Erin |
Guest (0) | ||
| 1 | |||||