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

... 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
  • Comment on Re^5: Installing File::LibMagic with Strawberry Perl

Replies are listed 'Best First'.
Re^6: Installing File::LibMagic with Strawberry Perl
by jbodoni (Monk) on Jul 02, 2015 at 20:25 UTC

    Thank you!

    If you haven't already done so, please don't trouble yourself on my account. This project was taken over by our Ruby development team.