Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: wxPerl and PAR

by busunsl (Vicar)
on Aug 25, 2004 at 10:07 UTC ( #385631=note: print w/ replies, xml ) Need Help??


in reply to Re: wxPerl and PAR
in thread wxPerl and PAR

PAR should've packaged up libwx_gtk.
Ok, but it hasn't :-(

How did you package your application?
pp -o hello hello.pl

Turn on verbose and show us how it went.
pp -vv -o hello hello.pl

/usr/bin/pp: Packing hello.pl /usr/bin/pp: Writing PAR on ppMdblo.par /usr/bin/pp: ... adding <string> as MANIFEST /usr/bin/pp: ... adding <string> as META.yml /usr/bin/pp: ... adding <string> as lib/AutoLoader.pm /usr/bin/pp: ... adding <string> as lib/Carp.pm /usr/bin/pp: ... adding <string> as lib/Carp/Heavy.pm /usr/bin/pp: ... adding <string> as lib/Config.pm /usr/bin/pp: ... adding <string> as lib/DynaLoader.pm /usr/bin/pp: ... adding <string> as lib/Exporter.pm /usr/bin/pp: ... adding <string> as lib/Exporter/Heavy.pm /usr/bin/pp: ... adding <string> as lib/File/Glob.pm /usr/bin/pp: ... adding <string> as lib/List/Util.pm /usr/bin/pp: ... adding <string> as lib/Scalar/Util.pm /usr/bin/pp: ... adding <string> as lib/Term/Cap.pm /usr/bin/pp: ... adding <string> as lib/Text/ParseWords.pm /usr/bin/pp: ... adding <string> as lib/Thread.pm /usr/bin/pp: ... adding <string> as lib/Tie/Handle.pm /usr/bin/pp: ... adding <string> as lib/Wx.pm /usr/bin/pp: ... adding <string> as lib/Wx/App.pm /usr/bin/pp: ... adding <string> as lib/Wx/Event.pm /usr/bin/pp: ... adding <string> as lib/Wx/Locale.pm /usr/bin/pp: ... adding <string> as lib/Wx/Menu.pm /usr/bin/pp: ... adding <string> as lib/Wx/RadioBox.pm /usr/bin/pp: ... adding <string> as lib/Wx/Region.pm /usr/bin/pp: ... adding <string> as lib/Wx/Timer.pm /usr/bin/pp: ... adding <string> as lib/Wx/Wx_Exp.pm /usr/bin/pp: ... adding <string> as lib/XSLoader.pm /usr/bin/pp: ... adding <string> as lib/auto/DynaLoader/autosplit.ix /usr/bin/pp: ... adding <string> as lib/auto/DynaLoader/dl_expandspec. +al /usr/bin/pp: ... adding <string> as lib/auto/DynaLoader/dl_find_symbol +_anywhere.al /usr/bin/pp: ... adding <string> as lib/auto/DynaLoader/dl_findfile.al /usr/bin/pp: ... adding <string> as lib/auto/DynaLoader/extralibs.ld /usr/bin/pp: ... adding /usr/lib/perl5/5.8.5/i686-linux/auto/File/Glob +/Glob.bs as lib/auto/File/Glob/Glob.bs /usr/bin/pp: ... adding /usr/lib/perl5/5.8.5/i686-linux/auto/File/Glob +/Glob.so as lib/auto/File/Glob/Glob.so /usr/bin/pp: ... adding /usr/lib/perl5/5.8.5/i686-linux/auto/List/Util +/Util.bs as lib/auto/List/Util/Util.bs /usr/bin/pp: ... adding /usr/lib/perl5/5.8.5/i686-linux/auto/List/Util +/Util.so as lib/auto/List/Util/Util.so /usr/bin/pp: ... adding /usr/lib/perl5/site_perl/5.8.5/i686-linux/auto +/Wx/Wx.bs as lib/auto/Wx/Wx.bs /usr/bin/pp: ... adding /usr/lib/perl5/site_perl/5.8.5/i686-linux/auto +/Wx/Wx.so as lib/auto/Wx/Wx.so /usr/bin/pp: ... adding /usr/lib/perl5/5.8.5/i686-linux/auto/re/re.bs +as lib/auto/re/re.bs /usr/bin/pp: ... adding /usr/lib/perl5/5.8.5/i686-linux/auto/re/re.so +as lib/auto/re/re.so /usr/bin/pp: ... adding /usr/lib/perl5/5.8.5/i686-linux/auto/threads/s +hared/shared.bs as lib/auto/threads/shared/shared.bs /usr/bin/pp: ... adding /usr/lib/perl5/5.8.5/i686-linux/auto/threads/s +hared/shared.so as lib/auto/threads/shared/shared.so /usr/bin/pp: ... adding <string> as lib/overload.pm /usr/bin/pp: ... adding <string> as lib/re.pm /usr/bin/pp: ... adding <string> as lib/strict.pm /usr/bin/pp: ... adding <string> as lib/threads/shared.pm /usr/bin/pp: ... adding <string> as lib/vars.pm /usr/bin/pp: ... adding <string> as lib/warnings.pm /usr/bin/pp: ... adding <string> as lib/warnings/register.pm /usr/bin/pp: ... adding hello.pl as script/hello.pl /usr/bin/pp: ... adding <string> as script/main.pl /usr/bin/pp: Running /usr/bin/parl -B -Ohello ppMdblo.par Packing "Archive/Zip.pm"... Written as "Archive/Zip.pm" Packing "AutoLoader.pm"... Written as "AutoLoader.pm" Packing "Carp.pm"... Written as "Carp.pm" Packing "Carp/Heavy.pm"... Written as "Carp/Heavy.pm" Packing "Compress/Zlib.pm"... Written as "Compress/Zlib.pm" Packing "Config.pm"... Written as "Config.pm" Packing "Cwd.pm"... Written as "Cwd.pm" Packing "DynaLoader.pm"... Written as "DynaLoader.pm" Packing "Errno.pm"... Written as "Errno.pm" Packing "Exporter.pm"... Written as "Exporter.pm" Packing "Exporter/Heavy.pm"... Written as "Exporter/Heavy.pm" Packing "Fcntl.pm"... Written as "Fcntl.pm" Packing "File/Basename.pm"... Written as "File/Basename.pm" Packing "File/Copy.pm"... Written as "File/Copy.pm" Packing "File/Find.pm"... Written as "File/Find.pm" Packing "File/Glob.pm"... Written as "File/Glob.pm" Packing "File/Path.pm"... Written as "File/Path.pm" Packing "File/Spec.pm"... Written as "File/Spec.pm" Packing "File/Spec/Unix.pm"... Written as "File/Spec/Unix.pm" Packing "File/Temp.pm"... Written as "File/Temp.pm" Packing "IO.pm"... Written as "IO.pm" Packing "IO/File.pm"... Written as "IO/File.pm" Packing "IO/Handle.pm"... Written as "IO/Handle.pm" Packing "IO/Seekable.pm"... Written as "IO/Seekable.pm" Packing "List/Util.pm"... Written as "List/Util.pm" Packing "PAR.pm"... Written as "PAR.pm" Packing "PAR/Dist.pm"... Written as "PAR/Dist.pm" Packing "PAR/Filter.pm"... Written as "PAR/Filter.pm" Packing "PAR/Filter/PodStrip.pm"... Written as "PAR/Filter/PodStrip.pm" Packing "PAR/Heavy.pm"... Written as "PAR/Heavy.pm" Packing "Scalar/Util.pm"... Written as "Scalar/Util.pm" Packing "SelectSaver.pm"... Written as "SelectSaver.pm" Packing "Symbol.pm"... Written as "Symbol.pm" Packing "Time/Local.pm"... Written as "Time/Local.pm" Packing "XSLoader.pm"... Written as "XSLoader.pm" Packing "auto/Compress/Zlib/autosplit.ix"... Written as "auto/Compress/Zlib/autosplit.ix" Packing "auto/DynaLoader/dl_findfile.al"... Written as "auto/DynaLoader/dl_findfile.al" Packing "base.pm"... Written as "base.pm" Packing "bytes.pm"... Written as "bytes.pm" Packing "constant.pm"... Written as "constant.pm" Packing "integer.pm"... Written as "integer.pm" Packing "lib.pm"... Written as "lib.pm" Packing "overload.pm"... Written as "overload.pm" Packing "re.pm"... Written as "re.pm" Packing "strict.pm"... Written as "strict.pm" Packing "vars.pm"... Written as "vars.pm" Packing "warnings.pm"... Written as "warnings.pm" Packing "warnings/register.pm"... Written as "warnings/register.pm" Packing "/tmp/par-root/cache-1b839aade4543b951437f483bfbbf80c5a6a7635/ +44c56f72.so"... Written as "auto/File/Glob/Glob.so" Packing "/tmp/par-root/cache-1b839aade4543b951437f483bfbbf80c5a6a7635/ +4b406d26.so"... Written as "auto/Fcntl/Fcntl.so" Packing "/tmp/par-root/cache-1b839aade4543b951437f483bfbbf80c5a6a7635/ +872f0a76.so"... Written as "auto/Compress/Zlib/Zlib.so" Packing "/tmp/par-root/cache-1b839aade4543b951437f483bfbbf80c5a6a7635/ +96bb6d78.so"... Written as "auto/IO/IO.so" Packing "/tmp/par-root/cache-1b839aade4543b951437f483bfbbf80c5a6a7635/ +bb035656.so"... Written as "auto/Cwd/Cwd.so" Packing "/tmp/par-root/cache-1b839aade4543b951437f483bfbbf80c5a6a7635/ +fa5630ee.so"... Written as "auto/List/Util/Util.so"


Comment on Re^2: wxPerl and PAR
Download Code
Re^3: wxPerl and PAR
by PodMaster (Abbot) on Aug 25, 2004 at 10:33 UTC
    Can I get a ls /usr/lib/perl5/site_perl/5.8.5/i686-linux/auto/Wx/?

    On my machine it (or the equivalent) contains a bunch of wx dlls.

    I suggest you try scandeps -V yourprogram, and then pick up all the missing dll's (so's, whatever) and add then with into the resulting executable with the -l option (or however you wish, it is a zip file).

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

      ll /usr/lib/perl5/site_perl/5.8.5/i686-linux/auto/Wx/
      total 1844 drwxr-xr-x 15 root root 4096 Aug 25 11:57 . drwxr-xr-x 8 root root 4096 Aug 25 08:37 .. -rw-r--r-- 1 root root 5707 Aug 25 11:57 .packlist drwxr-xr-x 2 root root 4096 Aug 25 11:57 Calendar drwxr-xr-x 2 root root 4096 Aug 25 11:57 DND drwxr-xr-x 2 root root 4096 Aug 25 11:57 DateTime drwxr-xr-x 2 root root 4096 Aug 25 11:57 DocView drwxr-xr-x 2 root root 4096 Aug 25 11:57 FS drwxr-xr-x 2 root root 4096 Aug 25 11:57 Grid drwxr-xr-x 2 root root 4096 Aug 25 11:57 Help drwxr-xr-x 2 root root 4096 Aug 25 11:57 Html drwxr-xr-x 2 root root 4096 Aug 25 11:57 MDI drwxr-xr-x 2 root root 4096 Aug 25 11:57 Print drwxr-xr-x 2 root root 4096 Aug 25 11:57 STC drwxr-xr-x 2 root root 4096 Aug 25 11:57 Socket -r--r--r-- 1 root root 0 Aug 25 08:25 Wx.bs -r-xr-xr-x 1 root root 1813673 Aug 25 11:56 Wx.so drwxr-xr-x 2 root root 4096 Aug 25 11:57 XRC
      There are no .so's at all, apart from Wx.so.

      scandeps -V hello.pl gives the following:

      # AutoLoader.pm [module] # Carp.pm [module] # Carp/Heavy.pm [module] # Config.pm [module] # DynaLoader.pm [module] # Exporter.pm [module] # Exporter/Heavy.pm [module] # File/Glob.pm [module] # List/Util.pm [module] # Scalar/Util.pm [module] # Term/Cap.pm [module] # Text/ParseWords.pm [module] # Thread.pm [module] # Tie/Handle.pm [module] # Wx.pm [module] # Wx/App.pm [module] # Wx/Event.pm [module] # Wx/Locale.pm [module] # Wx/Menu.pm [module] # Wx/RadioBox.pm [module] # Wx/Region.pm [module] # Wx/Timer.pm [module] # Wx/Wx_Exp.pm [module] # XSLoader.pm [module] # auto/DynaLoader/autosplit.ix [autoload] # auto/DynaLoader/dl_expandspec.al [autoload] # auto/DynaLoader/dl_find_symbol_anywhere.al [autoload] # auto/DynaLoader/dl_findfile.al [autoload] # auto/DynaLoader/extralibs.ld [autoload] # auto/File/Glob/Glob.bs [data] # auto/File/Glob/Glob.so [shared] # auto/List/Util/Util.bs [data] # auto/List/Util/Util.so [shared] # auto/Wx/Wx.bs [data] # auto/Wx/Wx.so [shared] # auto/re/re.bs [data] # auto/re/re.so [shared] # auto/threads/shared/shared.bs [data] # auto/threads/shared/shared.so [shared] # overload.pm [module] # re.pm [module] # strict.pm [module] # threads/shared.pm [module] # vars.pm [module] # warnings.pm [module] # warnings/register.pm [module] 'Wx' => '0', # X ? # 'Wx::Event' => '0', # ? # 'Wx::App' => '0', # ? # Wx 'Wx::Locale' => '0', # ? # Wx 'Wx::Menu' => '0', # ? # Wx 'Wx::RadioBox' => '0', # ? # Wx 'Wx::Region' => '0', # ? # Wx 'Wx::Timer' => '0', # ? # Wx 'Wx::Wx_Exp' => '0', # ? # Wx
      There are no .so's to pick. :-(

      Is this a problem with my PAR installation?

        Is this a problem with my PAR installation?
        I doubt it. Do you have the latest PAR/Module::ScanDeps? Is that the static or the dynamic wxPerl build? If it's the static build I wouldn't expect to find any extra .so's, so you have to by whatever means neccessary figure out what the missing .so's are, and add them with -l. scandeps generally works. I don't know what else to use on unix (on win32 I'd use dependency walker).

        MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
        I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
        ** The third rule of perl club is a statement of fact: pod is sexy.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-07-24 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls