Linked by Amjith Ramanujam on Fri 8th Aug 2008 03:58 UTC
Linux "The Linux Foundation has just released a beta of a new program, Linux Application Checker (AppChecker), that's going to make independent software vendors and other programmers start to love developing for Linux." This program checks your application against different versions of the Linux Standard Base (LSB), and against all the Linux distributions in the LSB Database. After the test is done it will present a report about the compatibility status of your application with the various distributions, and which external libraries and interfaces your application uses.
Thread beginning with comment 326182
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Sounds good
by kaiwai on Fri 8th Aug 2008 08:01 UTC in reply to "Sounds good"
kaiwai
Member since:
2005-07-06

Let's hope this doesn't just effect professional developers, but hobbyists too. All too often, I find myself trying to compile source code knowing nothing about the dependencies.


Or worse, you download the source, and the original programmer assumed that certain things are installed - and thus, never mention them as dependencies. I remember when I was compiling things on Solaris there would be atleast 5 different dependencies the maintainers would never mention in their website.

One would assume that these people, with atleast a minimal university programming skill set would remember the cardinal rule of 'never make assumptions about the end users computer configuration".

Reply Parent Bookmark Score: 3

RE[2]: Sounds good
by panzi on Fri 8th Aug 2008 11:06 in reply to "RE: Sounds good"
panzi Member since:
2006-01-22

Or even worse, some projects not even not mention the dependencies in the documentation, they don't even check them in the configure script, so the compilation will fail with some missing headers.

Reply Parent Bookmark Score: 1

RE[2]: Sounds good
by thecwin on Fri 8th Aug 2008 11:07 in reply to "RE: Sounds good"
thecwin Member since:
2006-01-04

Unfortunately, sometimes the odd dependency gets in there without you realising you're depending on it.

Even more confusing can be libraries that that can have different features/sub-dependencies depending on what options it was compiled with. Some libraries I have used even install different headers depending what how you compiled them.

Every piece of software has a certain set of assumptions about the end-users computer (e.g. sh is installed is a fair assumption), but sometimes one mistakenly makes the wrong assumption: "I thought that was present on every system" type assumptions. Often it's best to create a chroot build environment only containing your expected dependencies built with the most minimal features, just to test it.

Of course, the every once in a while I think developers expect you to read the source code yourself and work out the dependencies ;)

Reply Parent Bookmark Score: 4

RE[2]: Sounds good
by chemical_scum on Fri 8th Aug 2008 12:28 in reply to "RE: Sounds good"
chemical_scum Member since:
2005-11-02

I remember when I was compiling things on Solaris there would be atleast 5 different dependencies the maintainers would never mention in their website.


I had this problem when trying to install a plugin for R from R-cran recently. Most of the dependancies were easy to find but one Fortran one was totally obscure. It turned out (after a having to do a web search) that it was for was for libblas. Their seems to be a lot of confusion about the naming of the required BLAS libraries on Linux (maybe on other Unix like systems too).

Reply Parent Bookmark Score: 2