in reply to stuck in perlxstut, example 4

Can't readily test because you haven't supplied lib/Mytest2.pm. What does it look like ? (I guess I could plough through the perlxstut documentation, but I'd rather not :-)

As a quick thought, make sure that the .h and .c files end in a newline (empty line).

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: stuck in perlxstut, example 4
by fugazi (Novice) on Jun 28, 2009 at 23:56 UTC
    Hi syphilis, thanks for looking through this looon posting. I have appended the Mytest2.pm file at the end. And yes, the .h and .c fikes and with an newline. Bernd.
      I can reproduce essentially the same error on Win32. It seems to be caused by the line (in the top level Makefile.PL):
      'MYEXTLIB' => 'mylib/libmylib$(LIB_EXT)',
      But I don't know much more than that at this stage. (That line fits quite well with the MYEXTLIB documentation, though I do recall having found MYEXTLIB to not quite work as advertised on previous occasions.) Someone else might be able to chip in with a solution - otherwise I'll take a closer look when time permits.

      Cheers,
      Rob