File system cannot see Golly executable

Has something gone haywire? Let us know about it!
Post Reply
User avatar
Freywa
Posts: 878
Joined: June 23rd, 2011, 3:20 am
Location: Singapore
Contact:

File system cannot see Golly executable

Post by Freywa »

I'm running Trisquel 7.0 (a Linux OS based on Ubuntu). I've unzipped the Golly 2.7 executable and I try to run it, but every time the file system cannot see the executable despite it being in plain sight!
error.png
error.png (30.9 KiB) Viewed 8099 times
What in the world is wrong here? (Golly v2.5, being in my repository, works normally.)
Princess of Science, Parcly Taxel

Code: Select all

x = 31, y = 5, rule = B2-a/S12
3bo23bo$2obo4bo13bo4bob2o$3bo4bo13bo4bo$2bo4bobo11bobo4bo$2bo25bo!
User avatar
apg
Moderator
Posts: 3007
Joined: June 1st, 2009, 4:32 pm

Re: File system cannot see Golly executable

Post by apg »

Perhaps the file permissions are wrong? Run ls -al from that working directory and see whether it locates Golly (and, if so, whether you have read and execute permissions).
What do you do with ill crystallographers? Take them to the mono-clinic!
User avatar
Freywa
Posts: 878
Joined: June 23rd, 2011, 3:20 am
Location: Singapore
Contact:

Re: File system cannot see Golly executable

Post by Freywa »

error2.png
error2.png (70.37 KiB) Viewed 8089 times
ls does show that I have RWX permissions, yet Bash still cannot locate the file.
Princess of Science, Parcly Taxel

Code: Select all

x = 31, y = 5, rule = B2-a/S12
3bo23bo$2obo4bo13bo4bob2o$3bo4bo13bo4bo$2bo4bobo11bobo4bo$2bo25bo!
User avatar
Andrew
Moderator
Posts: 1062
Joined: June 2nd, 2009, 2:08 am
Location: Melbourne, Australia
Contact:

Re: File system cannot see Golly executable

Post by Andrew »

Freywa wrote:ls does show that I have RWX permissions, yet Bash still cannot locate the file.
Very odd! I've got no idea what might be wrong (I don't spend much time on Linux).

Can you run bgolly (type "./bgolly")? Can you open ReadMe.html?
Use Glu or Glui to explore CA rules on non-periodic tilings: DominoLife and HatLife and SpectreLife
User avatar
Freywa
Posts: 878
Joined: June 23rd, 2011, 3:20 am
Location: Singapore
Contact:

Re: File system cannot see Golly executable

Post by Freywa »

Well I can't open bgolly either, but I can open the read-me file just fine. The problem only affects the two executables. Other executables (including apgnano, which I compiled myself) work just fine.

In the meantime I'm fine with v2.5 (the version provided by my repository).
Princess of Science, Parcly Taxel

Code: Select all

x = 31, y = 5, rule = B2-a/S12
3bo23bo$2obo4bo13bo4bob2o$3bo4bo13bo4bo$2bo4bobo11bobo4bo$2bo25bo!
User avatar
Freywa
Posts: 878
Joined: June 23rd, 2011, 3:20 am
Location: Singapore
Contact:

Re: File system cannot see Golly executable

Post by Freywa »

OK, I managed to compile and install Golly from source. I accidentally installed the necessary packages while trying to install matplotlib and, what do you know, that was the piece of the puzzle I needed.
1.png
1.png (121.75 KiB) Viewed 8011 times
Princess of Science, Parcly Taxel

Code: Select all

x = 31, y = 5, rule = B2-a/S12
3bo23bo$2obo4bo13bo4bob2o$3bo4bo13bo4bo$2bo4bobo11bobo4bo$2bo25bo!
Linicks
Posts: 33
Joined: November 14th, 2015, 6:28 am
Location: Pompey, England
Contact:

Re: File system cannot see Golly executable

Post by Linicks »

An old thread I know, but sometimes file names are not what they seem.

What you should have tried is ./g<now hit TAB> - doing that bash will give you file name options it finds starting with 'g'.

Nick
User avatar
Scorbie
Posts: 1728
Joined: December 7th, 2013, 1:05 am

Re: File system cannot see Golly executable

Post by Scorbie »

Freywa wrote:In the meantime I'm fine with v2.5 (the version provided by my repository).
Huh. So Golly is supported as a package in repositories of some distros? Interesting.
Post Reply