Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Camelbox: A build of Gtk2-Perl for Windows

by spicyjack (Beadle)
on Apr 10, 2008 at 06:36 UTC ( #679415=CUFP: print w/ replies, xml ) Need Help??

Camelbox: A complete build of Perl for 32-bit Windows that includes a nice Windows installer that automatically downloads and installs the correct archive files, all of the core Gtk2-Perl modules (Gtk2, Glib, Cairo), as well as their equivalent C libraries compiled for Windows, a working CPAN module, bonus (!) Perl modules (LWP, YAML, Moose), extra binaries, utilities, development libraries/headers for compiling even more Perl modules from CPAN, lots of Perl/GTK documenation in HTML format, all neatly packaged and ready to install!

No code here, however, you can view the Camelbox homepage, read the installation instructions, or the usage instructions for what to do after you install it.

NB: the two issues below, lack of DBI/DBD drivers and installer checksums has been remedied. DBI and DBD::[mysql|SQLite|ODBC|Pg] are in the current version of the installer. The installer now comes with a checksum checker for packages, so if a package doesn't match it's checksum after it's downloaded, the installer barks and prompts you to re-download.

Comment on Camelbox: A build of Gtk2-Perl for Windows
Re: Camelbox: A build of Gtk2-Perl for Windows
by BrowserUk (Pope) on Apr 10, 2008 at 07:01 UTC
    1. If I install this, will it fcuk with my registry or otherwise screw with my current working copies of Perl?

      (I saw that modifying the path is optional)

    2. Is everything install below c:\camelbox?
    3. Can I install this on a different drive?

    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      1. If I install this, will it fcuk with my registry or otherwise screw with my current working copies of Perl?

      Only your user-specifc %PATH% environment variable is changed, and that can be disabled during the install.

      (I saw that modifying the path is optional) 2. Is everything install below c:\camelbox?

      Yes, everything is installed below C:\camelbox. No, you can't modify the install path (yet).

      3. Can I install this on a different drive?

      No, not right now.

Re: Camelbox: A build of Gtk2-Perl for Windows
by BrowserUk (Pope) on Apr 10, 2008 at 09:29 UTC

    I got four instances of errors being reported whilst decompressing .lzma files., but as it deletes them afterwards, its not possible to check whether they were completely unpacked or not without downloading the files again.

    ... lzma_read: Decoding error (1) gzread: error decompressing Error: Failure reading from tarball. Unzip status: Error: Failure reading from tarball. Delete file: C:\camelbox\perl-5.10.0.2008.089.1.tar.lzma ... lzma_read: Decoding error (1) gzread: error decompressing Error: Failure reading from tarball. Unzip status: Error: Failure reading from tarball. Delete file: C:\camelbox\gtk-core-bin.2008.089.1.tar.lzma ... lzma_read: Decoding error (1) gzread: error decompressing Error: Failure reading from tarball. Unzip status: Error: Failure reading from tarball. Delete file: C:\camelbox\mingw.2008.089.1.tar.lzma ... lzma_read: Decoding error (1) gzread: error decompressing Error: Failure reading from tarball. Unzip status: Error: Failure reading from tarball. Delete file: C:\camelbox\perl-5.10.0-html_docs.2008.089.1.tar.lzma

    I'll send you full log if you tell me where? (It's not in the FAQ.)

    It subsequently fails the C:\camelbox\bin>perl5.10.0.exe -V test with:

    Event Type: Information Event Source: Application Popup Event Category: None Event ID: 26 Date: 2008-04-10 Time: 10:25:30 User: N/A Computer: D4KG9X0J Description: Application popup: perl5.10.0.exe - Application Error : The applicatio +n failed to initialize properly (0xc0000043). Click on OK to terminat +e the application.

    Probably missing something that failed to unpack?


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      I got four instances of errors being reported whilst decompressing .lzma files., but as it deletes them afterwards, its not possible to check whether they were completely unpacked or not without downloading the files again.

      Yes, I'm working on allowing you to save the downloaded files, and I've thought about letting the installer give you the option of installing from the web or installing from the files stored on your hard drive already. Todo list very long.

      No need to send me a log, you're the only person who has had this problem so far out of 20+ installs, so for now all I can suggest is that you check your internet connection.

      Are you downloading from the code.google.com site, or from a local server? The downloader chokes on local sites for some reason, I'm looking into it now.

      It subsequently fails the C:\camelbox\bin>perl5.10.0.exe -V test with: (snippage of error output)

      I have not seen that one before. Usually if you're missing libraries of any kind, a dialog pops up telling you what .dll file was missing. This sounds like files got corrupted. Again, you're the only person who has had these issues so far.

      I also posted a new release yesterday. You can try that if you wish.

        No need to send me a log, you're the only person who has had this problem so far out of 20+ installs, so for now all I can suggest is that you check your internet connection.

        Strange. I've downloaded hundreds of GBs using wget, curl, ftp, various browsers, and whilst downloads get interupted quite frequently for one reason or another, mosts site allow me to resume, and the final results are *never* corrupted. And checking my modem logs during those transfers, there is no sign of any retrys or checksum errors. And the code you are using for the transfers and unpacking it how well tested?

        I was using the code.google.com site. I will try once more, and this time I'll pause the installer after each file arrives and copy them to another directory Update: I see the new installer has the don't delete option/update.

        Do you publish crcs or md5s for these files anywhere?


        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.
Re: Camelbox: A build of Gtk2-Perl for Windows
by holli (Monsignor) on Apr 14, 2008 at 19:44 UTC
    Great Job! ++

    But I have a point on my wishlist. Could you include some DBD drivers (mysql, postgres, maybe oracle)? Because they are generally a pain to install compile on windows.


    holli, /regexed monk/
      But I have a point on my wishlist. Could you include some DBD drivers (mysql, postgres, maybe oracle)? Because they are generally a pain to install compile on windows.

      I tried to get DBD::mysql going yesterday (14Apr2008 PST8PDT), it didn't compile, so it will take some time to figure/work out.

      My priority at the moment is to fix things in the installer (checksums, HTTP downloads not working right, automate installer building more), and then I can add the neat things like DBI/DBD::* and friends. I post regularly on the gtk-perl mailing list as well as the mailing list for my project, Camelbox. You can watch in either place for me to post updates as I get things working.

      The latest release (July 31st 2008) now has DBD::[mysql|SQLite|ODBC]. PostgreSQL will be included shortly, I have the packages compiled, I just need to include them in the installer. See the links at the top of the page for download URL's and docs and whatnot.
        Oh great! Now let's talk about Catalyst.... ;-)


        holli, /regexed monk/
Re: Camelbox: A build of Gtk2-Perl for Windows
by zentara (Archbishop) on Dec 16, 2008 at 16:58 UTC
    Thanks, this is cool. I've been trying to get a decent easy to install Gtk2 lib setup on my Vista machine to test my scripts on. I tried ActiveState5.10 and the ppms from trouchelle.com, but had image loader problems with that setup, plus no canvas widgets,etc.

    Camelbox downloaded flawlessly, set itself up just fine, and works great here. Plus it optionally installed loads of other modules.

    I have a small pre-installed Vista Basic on a Toshiba laptop, but otherwise use linux.


    I'm not really a human, but I play one on earth Remember How Lucky You Are

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: CUFP [id://679415]
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2014-11-27 13:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (184 votes), past polls