Yes, it's the cross-compiling that is the issue. But I suppose if we could build the PPM on Windows we could just copy it into the Windows distribution (which is cross-compiled on linux).

Yes, I know the SWISH module on CPAN as I'm the author. ;) That is a front-end module that uses either the SWISH::Fork module to run the swish-e executable, and there's also a SWISH::Library backend that has not been released -- and probably won't because the C API was redesigned. There's was suppose to be a SWISH::Server module, too. The idea was that code could switch between backends as needed -- something like DBI backends (well kind of).

So, basically although those modules can still work, they are really outdated for the current version of swish. The SWISH::API module makes things much easier. But since it's not pure Perl we need to get a PPM built for the Windows users.

Again, I don't know Windows, so the code I've written for running swish via the swish-e executable (like SWISH::Fork, and example CGI scripts) is a potential security problem with Windows. Under unix I can fork/exec and not worry about sending user data through the shell. I don't now how to do that with Windows, and keep the code portable (not that I've thought about it too much). But if I can get a PPM built for SWISH::API module then life will be much easier.

So you tried to build the SWISH::API module under Windows and had problems?


In reply to Re: Re: Re: Re: Build PPM on Linux? by moseley
in thread Build PPM on Linux? by moseley

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.