List of required dependencies

Linux specific forum
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

List of required dependencies

Post by Trond »

If you find PureBasic has some dependencies not mentioned in the readme, post them here so other people can benefit from it.

The readme file says:
- gcc (not needed actually)
- GTK+ 1.2 and/or GTK+ 2.0 devel (libgtk2.0-dev) (only required for GUI programs)
- SDL 1.2 devel (required for multimedia programs and games)

Also you require:
ld (from binutils)
libc6-dev
libiodbc (for databases)
libxine-dev (for movie library)
libgtkembedmoz.so (for WebGadget)
libxxf86vm-dev (for OpenGL subsystem)
Last edited by Trond on Fri Feb 09, 2007 1:43 pm, edited 5 times in total.
merihevonen
Enthusiast
Enthusiast
Posts: 326
Joined: Mon Jan 01, 2007 7:20 pm

Post by merihevonen »

Debian users can use this command to install the dependencies easily:
apt-get install gcc libgtk2.0-dev libsdl1.2-dev libsdl1.2debian libsdl1.2debian-all libc6
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 »

Also require libiodbc
(for Database only)
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
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Post by walker »

don't forget libxine-dev .... or to simplify the process, install the following deb-package:
http://home.arcor.de/x-linux/pure/pbenv ... 0-i386.deb 8)
it will resolve all dependencies and installs a very small script (bash) in /usr/bin to start purebasic easily... (sets all needed environment vars) assuming your PB-folder resides in your home directory.... simply type start_pb.sh in a shell....
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

walker wrote:don't forget libxine-dev .... or to simplify the process, install the following deb-package:
http://home.arcor.de/x-linux/pure/pbenv ... 0-i386.deb 8)
it will resolve all dependencies and installs a very small script (bash) in /usr/bin to start purebasic easily... (sets all needed environment vars) assuming your PB-folder resides in your home directory.... simply type start_pb.sh in a shell....
I get an error saying wrong architecture. I'm running Ubuntu 7.04 64.
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Post by walker »

GeoTrail wrote: get an error saying wrong architecture. I'm running Ubuntu 7.04 64.
it's build on a 32bit system.... :roll: havn't a 64 biit system running atm... (and I guess PB won't work on 64 bit.. without a 32bit environment)
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

Why wouldn't PB run on a 64 bit Linux system when it runs fine on 64 bit Windows?
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Maybe because Linux is crap?
Fred
Administrator
Administrator
Posts: 18178
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

PB was working on my 64bits linux box, it is probably only the .deb which can't be installed.
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

Yeah you are right. It is checking for the CPU architecture.
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Post Reply