Hi all...
First of all, I know this is a kinda general question, but from what I can say, this doesn't work on RedHat 7.2 but works with Mandrake 8.0... tried it myself.
Anyways, the problem is - I'm a first year software eng. student and we've just started coding at uni... just some basic stuff. We compile our code on the uni computers and when we get home, we can download the compiled stuff thru ftp... When I try to run the downloaded compiled program, I get a message saying:
bash: ./programName: Permission denied
All that background stuff isn't exactly relevant, but bow what I want to know is - is this permission denied thing within the program I wrote, or the shell? Funny thing is that I put Mandrake 8.0 on this very computer a few days ago, and it worked fine... I tried to keep exactly the same settings (software)
when installing Mandrake... especially the compiler, I used the exact same versions during the installation. I didn't like Mandrake too much (no offense intended) cause while it solved this problem, it introduced a heap of other ones and I don't wanna deal with em now... besides, I only have the first Mandrake cd which makes thing a little bit more difficult... So I'm back with RH7.2 for now.
Another thing is - I can't even compile my code using RH7.2. Just get a lot of errors along the lines of ... undefined reference to 'blah blah' ... With Mandrake, everything compiles just fine.
I doubt this thing is compiler specific (but FYI I'm using ghc -
www.haskell.org/ghc) so I'm hoping there's something within the bash shell that I can actually change to make this work.
I know this is a long shot to solving the problem, but can anyone at least guess what's going on here? Even a starting point would be really appreciated... Red Hat runs beautifully now and I'd hate to have to go looking for that second Mandrake cd...
Thanks in advance.
Korshun.