John Peacock wrote:
I sent a patch to Module::Build to add support for version objects (and there was much rejoicing - Yeeeah!). Unfortunately, version uses Module::Build for its own installer, so if you don't have Module::Build already installed, you can't install Module::Build (and there was much gnashing of teeth).

So, I need to whip up a fully EU::MM-compatible Makefile.PL for version.pm, but it needs to do a lot of sophisticated leaping about and shouting because:

1) I have both an XS and pure Perl implementation (so I need to test for a compiler and branch accordingly);

2) I use M::B's XS handling, so the XS and supporting .c files are located in a subdirectory (not in the project root like EU::MM expects).

I tried setting up an XS module to build with both EU::MM and M::B myself quite a long time ago and couldn't get it to work, although Ken stated that it was his intention to allow it to work:

http://sourceforge.net/mailarchive/forum.php?thread_id=3774994&forum_id=10905

I haven't tried since, but from what you've said it sounds like maybe this still isn't fixed :-(

It may be that the only way right now is to do some copying of files into the appropriate locations for each build system before attempting the build. If there is a more elegant way to do it then I'd also like to know what it is.

It also got tangled up in discussions about recursion:

http://sourceforge.net/mailarchive/message.php?msg_id=7373740

--


------------------------------------------------
Radan Computational Ltd.

The information contained in this message and any files transmitted with it are 
confidential and intended for the addressee(s) only. If you have received this 
message in error or there are any problems, please notify the sender 
immediately. The unauthorized use, disclosure, copying or alteration of this 
message is strictly forbidden. Note that any views or opinions presented in 
this email are solely those of the author and do not necessarily represent 
those of Radan Computational Ltd. The recipient(s) of this message should check 
it and any attached files for viruses: Radan Computational will accept no 
liability for any damage caused by any virus transmitted by this email.

Reply via email to