Problem with PureLibraries

Linux specific forum
User avatar
Paul
PureBasic Expert
PureBasic Expert
Posts: 1285
Joined: Fri Apr 25, 2003 4:34 pm
Location: Canada
Contact:

Problem with PureLibraries

Post by Paul »

Just installed ubuntu and all required development packages.
After installing PureBasic I am unable to compile any source code.
I get the error: can't load any PureLibraries|Please re-install Purebasic.

I have followed both install methods in the INSTALL file and still receive the same error message.

Any ideas on what to do here?


Just a side note... When I installed PureBasic on Mandrake it worked without any problems.
Nik
Addict
Addict
Posts: 1017
Joined: Fri May 13, 2005 11:45 pm
Location: Germany
Contact:

Post by Nik »

Look in the Thread above somone posted a very easy checklist for installing Prebasic on Ubuntu, wich will work fine after you got the trick
User avatar
Paul
PureBasic Expert
PureBasic Expert
Posts: 1285
Joined: Fri Apr 25, 2003 4:34 pm
Location: Canada
Contact:

Post by Paul »

Um, what "trick" would that be?

Like I said, I've gotten it to work without problems on other linux distros.
For some reason on my install of ubuntu, PureBasic refuses to find/load the PureLibraries... and the statement telling me to re-install Purebasic is of not much help :(

Yes I can start the IDE, yes I can use the pbcompiler command line... but the compiler will fail with the error I mentioned.


Searching through this Linux section (yes that was my first step before even posting here) I noticed someone else received the same eror regarding "PureLibraries" but I am unclear if or how they finally fixed it.
Nik
Addict
Addict
Posts: 1017
Joined: Fri May 13, 2005 11:45 pm
Location: Germany
Contact:

Post by Nik »

Did you try the method described here http://www.purebasic.fr/english/viewtopic.php?t=23177
whcih uses a Script to launch the IDE with the appropriate PATH Variabel?
It works on my Ubuntu 6.06
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

You need to unzip it again, but this time be sure to tell your unzip program to create empty directories.
freak
PureBasic Team
PureBasic Team
Posts: 5946
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

Yes, in the past the most common cause for this error was that the 'userlibraries' directory did not exist.
quidquid Latine dictum sit altum videtur
User avatar
Paul
PureBasic Expert
PureBasic Expert
Posts: 1285
Joined: Fri Apr 25, 2003 4:34 pm
Location: Canada
Contact:

Post by Paul »

Yes, this was the problem.
I had to manually add the folder userlibraries to the PureLibraries folder.

Maybe this information could be added to the readme file?

Or even add the "userlibraries" folder to the zip and place a readme file that simply says "place user libraries here"
Image Image
Post Reply