continuing with my multi-platform app
I have this app which runs on multiple platforms,
windows,linux, aix, solaris, hpux, and hopefully soon z/linux
anyhow
it was built as a console app to minimize the runtime dependencies. the shell script prompt for all the parms not specified, has --help support, etc..
but my users find the commandline ugly and want a gui wrapper..
so we have added a wxPerl shell to launch the shell script.
but it depends on gtk and a bunch of other system files,
that may NOT be installed. I had the same problem with the commandline for xpath, and was able to package a workable copy of the libexpat.so for the duration of my runtime.
I don't want to try that for the gui.. some 25 so's at least.
so, if I write another shell script to launch the gui, how can I detect if the dependent stuff is installed or not?
gtk, ... many of the systems this app would run on are servers, and the gui components are intentionally not installed.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.