in reply to problem installing PLJava on Windows Vista

It's a bit odd. The '-shared' option should be recognised by 'g++'. And I can't see any reason that the failing command should fail - assuming that C:\Perl\lib\CORE\p erl510.lib and -dl l from the output you provided are mis-prints and that you really got C:\Perl\lib\CORE\perl510.lib and -dll.
Did you get any warnings when you ran 'perl Makefile.PL' ?

Mysteriously I can reproduce the same errors with ActivePerl build 1004, but for an apparently different reason - namely that no attempt is made to link to perl510.lib. (Haven't quite worked out what's going on there yet, and other of my builds of Win32 perl seem ok with PLJava-0.04. I'll post again when I get it worked out.)

Do you really want PLJava ? It seems like it might not be maintained any more - having not been updated since 2004. Would Inline::Java (which is actively maintained, afaik) be a better choice ?

Cheers,
Rob
  • Comment on Re: problem installing PLJava on Windows Vista

Replies are listed 'Best First'.
Re^2: problem installing PLJava on Windows Vista
by RASSyndrome (Novice) on Jun 16, 2009 at 02:03 UTC

    Did you get any warnings when you ran 'perl Makefile.PL'?

    Not a one, alas.

    Do you really want PLJava ? It seems like it might not be maintained any more - having not been updated since 2004. Would Inline::Java (which is actively maintained, afaik) be a better choice?

    I've looked into that and run into a different installation problem while installing the dependencies, which I don't recall at the moment. Come to think of it, it might be the same problem but I'd have to check again. Either way, can Inline::Java let one use the application on a computer without Perl installed? PLJava boasts that and it would be ever so moderately useful.

      Your particular problem is still puzzling me no end :-)
      What does 'perl -V' output ? (That's an uppercase 'V').
      Also, how did you install MinGW (was it via 'ppm', or some other way) ?

      I'm thinking you could try using the freely available dmake instead of that crappy old version of nmake that you have, though I'm not sure it will improve things for you. Anyway, with answers to the above questions, we might be better equipped to work out how to deal with this.

      Cheers,
      Rob
        Your particular problem is still puzzling me no end :-)
        Glad I could muster up a challenge...

        What does 'perl -V' output ? (That's an uppercase 'V').
        Lessee here...

        Also, how did you install MinGW (was it via 'ppm', or some other way) ?
        Got it off Sourceforge, automated installer; version 5.1.4

        I'm thinking you could try using the freely available dmake instead of that crappy old version of nmake that you have, though I'm not sure it will improve things for you.
        Same exact deal except the last line goes "dmake: Error code 129, while making 'PLJava.dll'"