Page 1 of 1

PB 4 Linux newbie question

Posted: Fri Aug 01, 2003 12:46 pm
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?

Posted: Fri Aug 01, 2003 1:54 pm
by Saboteur
Is PureBasic directory in /usr/share/ ?
Do you have Fasm? Need to be in /usr/bin/

Posted: Fri Aug 01, 2003 5:08 pm
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

Posted: Fri Aug 01, 2003 6:38 pm
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

Posted: Tue Aug 19, 2003 11:33 am
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!

Posted: Tue Aug 19, 2003 12:30 pm
by Saboteur
Ok... now let's go to code ;)