Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Hey Guys,

Sorry for the delay, I had to push this off for a few days because of work, but I was able to get back to it this morning...

So I decided to grab an old/spare laptop from work which was pretty much bare bones Windows XP Thinkpad.

I installed Strawberry Perl v5.14 on the PC and just now finally got all the Required Modules
for Gtk2 installed from http://www.sisyphusion.tk/ppm, which all installed without any
issues... Great site, thanks for posting that link Sam_bakki.

At first I had all the modules installed but when I ran my Perl GUI I would get these errors, all on the same line:
Gdk-WARNING **: gdk_win32_pixmap_new: depth = 16 not supported at myGU +I.pl line 1120. Gdk-CRITICAL **: gdk_gc_new_with_values: assertion `drawable != NULL' +failed at myGUI.pl line 1120. Gdk-CRITICAL **: gdk_gc_set_colormap: assertion `GDK_IS_GC (gc)' faile +d at myGUI.pl line 1120.
And the line containing the error was: (*i.e. Line 1120)
$window->show_all;
And I couldn't figure out why the heck I was getting these errors. I also got the same error on a simple Hello
World GUI which only contained one widget... So I decided to remove all the Modules and its dependencies
for Gtk2. I then reinstalled them and still go the same error.

I then noticed the error was mentioning the depth was "16", so I checked the display "Settings" tab from the
Desktop Properties menu and noticed the colordepth was set to 16bit. So I changed it to 32-bit and now everything
seems to be runnning PERFECTLY...!!!

Thanks Again sam_bakki for your post about the Gtk2 Modules...

So I think I'm going to attempt the CavaPackager program again now that I have a compatible verison of Perl installed.
If that doesn't work, or if it gets too confusing, which could happen because it is a pretty extensive app with
LOTS of configurables, options, etc... I'll give one of the other options a try.

Here are the one's I know of:
  • CavaPackager
  • Perl2Exe
  • pp (*or PAR::Packer)
  • PerlApp (*Not sure, but can this ONLY be used with an ActiveState Perl installation...?)
  • perlcc

Are there any others out there that anyone else can think of to add to this list..? I wanted to try a few and see which
one I like best.

Again, thanks for the replies guys, very much apprecited!


Thanks,
Matt


In reply to Re^2: Multiple Versions of Perl and Multiple Users by mmartin
in thread Multiple Versions of Perl and Multiple Users by mmartin

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-19 23:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found