Anyone tried PB on DSL (Damn Small Linux) ?

Linux specific forum
dagcrack
Addict
Addict
Posts: 1868
Joined: Sun Mar 07, 2004 8:47 am
Location: Argentina
Contact:

Anyone tried PB on DSL (Damn Small Linux) ?

Post by dagcrack »

Has anyone tried PB on DSL? I installed dsl on a vm for testing purposes, I wanted to know if someone here tryed PB on dsl (or knoppix whatsover, or should I say "under"), and if he got good or bad experiences with dsl for this end...
! Black holes are where God divided by zero !
My little blog!
(Not for the faint hearted!)
freak
PureBasic Team
PureBasic Team
Posts: 5929
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

I did. The goal was to make PB work on a linux in less than 64Mb, so it would
fit on my old usbstick, for which i have no other use.

You will run into the same problem as with any live-CD distribution. They
have no devel packages on them, which are needed for PB. With dsl, this
is particulary bad, as they really cut out anything they could ;)

You will need to install many packages to make PB work on dsl.

Well, i managed to make PB work with gtk1 and no Sprite/Screen or sound support.
(in about 64Mb, i think i was a little over it still)
I just did not continue with this in a while because, well there were other things to do ;)

So yes, PB can run on Dsl, it just won't be that "damn small" anymore.
Just get the apt-get running on it, and try to install the PB need packages,
it will tell you then what else is needed too.

Those you need:
gcc (for the compiler. any version will do. i think 2.7 has the least dependancies)
libgtk1.2-dev (to compile gui apps with gtk1)
libgtk2.0-dev (if you want grk2 support too. Note, dsl (at least when i tried had no gtk2 stuff at all, so this will install a lot of stuff!)
libsdl1.2-dev (for Sprite & Screen stuff)

for the sounds stuff i do not remember right now, i think the needed packages
for that are allready a requirement for one of the above, so unless you
cut them out, they should be installed anyway. Not sure though.

If you want to run the IDE too, you will need the "libstdc++" (or something like that)
package too, because scintilla needs it.


If i ever manage to finish my PB-dsl version, i will put it up for download.
Dunno if i ever will though...
quidquid Latine dictum sit altum videtur
thefool
Always Here
Always Here
Posts: 5881
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

Post Reply