Installing PB 3.93 beta 1

Linux specific forum
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Installing PB 3.93 beta 1

Post by GeoTrail »

I'm having problems installing PB using the new install instructions that comes with PB 3.93 beta 1.

It says:
a) Setup the PUREBASIC_HOME environment variable to your purebasic
path. It can be done like this (if you have put purebasic in your
home directory:

export PUREBASIC_HOME=~/purebasic


b) Add the purebasic/compilers/ directory to you path, as it's
where all purebasic binaries are. This can be done like this:

export PATH=$PUREBASIC_HOME/compilers:$PATH


After these 2 steps, you should be able to type 'pbcompiler' in a shell
and you ready to use the IDE, just type 'purebasic'.
But when I type pbcompiler it returns "bash: pbcompiler: command not found
"

I have installed Ubuntu 5.04.

Here are what I typed in the shell according to the install file:
# export PUREBASIC_HOME=~/purebasic
# export PATH=$PUREBASIC_HOME/compilers:$PATH
I copied the whole purebasic folder inside my Home folder which I think is correct! ?
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

I don't know why, but I can't manage to install the last beta by following the new installation way too...
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Post by walker »

Hi,

for now, use the second way to install this beta... the recommended way isn't working correctly....

become root and copy the files as described in the INSTALL-file and... enjoy 8)

cu
Ulf
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

I just installed the latest Fedora Core 4 and tried the new install procedure, it works great here. Seems to be a difference in paths or something :shock:
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

As I wrote above the install went well on Fedora 4.
But when I try to run the IDE by typing purebasic I get this error:
bash: /home/geotrail/purebasic/compilers/purebasic: Permission denied
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
sec
Enthusiast
Enthusiast
Posts: 792
Joined: Sat Aug 09, 2003 3:13 am
Location: 90-61-92 // EU or ASIA
Contact:

Post by sec »

$chmod +x /home/geotrail/purebasic/compilers/purebasic
then run again, what happen?
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

Yes it worked when I changed the execute permission.
But, libstdc++ is missing and I can't find it in the Fedora 4 packages.
I have looked inside each and every package on the install disc which is a DVD :?
Does anyone know how to search for it? Or perhaps some commands I can type in the shell to manually install the libs?
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
sec
Enthusiast
Enthusiast
Posts: 792
Joined: Sat Aug 09, 2003 3:13 am
Location: 90-61-92 // EU or ASIA
Contact:

Post by sec »

If you're using Fedora, all you need is to be root:
#yum install libstdc++ compat-libstdc++
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

That didn't seem to work.
Here's what I got in return:
# yum install libstdc++ compat-libstdc++
Setting up Install Process
Setting up repositories
updates-released 100% |=========================| 951 B 00:00
extras 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 13 kB 00:00
updates-re: ################################################## 36/36
Added 36 new packages, deleted 0 old in 0.28 seconds
primary.xml.gz 100% |=========================| 358 kB 00:01
extras : ################################################## 1051/1051
Added 1051 new packages, deleted 0 old in 6.31 seconds
primary.xml.gz 100% |=========================| 824 kB 06:08
base : ################################################## 2772/2772
Added 2772 new packages, deleted 0 old in 15.99 seconds
Parsing package install arguments
No Match for argument: compat-libstdc++
Nothing to do
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
sec
Enthusiast
Enthusiast
Posts: 792
Joined: Sat Aug 09, 2003 3:13 am
Location: 90-61-92 // EU or ASIA
Contact:

Post by sec »

#yum list *libstdc*
Setting up repositories
updates-released 100% |=========================| 951 B 00:00
extras 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Installed Packages
compat-libstdc++-296.i386 2.96-132.fc4 installed
compat-libstdc++-33.i386 3.2.3-47.fc4 installed
libstdc++.i386 4.0.0-8 installed
libstdc++-devel.i386 4.0.0-8 installed
so run this: :wink:
#yum install libstdc++ libstdc++-devel compat-libstdc++-296 compat-libstdc++-33
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

sec wrote:so run this: :wink:
#yum install libstdc++ libstdc++-devel compat-libstdc++-296 compat-libstdc++-33
This is exactly why I hate Linux :)
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

Polo wrote:
sec wrote:so run this: :wink:
#yum install libstdc++ libstdc++-devel compat-libstdc++-296 compat-libstdc++-33
This is exactly why I hate Linux :)
He he he can't dissagre with you there ;)

Anyways, it's working now. Sort off anyways. But it seems I have gtk+2 installed instead of gtk-1.2
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
sec
Enthusiast
Enthusiast
Posts: 792
Joined: Sat Aug 09, 2003 3:13 am
Location: 90-61-92 // EU or ASIA
Contact:

Post by sec »

Trying to help ... I am not using Fedora though wink: ( i know other distro better).
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

sec wrote:Trying to help ... I am not using Fedora though wink: ( i know other distro better).
It was not against you, don't worry, it was against the complexity of Linux :)
And of the fact that I think Linux is bloated without being bloated (my Mandrake take 2GB on the hard drive, but I still have to use sdl, gtk, ... to use Purebasic), hard to use and useless :)
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

sec wrote:Trying to help ... I am not using Fedora though wink: ( i know other distro better).
Which distro would you reccommend?

What I need is a Linux that is easy to install PB on, and so I can use the new IDE. Other than that I want Firefox 1.0.4 and Evolution. And preferably Gnome ;) Any good suggestions?
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Post Reply