Has anyone successfully installed Image::LibRSVG on an MSWin platform?
I just have - and it builds ok, and passes its 27 tests.
Native Win32 LibRSVG libraries (both 32-bit and 64-bit) are available via MSYS2 pacman - and these are what I used.
During the compilation phase there are a number of warnings about the presence of deprecated symbols (in LibRSVG.xs) such as g_type_init, rsvg_pixbuf_from_file_at_size, rsvg_pixbuf_from_file_at_zoom, rsvg_pixbuf_from_file_at_zoom_with_max, and maybe some others as well.
Apart from that, the build proceeds fine, but the module initially wouldn't load for me because of incompatibilities between the libstdc++-6.dll that gets loaded (by perl at startup) and the libstdc++-6.dll that glib requires (which is located inside MSYS2 - and won't get loaded because libstdc++-6.dll has already been loaded).
The MSYS2 glib libraries are built using (I think) mingw64 ports of gcc-5.4.0. If your Windows perl was built using gcc-5.4.0 (and mine wasn't) then it will probably all work without any need to do the hurdling (with two twists and pyke) that I need to do.
Basically - I just rename the dlls to something unique, and alter the glib dlls to load the renamed versions. (It's the only way I know of getting around the problem.)
If you want a ppm package just let me know and I'll upload one - or, if you need help building Image::LibRSVG from source on Windows, just sing out.
(I'll probably create and upload PPM packages for this module anyway, now that I've built it.)
Update: PPM packages for Image-LibRSVG-0.07 have now been added to sisyphusion repo.
Well ... that filled in the evening quite effectively.
(If anyone testing this PPM package finds a problem, please let me know.)
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.