summaryrefslogtreecommitdiff
path: root/lib/ExtUtils/MakeMaker
diff options
context:
space:
mode:
authorMichael G. Schwern <schwern@pobox.com>2003-04-06 19:09:17 -0700
committerJarkko Hietaniemi <jhi@iki.fi>2003-04-07 18:23:29 +0000
commitdedf98bc6289c70e2368bc395e2ec91fed11fc33 (patch)
treeb31d1cf8442731d09afd0e2749a95f1551690091 /lib/ExtUtils/MakeMaker
parent9ac5eb64d274bdbd879ebb568a13f392d2a50575 (diff)
downloadperl-dedf98bc6289c70e2368bc395e2ec91fed11fc33.tar.gz
Re: [PATCH] ExtUtils::MakeMaker 6.10_02
Message-ID: <20030407090917.GA9221@windhund.schwern.org> p4raw-id: //depot/perl@19162
Diffstat (limited to 'lib/ExtUtils/MakeMaker')
-rw-r--r--lib/ExtUtils/MakeMaker/FAQ.pod15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/ExtUtils/MakeMaker/FAQ.pod b/lib/ExtUtils/MakeMaker/FAQ.pod
index 6d7ba70202..3e0489de33 100644
--- a/lib/ExtUtils/MakeMaker/FAQ.pod
+++ b/lib/ExtUtils/MakeMaker/FAQ.pod
@@ -61,6 +61,21 @@ MakeMaker.
=over 4
+=item How to I prevent "object version X.XX does not match bootstrap parameter Y.YY" errors?
+
+XS code is very sensitive to the module version number and will
+complain if the version number in your Perl module doesn't match. If
+you change your module's version # without reruning Makefile.PL the old
+version number will remain in the Makefile causing the XS code to be built
+with the wrong number.
+
+To avoid this, you can force the Makefile to be rebuilt whenever you
+change the module containing the version number by adding this to your
+WriteMakefile() arguments.
+
+ depend => { '$(FIRST_MAKEFILE)' => '$(VERSION_FROM)' }
+
+
=item How do I make two or more XS files coexist in the same directory?
Sometimes you need to have two and more XS files in the same package.