Compiler problem with Ubuntu 8.04

Linux specific forum
milan1612
Addict
Addict
Posts: 894
Joined: Thu Apr 05, 2007 12:15 am
Location: Nuremberg, Germany
Contact:

Compiler problem with Ubuntu 8.04

Post by milan1612 »

I installed Purebasic 4.2 following the tutorial by Bembulak.
Now when I first ran the IDE and tried to compile an example the compiler stopped
to respond and an error of the IDE showed up telling me that it couldn't restart
the compiler.
I closed the IDE and tried to compile some code via the console
and this error was printed:
milan@milan-desktop:~/Script$ pbcompiler Script.pb

******************************************
PureBasic 4.20 (Linux - x86)
******************************************

Loading external modules...
Error: Line 0 - Can't load any OSLibraries! Please re-install PureBasic
I did install all libraries that Bembulak's tutorial told me to install.
What to do now?
Windows 7 & PureBasic 4.4
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

there is a bug in the current version, test it with sudo

greetings
Thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
freak
PureBasic Team
PureBasic Team
Posts: 5948
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

This is different. The compiler cannot load the OS import libraries here.

Do you have any files in purelibraries/linux/ ?
Maybe try downloading/extracting the archive again.
quidquid Latine dictum sit altum videtur
milan1612
Addict
Addict
Posts: 894
Joined: Thu Apr 05, 2007 12:15 am
Location: Nuremberg, Germany
Contact:

Post by milan1612 »

freak wrote:This is different. The compiler cannot load the OS import libraries here.

Do you have any files in purelibraries/linux/ ?
Maybe try downloading/extracting the archive again.
Yes, these ones:
expat gdk glib glibc gobject gtk libraries pthread sdl
Funnily enough it works now :shock:
The IDE is loading the compiler again and the compilation works now :lol:
Weird...

EDIT: I restarted my computer after I got this error, maybe this was the problem?
Windows 7 & PureBasic 4.4
Post Reply