Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^5: wxPerl and PAR

by PodMaster (Abbot)
on Aug 25, 2004 at 11:00 UTC ( #385642=note: print w/replies, xml ) Need Help??


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

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.

Replies are listed 'Best First'.
Re^6: wxPerl and PAR
by busunsl (Vicar) on Aug 25, 2004 at 11:16 UTC
    Do you have the latest PAR/Module::ScanDeps?
    Yes, fresh from CPAN.

    Is that the static or the dynamic wxPerl build?
    Dynamic, because static builds do not run at all.

    If I include libwx_gtk_2.4.2.so with the -l option everything is ok. I suppose that's the way to go for me.

    Many thanks for the help!

    p.s.: I have some more PAR questions, but they will live in their own threads ;-)

Re^6: wxPerl and PAR
by busunsl (Vicar) on Aug 25, 2004 at 12:18 UTC
    Adding libwx_gtk-2.4.so with the -l option does not work as expected :-(

    I create the PAR executable with
    pp -l /usr/local/lib/libwx-gtk_-2.4.so -o hello hello.pl

    When I run hello I get the following error:
    Can't load /tmp/par-bernd/cache-deadbeef/1234abcd.so for module Wx: library libwx-gtk_-2.4.so: cannot open shared object file: No such file or directory

    After that the cache directory is filled with everything that is needed (perl modules, so's).

    The second try to run hello succeeds.

      Hmm, I'm not sure I understand what's going on exactly. I would suggest setting PAR_DEBUG=1, but that feature apparently disappeared :( Try editing the "executable" manually (its' a zip file) and put libwx-gtk_-2.4.so under lib/auto/Wx/ and see if that does anything. Be sure to delete the cached stuff.

      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://385642]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2020-07-09 18:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?