Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Installing File::LibMagic with Strawberry Perl

by jbodoni (Monk)
on Jun 29, 2015 at 14:52 UTC ( [id://1132469]=note: print w/replies, xml ) Need Help??


in reply to Re: Installing File::LibMagic with Strawberry Perl
in thread Installing File::LibMagic with Strawberry Perl

Thanks for your reply!

CGI::Application relies on this module, which started me down this rabbit hole.

Replies are listed 'Best First'.
Re^3: Installing File::LibMagic with Strawberry Perl
by marto (Cardinal) on Jun 29, 2015 at 15:09 UTC

    I'm pretty sure it doesn't, can you point me to where you're seeing this please?

    Update: It doesn't.

      I beg your pardon for my confusion, I've been installing things left and right in an attempt to get this working.

      Having read in the cgi-app wiki that CGI::Application has been replaced by Titanium, I was trying to install Titanium - which requires File::LibMagic:

      Titanium requires CGI-Application-Server, which requires HTTP::Server::Simple::Static, which requires File::LibMagic.

        ... which requires File::LibMagic

        The libmagic library does build fine for native Windows in the msys shell using Strawberry's gcc compiler.
        Install libgnurx (using same toolset) first. I used github source for both libmagic and libgnurx.

        File-LibMagic-1.12 is far from trivial to build, but I've managed to hack up a version (without messing with any of the module's perl or XS code) that allows the build to succeed.
        Unfortunately it fails the t/oo-api.t test script.
        Perhaps this is a result of my hacks, though I don't think so.
        Quite possibly it's just a poorly ported test script ... or maybe the whole module is poorly ported to Windows. (I don't know.)
        At least File-LibMagic is available to Windows - it's just a question of how serviceable it is ... and how serviceable it needs to be for Titanium.
        In view of marto's latest update, the OP might be better off just going back to CGI::Application.

        If more info is required of me, just speak up.
        I'll post ppm packages for File-LibMagic-1.12 at my ppm repo when I get them built (hopefully tonight).

        Cheers,
        Rob

        Many thanks for the clarification.

        Update: For clarity I don't think the wiki is saying that CGI::Applicaiton has been replaced by Titanium.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-03-29 02:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found