Re: portable application



Hi,

actually a solution for your problem does exist, but it is usually bound
to a certain version of one distribution - the package management. But
then you would have to build a package from your app, test it ;-)

Surely you can assume the base libraries to be present, but even there
has been some confusion: older systems were bringing libc.5 while newer
versions came with glibc.6 - which needs a recompile to work cleanly.
Other examples are plenty, so configure does provide a save way. Another
thread (in c.o.l.d.s) was about 32bit code on 64bit machines - which
runs smoothly on x86-based platforms, but you'll run into trouble once
you switch to Sun processors anyway. The problem is rather old,
especially in the good ol' Unix days it was daily life.

Your reluctance to recompile makes me assume it's a really big thing or
one you've been having problems to compile already - a few years back I
was inable to compile or otherwise install an application on SuSE 9.1
and SuSE 9.3 while it worked (after a day) on SuSE 9.2 - the same app
was available from the package archive in Ubuntu and installed easily.
Are you having that kind of trouble? Sorry, I didn't find a solution
back then.

Good luck,
Bernhard

We can assume the base libraries such as glibc, gtk+ exist and only
package the other libraries. Use other approach to deal with data or
config file.
./configure;make;make install is not always a perfect way. Sometimes
you need remember some special configure options,and because of
compiling time you can't get it in hand.
Maybe a tool should exist to do this thing:packaging an application
base on ldd, capable excluding the specified base libraries.
Anyway, thanks for you help.

.



Relevant Pages

  • Errors applying kernel patch 118833-36
    ... install of Solaris 10 11/06. ... However, once the package list is done, I see a worrisome message: ... Below is the complete console output of the patch run. ... Changes for package SUNWnfsskr will not be applied to the system. ...
    (SunManagers)
  • Re: machine
    ... You can use Slackware's package management system, ... installpkg - Install a Slackware package ... You can compile the program from the source. ... > install something, something else had to get uninstalled, ...
    (alt.os.linux)
  • Re: Producing a binary install
    ... It did bomb once, about 4 hours into the compile, and demanded I ... Java, and other packages are not available in pre-compiled form. ... install for her over the net, and then do the rest of the install ... Otherwise doing a 'make package' after the port has been installed will create a package for you. ...
    (freebsd-questions)
  • Re: Stop hitting yourself!
    ... In the package system it Gimp 2.2. ... of the dependencies and then compile and install. ... In the Windows world, ...
    (comp.graphics.apps.gimp)
  • Re: any use to build from source?
    ... > allows you to compile with the compiler ... > headers of dependant files, ... One drawback of using pkg_add to install a binary package is that it ...
    (freebsd-questions)