Re: Confirm Installed Run-Time Version

thanks, john.  a task obviously not for the naive-at-heart!

i'll look to find/define a more fool-proof solution, thanks for the links.  (and you're right, whatever goes wrong will be my fault (and it will be!).)



On Tue, Jul 19, 2011 at 2:35 PM, <jcupitt gmail com> wrote:
Hi again,

On 19 July 2011 13:04, richard boaz <ivor boaz gmail com> wrote:
> i have to do this for MAC platforms as well, (where installing gtk+ is a
> right-old PITA), so i will use solution 2 and simply provide all the
> necessary gtk+ libraries as part of the app install itself.

I use gtk-osx for this, it's pretty nice. I have an OS X build system
based on jhbuild here:

it downloads and builds everything, then makes a for you,
then puts it in a .dmg.

> use a program (listing below) to confirm that the installed version conforms
> to minimum requirements, outputing:

I honestly think this will cause you terrible pain. The various linux
distributions vary widely in how they set the components up and the
versions they are on. And you have little guarantee of binary
compatibility :-( Your program will crash mysteriously in
hard-to-debug ways, people will blame you and it'll hurt the
reputation of your code.

The reasonable options on Linux are:

- only supply a tarball and expect users to build it ... linux makes
this easy, it's very safe, and Debian/Redhat/etc. users will
energetically package your program for you, saving you months of
annoying work

- supply a binary that includes all libraries except libc, see firefox
for tips on this, they've spent a huge amount of time on this issue

Note that even after investing several developer-years of time, the
firefox binaries on linux STILL fail on some distributions. Linux is
just not geared up for binary distribution.

There are also these projects which aim to address this knotty problem:

One of these might also be worth looking at.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]