|
|
Joined: Aug 2011
Posts: 5
Member
|
OP
Member
Joined: Aug 2011
Posts: 5 |
I'm running lubuntu 14.04 I was able to compiled MESS and it created an executable MESS file. When I try to execute the file in terminal it gives me a bash error.
what am I doing wrong?
Thanks
Steve
|
|
|
|
Joined: Mar 2001
Posts: 16,892 Likes: 51
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 16,892 Likes: 51 |
On Linux, the current directory isn't part of the $(PATH), so you need to type ./mess (or ./mess64 for 64-bit) to start the executable.
Last edited by R. Belmont; 08/06/14 06:34 PM.
|
|
|
|
Joined: Dec 2011
Posts: 181 Likes: 2
Senior Member
|
Senior Member
Joined: Dec 2011
Posts: 181 Likes: 2 |
On Linux, the current directory isn't part of the $(PATH), so you need to type ./mess (or ./mess64 for 64-bit) to start the executable. If he doesn't know that, he must either be ridiculously new to Unix, or trolling.
|
|
|
|
Joined: May 2011
Posts: 41
Member
|
Member
Joined: May 2011
Posts: 41 |
On Linux, the current directory isn't part of the $(PATH), so you need to type ./mess (or ./mess64 for 64-bit) to start the executable. If he doesn't know that, he must either be ridiculously new to Unix, or trolling. I disagree. Until you compile something yourself, there is a good chance that you've never run an executable located in your current directory. You don't generally have any executables in your home directory tree at all (unless you compile). Pretty much everything you'd want to run is from a folder in your PATH that was installed by a package manager.
|
|
|
|
Joined: Mar 2001
Posts: 16,892 Likes: 51
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 16,892 Likes: 51 |
Yeah, you can quite happily live entirely off packaged software and never run into that issue these days. I attempt to keep my system so that stuff I work on is the only things I compile, and with RPMFusion I can largely succeed at that.
|
|
|
|
Joined: Aug 2011
Posts: 5
Member
|
OP
Member
Joined: Aug 2011
Posts: 5 |
Alegend45 forgive me for nor knowing everything about Linux ... I am a newbie.
|
|
|
|
Joined: Dec 2011
Posts: 181 Likes: 2
Senior Member
|
Senior Member
Joined: Dec 2011
Posts: 181 Likes: 2 |
Alegend45 forgive me for nor knowing everything about Linux ... I am a newbie. I don't expect you to know everything. I expect you to know the basics. These are the basics.
|
|
|
|
Joined: Mar 2001
Posts: 16,892 Likes: 51
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 16,892 Likes: 51 |
Alegend, this is your only warning. Please stop beating up new users or you *will* be banned.
|
|
|
|
Joined: Dec 2011
Posts: 181 Likes: 2
Senior Member
|
Senior Member
Joined: Dec 2011
Posts: 181 Likes: 2 |
Wait, but Just Desserts does the same exact thing and yet he's not banned. Isn't that a bit of a double standard? Also, I haven't even done it nearly as much as he has anyway.
|
|
|
|
Joined: Mar 2001
Posts: 16,892 Likes: 51
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 16,892 Likes: 51 |
I'm allowed to have double standards, it's one of the few perks of moderating. That said, if he was berating someone repeatedly about unintuitive bits of Unix trivia, yes, I'd bark at him.
Your real problem, since you seem not to understand, is that you dropped in after the moderator (me) stated that it wasn't a dumb question and insisted that it was. At that point you're insulting both the OP and the moderator. Not smart.
|
|
|
0 members (),
21
guests, and
2
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
Forums9
Topics9,072
Posts118,947
Members5,014
|
Most Online890 Jan 17th, 2020
|
|
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!
|
|
|
|
|