sdetweil has asked for the wisdom of the Perl Monks concerning the following question:
back again.. I have this perl/wxperl app (packaged with perl2exe for Windows/Linux/AIX/Solaris/HPUX and Z/linux) that I need to be able to distribute to platform X.
I cannot modify platform X to allow the app to run so I need to package all the shared objects/dlls into the runtime..
I am almost there..
the app runs, but puts out a theme warning
GTK warning : unable to locate theme engine in module path: "murrine",
so, it seems I have some file missing. I have the libcairo.so, and libcanberra-gtk-module.so
I looked at the build for the engine smooth, but it only creates one so. (libsmooth.so)
(yes, I know that one set of SO's will not work for all platforms, I have that covered already, each built runtime will only package dependent files for its requirements)
Re: where are all the files I need?
by blue_cowdawg (Monsignor) on Jan 21, 2013 at 15:28 UTC
|
so, it seems I have some file missing.
So... what files are you missing? From your post I'm having some confusion as to what you are looking for.
It looks to me like you are trying to package a bunch of open source libraries with your distro. Rather than copying them directly into your package I'd suggest you actually build them and package them that way.
What type(s) of packages are you building? RPM? MSI? Gzipped-Tar? DEBs? Plain brown wrapper boxes?
I cannot modify platform X to allow the app to run so I need to package all the shared objects/dlls into the runtime..
That statement confuses me even more. If you cannot modify the target system what's the point of this exercise? Are you planning to install into your home directory or is there somewhere else that you have access to that you are installing. Keep in mind that if you are installing into a non-standard place you need to consider what environmental values need to be modified to make it work.
Last parting shot: Exactly how is this Perl related?
Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
| [reply] |
|
I know its a far stretch.. its written in Perl..
perl2exe builds a platform specific executable, and like the perl Packager, it bundles files and unbundles into a folder before invoking the perl app.. these will dynamically be loaded into the executables path.. (and all cleaned up on app exit).
so, yes, I am bundling the runtime sos (dlls on windows)
just enough to make this work, self contained.
(I already do this for the commandline version of my app)
this is a support assistance app. I cannot modify the platform configuration that the user is having trouble with
(I can use the ONE folder the app is installed in and ONE folder in /tmp. My app is distributed in a zip for windows and gz for everything else)
so, I was asking, does anyone know how the default gtk theme engine, used by the wx code, works, so I can find the missing file(s) I need to add to my bundle.
I ask here cause the spread of talent and experience is wider than anyplace else I've seen..
if this is too non-perl then please delete this thread.
| [reply] |
|
| [reply] |
|
|