Page 1 of 1
Problem with PureLibraries
Posted: Sun Aug 20, 2006 3:33 am
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.
Posted: Sun Aug 20, 2006 11:26 am
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
Posted: Sun Aug 20, 2006 3:34 pm
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.
Posted: Sun Aug 20, 2006 9:04 pm
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
Posted: Mon Aug 21, 2006 12:56 pm
by Trond
You need to unzip it again, but this time be sure to tell your unzip program to create empty directories.
Posted: Mon Aug 21, 2006 4:30 pm
by freak
Yes, in the past the most common cause for this error was that the 'userlibraries' directory did not exist.
Posted: Thu Aug 24, 2006 12:31 am
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"