I just purchased PureBasic and installed it on WindowsXP and Ubuntu 8.04LT Linux. WinXP is working fine. Linux is another issue however.
First of all, I'm VERY new to Linux so just installing packages is a challenge for me. The 1st problem I'm having is getting ./checkinstall.sh to work. Everytime I run it, I get an error saying "permission denied". I'm logged on as the administrater, so what do I need to do. I know I'm missing some of the libs I need to run everything, but I won't know which until I can run ./checkinstall.sh.
I have installed a number of the libs based on some of the Forum posts, but I think I still need more.
Thanks for any help you can give.
Install Problems
Set the executable flag in the properties of checkinstall.sh
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Thanks... that worked.
Here's the result:
I'm not sure what to do now. How do I set the " PKG_CONFIG_PATH environment variable"?
Here's the result:
Code: Select all
gary@gary-desktop:~/purebasic$ ./checkinstall.sh
Package libgnome-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgnome-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgnome-2.0' found
libgnome devel package need to be installed to use PureBasic
There is nothing to set, only install the right devel package libgnome2.0
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

It was a challenge on my Linux openSUSE 10.3, too.
There I set the environmentvariable as the following:
Using these 2 commands in a terminal session keeps these environment variables valid as long as you are logged in. They expire on logout. Next time you log in, you have to do this process again.
Unless you write this setting to your Linux-autostart-file (don't remember the name currently; there is a file being executed everytime you log in, this is the file I mean).
If you want to call the compiler from your program (e. g. with RunProgram()) in order to compile source codes, it's enough to set the working directory for the compiler to "/path/purebasic/compilers".
Hope I could help.
// edit
bembulak published a very good tutorial on how to install Linux on Ubuntu here:
http://www.purebasic.fr/english/viewtop ... +purebasic (PDF file)
There I set the environmentvariable as the following:
Code: Select all
export PUREBASIC_HOME=/folder1/folder2/purebasic
export PATH=$PUREBASIC_HOME/compilers:$PATHUnless you write this setting to your Linux-autostart-file (don't remember the name currently; there is a file being executed everytime you log in, this is the file I mean).
If you want to call the compiler from your program (e. g. with RunProgram()) in order to compile source codes, it's enough to set the working directory for the compiler to "/path/purebasic/compilers".
Hope I could help.
// edit
bembulak published a very good tutorial on how to install Linux on Ubuntu here:
http://www.purebasic.fr/english/viewtop ... +purebasic (PDF file)
PB 4.30
Code: Select all
onErrorGoto(?Fred)-
lexvictory
- Addict

- Posts: 1027
- Joined: Sun May 15, 2005 5:15 am
- Location: Australia
- Contact:

