Install Problems

Linux specific forum
gedumer
User
User
Posts: 48
Joined: Wed Jun 03, 2009 9:04 pm

Install Problems

Post by gedumer »

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.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

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.
Image
gedumer
User
User
Posts: 48
Joined: Wed Jun 03, 2009 9:04 pm

Post by gedumer »

Thanks... that worked.

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
I'm not sure what to do now. How do I set the " PKG_CONFIG_PATH environment variable"?
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

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.
Image
gedumer
User
User
Posts: 48
Joined: Wed Jun 03, 2009 9:04 pm

Post by gedumer »

I do have the package on my system according to a search of my hard drive so could it be the environment variable after all? If so, how would I set it?
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Post by AND51 »

It was a challenge on my Linux openSUSE 10.3, too.
There I set the environmentvariable as the following:

Code: Select all

export PUREBASIC_HOME=/folder1/folder2/purebasic
export PATH=$PUREBASIC_HOME/compilers:$PATH
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)
PB 4.30

Code: Select all

onErrorGoto(?Fred)
lexvictory
Addict
Addict
Posts: 1027
Joined: Sun May 15, 2005 5:15 am
Location: Australia
Contact:

Post by lexvictory »

make sure pkg-config is installed, otherwise - as mentioned before - make sure you have the packages with the "-dev" ending
Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
Post Reply