PB 4 Linux newbie question

Linux specific forum
naw
Enthusiast
Enthusiast
Posts: 573
Joined: Fri Apr 25, 2003 4:57 pm

PB 4 Linux newbie question

Post by naw »

Hi, I just downloaded PB for Linux (demo version) in desperation 'cos Fred hasn't sent me the proper one and I'm trying to do some porting to Linux, but am getting this message:

# pbcompile Examples/Sources/Misc.pb

Line 1: Cant Load any PureLibraries ! Please re-install Purebasic

- I'm guessing that I need to set a $LIBPATH type variable, but I tried without success (using Redhat8.0, installed GTK+1.2 & SDL1.2)...

Can anyone give any suggestions?
Ta - N
Saboteur
Enthusiast
Enthusiast
Posts: 272
Joined: Fri Apr 25, 2003 7:09 pm
Location: (Madrid) Spain
Contact:

Post by Saboteur »

Is PureBasic directory in /usr/share/ ?
Do you have Fasm? Need to be in /usr/bin/
[:: PB Registered ::]

Win10 Intel core i5-3330 8GB RAM Nvidia GTX 1050Ti
naw
Enthusiast
Enthusiast
Posts: 573
Joined: Fri Apr 25, 2003 4:57 pm

Post by naw »

Hi, Thanks - putting PB into /usr/share helped and the errors have changed a little, now...

Now, I'm just getting:
sh: line 1: fasm: command not found
sh: line 1: gtk-config: command not found
gcc: PureBasic.o: No such file or directory


I do have /usr/share/purebasic/Compilers/fasm but not gtk-config.

All of these are installed:

gtk+-1.2.10-22.i386.rpm
gtk2-2.0.6-8.i386.rpm
gtk2-engines-1.9.0-4.i386.rpm
gtk-engines-0.11-13.i386.rpm


Thanks - Nigel
Ta - N
Saboteur
Enthusiast
Enthusiast
Posts: 272
Joined: Fri Apr 25, 2003 7:09 pm
Location: (Madrid) Spain
Contact:

Post by Saboteur »

Well...

1. fasm is in purebasic/bin directory, copy it to /usr/bin/
2. perhaps you need gtk devel library, try to install it. I think it is: gtk+-devel-1.2.10-22.i386.rpm
[:: PB Registered ::]

Win10 Intel core i5-3330 8GB RAM Nvidia GTX 1050Ti
naw
Enthusiast
Enthusiast
Posts: 573
Joined: Fri Apr 25, 2003 4:57 pm

Post by naw »

Hi Saboteur,

Sorry for late response - took 2 weeks hols in France (went Fred spotting) - just got back...

Well - I did as you suggested (copied /usr/share & installed gtx dev libs) and it works - thanks very much!
Ta - N
Saboteur
Enthusiast
Enthusiast
Posts: 272
Joined: Fri Apr 25, 2003 7:09 pm
Location: (Madrid) Spain
Contact:

Post by Saboteur »

Ok... now let's go to code ;)
[:: PB Registered ::]

Win10 Intel core i5-3330 8GB RAM Nvidia GTX 1050Ti
Post Reply