Running Linux PB

Linux specific forum
chris319
Enthusiast
Enthusiast
Posts: 782
Joined: Mon Oct 24, 2005 1:05 pm

Running Linux PB

Post 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?
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Re: Running Linux PB

Post by Trond »

What happens when you go into the compilers directory and type ./pbcompiler?
chris319
Enthusiast
Enthusiast
Posts: 782
Joined: Mon Oct 24, 2005 1:05 pm

Re: Running Linux PB

Post by chris319 »

Trond wrote:What happens when you go into the compilers directory and type ./pbcompiler?
"No such file or directory"
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Re: Running Linux PB

Post 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?
User avatar
dhouston
Enthusiast
Enthusiast
Posts: 430
Joined: Tue Aug 21, 2007 2:44 pm
Location: USA (Cincinnati)
Contact:

Re: Running Linux PB

Post 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.
http://davehouston.org
Mac Mini (Intel) 10.6.8 - iMac G4 (PPC) 10.4.11
Dell Dimension 2400 W98SE,W2K,XP,Vista,W7,Debian,Ubuntu,Kubuntu,Xubuntu,Fedora,Mandriva,Mint
(on swappable HDDs)
Vizio VTAB1008 - Android 3.1
MK808 miniAndroidPC (Android 4.1)
Robynsveil
User
User
Posts: 44
Joined: Fri Nov 30, 2012 2:07 pm

Re: Running Linux PB

Post 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:

Code: Select all

./purebasic/compiler/purebasic
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.
Post Reply