Page 1 of 1
Running Linux PB
Posted: Sat Jan 22, 2011 12:00 am
by chris319
Ubuntu Linux, latest version.
I installed all of the libraries/files listed in pb_ubuntu.pdf. I have created a bin directory which contains the purebasic folder. I navigate to the compilers directory and type ls. There is a file named purebasic. I type ./purebasic. I get "No such file or directory". I double click on the purebasic file icon in the GUI. Nothing. I run checkinstall.sh and a terminal window appears for an instant (I presume this means no problems have been found). What am I doing wrong?
Re: Running Linux PB
Posted: Sat Jan 22, 2011 1:45 pm
by Trond
What happens when you go into the compilers directory and type ./pbcompiler?
Re: Running Linux PB
Posted: Sat Jan 22, 2011 8:12 pm
by chris319
Trond wrote:What happens when you go into the compilers directory and type ./pbcompiler?
"No such file or directory"
Re: Running Linux PB
Posted: Sat Jan 22, 2011 9:07 pm
by Trond
This is very strange. It looks more like a problem with your linux setup or knowledge than PB. Are you sure you unpacked it correctly?
Re: Running Linux PB
Posted: Sat Jan 22, 2011 11:20 pm
by dhouston
Go to the directory where you installed the files and set them to executable. You can find a thread with more details that I started a few months ago when Ubuntu 10.10 was first released.
Re: Running Linux PB
Posted: Sun Dec 02, 2012 7:57 am
by Robynsveil
chris319 wrote:Ubuntu Linux, latest version.
I installed all of the libraries/files listed in pb_ubuntu.pdf. I have created a bin directory which contains the purebasic folder. I navigate to the compilers directory and type ls. There is a file named purebasic. I type ./purebasic. I get "No such file or directory". I double click on the purebasic file icon in the GUI. Nothing. I run checkinstall.sh and a terminal window appears for an instant (I presume this means no problems have been found). What am I doing wrong?
So, I did figure this out. The help here for Linux stuff is pretty sketchy - lots of assumptions.
I have placed my whole purebasic install (the unzipped file) of purebasic in my home folder. Which means: when i type:
in the CLI (in Terminal), it brings up the PureBasic GUI. Yay. BUT! All my output is to that terminal. No dialogues appear, nothing. Seems that the developers are very Windows-focused and Linux is a bit of an afterthought. So, I'm trying to learn not just Purebasic but Basic at the developer level in Linux and it's all really hard. Doing
the examples from this are going to be unnecessarily frustrating because even setting Executable Format to "console" gives you nothing. There TOTALLY needs to be a LOT more for the Linux community, particularly beginners like me. Windows is all fine, but we need support for Linux. Real support. Not Windows instructions that simply don't work in Linux at all.