A Debian/Ubuntu PureBasic installer

Linux specific forum
Foz
Addict
Addict
Posts: 1359
Joined: Tue Nov 13, 2007 12:42 pm
Location: Manchester, UK

A Debian/Ubuntu PureBasic installer

Post 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?
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

I fully agree :) !!
User avatar
bembulak
Enthusiast
Enthusiast
Posts: 575
Joined: Mon Mar 06, 2006 3:53 pm
Location: Austria

Post 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.
cheers,

bembulak
Foz
Addict
Addict
Posts: 1359
Joined: Tue Nov 13, 2007 12:42 pm
Location: Manchester, UK

Post 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
User avatar
bembulak
Enthusiast
Enthusiast
Posts: 575
Joined: Mon Mar 06, 2006 3:53 pm
Location: Austria

Post 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!
cheers,

bembulak
lexvictory
Addict
Addict
Posts: 1027
Joined: Sun May 15, 2005 5:15 am
Location: Australia
Contact:

Post by lexvictory »

Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
veganisafreak
User
User
Posts: 32
Joined: Mon Jun 02, 2008 6:55 pm
Location: UK

Re: A Debian/Ubuntu PureBasic installer

Post 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.
Rick
User
User
Posts: 16
Joined: Thu Sep 23, 2004 6:25 am
Location: Portland, Oregon, USA

Post 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.
kepu
User
User
Posts: 20
Joined: Mon Jul 13, 2009 8:00 am

Post 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
kepu
User
User
Posts: 20
Joined: Mon Jul 13, 2009 8:00 am

Debian Lenny and Mepis Linux installation

Post 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'

:D
Happy coding
eVAPor8
User
User
Posts: 49
Joined: Tue Aug 14, 2007 10:58 am
Contact:

Re: A Debian/Ubuntu PureBasic installer

Post 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! :)
Should've ducked faster.
eVAPor8
User
User
Posts: 49
Joined: Tue Aug 14, 2007 10:58 am
Contact:

Re: A Debian/Ubuntu PureBasic installer

Post 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.
Should've ducked faster.
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Re: A Debian/Ubuntu PureBasic installer

Post by freak »

eVAPor8 wrote:Totally agree with you. BUILD A DAMN PACKAGE!!!!!
GET SOME DAMN MANNERS!!!!111one

Then try again :roll:
quidquid Latine dictum sit altum videtur
eVAPor8
User
User
Posts: 49
Joined: Tue Aug 14, 2007 10:58 am
Contact:

Re: A Debian/Ubuntu PureBasic installer

Post 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.
Should've ducked faster.
User avatar
dhouston
Enthusiast
Enthusiast
Posts: 430
Joined: Tue Aug 21, 2007 2:44 pm
Location: USA (Cincinnati)
Contact:

Re: A Debian/Ubuntu PureBasic installer

Post 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.
Post Reply