Page 1 of 2
A Debian/Ubuntu PureBasic installer
Posted: Mon Jun 16, 2008 10:18 pm
by Foz
Just curious, but how many people would prefer to have a package installer for PureBasic?
This would then eliminate all the documents and videos on how to install all the dependancies into a double click.
I've been experimenting with creating a package for ubuntu and then asked Freak about it, but he thinks that it isn't necessary as the install is simple enough.
What say you?
Posted: Mon Jun 16, 2008 10:25 pm
by Polo
I fully agree

!!
Posted: Tue Jun 17, 2008 8:30 am
by bembulak
If you had asked me two years ago, I fully agreed with you. But meanwhile I'm that fast in installing PB...
It takes longer to load the sources list in APT or Synaptic, than installing PB.
With the new package comes a "checkinstall.sh" file. Nice Shell-Script. What more does a coder need?
But I understand the wish for the package. But if you'd build up a Deb-Package, the Suse's want a RPM-Build, than the Mandrivas, the Slackwares, ..
Though I love Linux, I don't know, if there is the need of a "PB Package Maintainer", 'cause this is what's it gonna be.
Posted: Tue Jun 17, 2008 10:11 am
by Foz
How do people fancy trying this out - it doesn't install PureBasic, but it DOES install all the dependencies. Ubuntu/Debian only:
http://www.shadowtavern.com/test/pureba ... encies.deb
Posted: Tue Jun 17, 2008 11:12 am
by bembulak
This is indeed very helpful.
Even if you can do the actual PB-installation process with closed eyes, you always gotta solve the deps first. I overlooked this in my previous post - sorry. I apologize.
Very good work!
Posted: Tue Jun 17, 2008 11:39 am
by lexvictory
Re: A Debian/Ubuntu PureBasic installer
Posted: Wed Jun 18, 2008 4:53 pm
by veganisafreak
I got my PB installed by following the instructions in the INSTALL and README files that came with it. And I'm not a geek. I'm one of those people who like things to "just work" and for me, it did.
But anything that helps even one person is good.
Posted: Wed Aug 20, 2008 7:00 am
by Rick
bembulak wrote:With the new package comes a "checkinstall.sh" file. Nice Shell-Script. What more does a coder need?
This checkinstall.sh script was a HUGE help. As it flagged each item that was not ready, I installed it from the package manager and ran the script again until it was clean.
If the script wasn't there, I would really have wanted a .deb installation package with the dependencies properly set.
Posted: Mon Jul 13, 2009 8:27 am
by kepu
I can't agree.
I tried several hours to install purebasic.
I installed pkg-config, glib, Atk, cairo, gtk+
.....I couldn't get cairo , stuck with following
just failing end of messages here
Code: Select all
.....
checking whether cairo's Xlib Xrender surface backend feature could be enabled... yes
checking for cairo's Quartz surface backend feature...
checking ApplicationServices/ApplicationServices.h usability... no
checking ApplicationServices/ApplicationServices.h presence... no
checking for ApplicationServices/ApplicationServices.h... no
checking CoreGraphics/CoreGraphics.h usability... no
checking CoreGraphics/CoreGraphics.h presence... no
checking for CoreGraphics/CoreGraphics.h... no
checking whether cairo's Quartz surface backend feature could be enabled... no (requires CoreGraphics framework)
checking for cairo's Quartz font backend feature...
checking whether cairo's Quartz font backend feature could be enabled... no (requires CoreGraphics framework)
checking for cairo's Microsoft Windows surface backend feature...
checking whether cairo's Microsoft Windows surface backend feature could be enabled... no (requires a Win32 platform)
checking for cairo's Microsoft Windows font backend feature...
checking whether cairo's Microsoft Windows font backend feature could be enabled... no (requires a Win32 platform)
checking for cairo's PNG functions feature...
configure: WARNING: Could not find libpng in the pkg-config search path
checking whether cairo's PNG functions feature could be enabled... no
configure: error: recommended PNG functions feature could not be enabled
and because without cairo there can't be gtk+ .......and finally no Purebasic
I have used couple years Debian based Mepis , now version 8 , works fine, this was actually the first dilemma , couldn't solve in first evening
I like if there is some package, .rpm , .deb or.tgz
Debian Lenny and Mepis Linux installation
Posted: Wed Aug 05, 2009 9:58 pm
by kepu
Sorry, I forgot put this earlier
Purebasic installation went nicely after this:
This will install all needed packages
Code: Select all
su -c
'apt-get install build-essential libgtk2.0-dev libgnome2-dev libgnomeprintui2.2-dev libxine-dev libsdl1.2-dev libiodbc2-dev'
Happy coding
Re: A Debian/Ubuntu PureBasic installer
Posted: Tue Sep 15, 2009 1:57 pm
by eVAPor8
Kepu,
Thanks a lot for your work and contrib!!!
However on my installation of Jaunty, your snippet failed with su complaining about the -c switch and apostrophes not helping either.
I changed it to
Code: Select all
sudo apt-get install build-essential libgtk2.0-dev libgnome2-dev libgnomeprintui2.2-dev libxine-dev libsdl1.2-dev libiodbc2-dev
Slapped in my passy and HEY PRESTO!!! *KERRRR---CHIIING!!!!!*
Hope this helps someone but all respects to
Kapu who did all the
REAL work!

Re: A Debian/Ubuntu PureBasic installer
Posted: Wed Sep 16, 2009 1:24 pm
by eVAPor8
Foz wrote:Just curious, but how many people would prefer to have a package installer for PureBasic?
This would then eliminate all the documents and videos on how to install all the dependancies into a double click.
I've been experimenting with creating a package for ubuntu and then asked Freak about it, but he thinks that it isn't necessary as the install is simple enough.
What say you?
Totally agree with you.
BUILD A DAMN PACKAGE!!!!!
My KER-CHING install, upon further investigations fails to load to the complier of launched by Launcher (shortcut). Also half the Libs and Constants seem to missing and InitSprite3D either simply fails at best, or is an "unknown function, array, macro or linked list" at worst.
I've tried BOTH the "quick install" and "option 2" to no avail.
It might well be a "five minute job" for Timo. But he's got to realise that the rest of us do not have his level or expertise and involvement with PB (or in my with Linux, either!) to draw upon.
Then again, some say he calculates MD5's in his head and dreams in Binary. All we know is...
He's called The Freak!!!*
- and the fact that people who aren't fans of Top Gear didn't get that joke sort of proves my point.
I wouldn't mind, but there's probably a decent setup/getting started on linux guide somewhere, but I'll be damned if I could find one either in README or INSTALL other than a generic link to
www.purebasic.com.
Re: A Debian/Ubuntu PureBasic installer
Posted: Wed Sep 16, 2009 3:49 pm
by freak
eVAPor8 wrote:Totally agree with you. BUILD A DAMN PACKAGE!!!!!
GET SOME DAMN MANNERS!!!!111one
Then try again :roll:
Re: A Debian/Ubuntu PureBasic installer
Posted: Wed Sep 16, 2009 4:37 pm
by eVAPor8
freak wrote:eVAPor8 wrote:Totally agree with you. BUILD A DAMN PACKAGE!!!!!
GET SOME DAMN MANNERS!!!!111one
Then try again :roll:
Timo,
I don't want start a flame war, so I'm send you a PM. I suggest you re-read my entire post before replying.
Re: A Debian/Ubuntu PureBasic installer
Posted: Wed Sep 16, 2009 7:16 pm
by dhouston
I am not very experienced with Linux but, in order to test my applications under a sampling of the some 600-2000 various distros, I have recently installed Debian 5.0, Fedora 11, Ubuntu 9.04, Kubuntu 9.04 and Mandriva on swappable HDDs and then have installed PB on each. I merely extracted the files in the distribution package to a directory of my choice (Purebasic under my Home directory) and then used Synaptic or Apt to install the packages listed in Checkinstall.sh. None took more than 5-10 minutes. I had far more troubles installing the various Linux distros themselves than with PB.