BBC BASIC
Development >> Raspberry Pi >> failed installation
http://bbcbasic.conforums.com/index.cgi?board=raspberry&action=display&num=1501846847

failed installation
Post by bbott on Aug 4th, 2017, 11:40am

I've just installed BBC Basic on my raspberry pi 3, but when I run ./bbcsdl I get error message 'no such fileor directory' , any ideas.
Re: failed installation
Post by Richard Russell on Aug 4th, 2017, 2:06pm

on Aug 4th, 2017, 11:40am, bbott wrote:
I've just installed BBC Basic on my raspberry pi 3, but when I run ./bbcsdl I get error message 'no such file or directory', any ideas.

Not really. I assume you followed the installation instructions in install-rpi.txt exactly.

One possibility, I suppose, is that when you extracted the contents of bbc-rpi.zip it didn't create the directory structure correctly. Check that you have a subdirectory called lib and that in that subdirectory there is a file dlglib.bbc. If that file is missing you would get the error you report.

Richard.

Re: failed installation
Post by bbott on Aug 4th, 2017, 2:15pm

Just checked lib directory, I don't have diglib.bbc subdirectory, so I presume thats the fault. I've just checked, I did follow install-rpi.txt, and I repeated it a second time. Can I manually add the directories?
Re: failed installation
Post by bbott on Aug 4th, 2017, 2:19pm

Just a thought, what is the subdirectory in, I assumed the filesystem lib. Also there is nothing in the oldconffiles directory that has been created.
Re: failed installation
Post by bbott on Aug 4th, 2017, 2:24pm

Have now found diglib.bbc, in downloads/lib directory. All .bbc files appear to be in this directory.
Re: failed installation
Post by bbott on Aug 4th, 2017, 2:27pm

Solved the problem, needed to run command from Downloads directory. Thanks for help.
Barry
Re: failed installation
Post by Richard Russell on Aug 4th, 2017, 2:34pm

on Aug 4th, 2017, 2:15pm, bbott wrote:
Just checked lib directory, I don't have diglib.bbc subdirectory, so I presume thats the fault.

How did you extract the zip file? I simply ran the following command and it created all the subdirectories correctly for me:

Code:
unzip bbc-rpi.zip 

Is that what you did?

Richard.
Re: failed installation
Post by Richard Russell on Aug 4th, 2017, 2:42pm

on Aug 4th, 2017, 2:27pm, bbott wrote:
Solved the problem, needed to run command from Downloads directory.

Ah, right. unzip will always extract to the 'current' directory unless you tell it otherwise. I created a new directory for the purpose (~/BBCBASIC) but leaving everything in ~/Downloads is fine if you don't think it's in danger of becoming too cluttered.

Richard.