... 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
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.