Distribution of Linux Program

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
zuppi
In need of some credit
In need of some credit
Posts: 4
Joined: Tue Aug 31, 2004 7:09 pm
Location: Switzerland

Distribution of Linux Program

Post by zuppi » Mon Nov 22, 2004 8:45 pm

Hi,
I wrote a wxWidgets Program and tested it for Windows as well as under Linux (386 Gentoo), the machine I have wxWidgets installed. Works as designed. Now I want to distribute the Linux version, as binary, since I can not release it as source code.
My question is now, what do I need to do in order to install it on different distributions that it works... What prerequisits ? What additional libraries ? I did google, but just could not fine any thing that helped me :-(

Regards Daniel

biol75
In need of some credit
In need of some credit
Posts: 5
Joined: Mon Nov 15, 2004 8:59 am
Location: York, UK
Contact:

Post by biol75 » Wed Nov 24, 2004 1:03 pm

1) build it on a reasonably old distro - I use Slackware 8
2) link it to wxWidgets statically
3) if you use png or tiff or ... graphics libs, use the builtin, and consider that security advisories have been issued for these

You may find checkinstall helpful for making tgz, rpm and debs

chris

cg
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 201
Joined: Sun Aug 29, 2004 12:33 am
Location: Canada
Contact:

Post by cg » Wed Nov 24, 2004 3:32 pm

If you want to release a binary without object files you have to link dynamically. Theres a post here where this has been discussed and there are lots of links that you can check out:

http://forums.wxwidgets.org/viewtopic.p ... light=sell

HTH

CG

zuppi
In need of some credit
In need of some credit
Posts: 4
Joined: Tue Aug 31, 2004 7:09 pm
Location: Switzerland

Post by zuppi » Thu Nov 25, 2004 6:47 am

Thanks a lot !

Post Reply