Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

where are all the files I need?

by sdetweil (Sexton)
on Jan 21, 2013 at 14:20 UTC ( #1014449=perlquestion: print w/ replies, xml ) Need Help??
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)

Comment on where are all the files I need?
Re: where are all the files I need?
by blue_cowdawg (Prior) 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
      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.
            so, I was asking, does anyone know how the default gtk engine, used by the wx code, works, so I can find the missing file(s) I need to add to my bundle.

        You just might want to wander over to Google Groups and possibly find the WX users group there and ask. While your app might be written in Perl the libs you speak of are not. I know myself that if I tried to do what you are doing the air in my cubicle would turn a nice shade of blue.


        Peter L. Berghold -- Unix Professional
        Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1014449]
Approved by muba
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (13)
As of 2014-07-28 19:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (207 votes), past polls