Re: portable application
- From: Bernhard Agthe <dark2star@xxxxxxx>
- Date: Fri, 15 Feb 2008 09:59:12 +0100
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.
- Follow-Ups:
- Re: portable application
- From: ray
- Re: portable application
- References:
- portable application
- From: ray
- Re: portable application
- From: Bill Marcum
- Re: portable application
- From: ray
- Re: portable application
- From: Bernhard Agthe
- Re: portable application
- From: ray
- portable application
- Prev by Date: Re: portable application
- Next by Date: Re: How to wait for multiple threads simultaneously?
- Previous by thread: Re: portable application
- Next by thread: Re: portable application
- Index(es):
Relevant Pages
|