SA Bugzilla – Bug 6266
MakeMaker: SYSCONFDIR/CONTACT_ADDRESS/BUILD_SPAMC/... is not a known MakeMaker parameter name.
Last modified: 2018-09-04 15:34:17 UTC
Sorry for the long desription of a probably harmless fact: To install the Mail-SpamAssassin SVN versions (now nearly Mail-SpamAssassin 3.3.0) I use always the command perl Makefile.PL PREFIX=~/sausr_svn SYSCONFDIR=~/saetc_svn but I detect all the last months the following output lines after that command is claiming about some missing only optional modules: warning: some functionality may not be available, please read the above report before continuing! Checking if your kit is complete... Looks good 'SYSCONFDIR' is not a known MakeMaker parameter name. Writing Makefile for Mail::SpamAssassin Makefile written by ExtUtils::MakeMaker 6.42 But after the successive "make" and "make install" all seems to work fine (using openSUSE 11.2 with perl v5.10.0). In the generated Makefile I found according lines like # MakeMaker ARGV: (q[PREFIX=~/sausr_svn], q[SYSCONFDIR=~/saetc_svn]) PREFIX = /home/my_account/sausr_svn cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL "PREFIX=~/sausr_svn" "SYSCONFDIR=~/saetc_svn" $(PERLRUN) Makefile.PL "PREFIX=~/sausr_svn" "SYSCONFDIR=~/saetc_svn" $(NOECHO) $(PERLRUNINST) \ Makefile.PL DIR= \ MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \ MAKEAPERL=1 NORECURS=1 CCCDLFLAGS= \ PREFIX=~/sausr_svn \ SYSCONFDIR=~/saetc_svn respectively # MakeMaker ARGV: (q[PREFIX=~/sausr_svn], q[SYSCONFDIR=~/saetc_svn]) SYSCONFDIR = /home/my_account/saetc_svn cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL "PREFIX=~/sausr_svn" \ "SYSCONFDIR=~/saetc_svn" $(NOECHO) $(PERLRUNINST) \ Makefile.PL DIR= \ MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \ MAKEAPERL=1 NORECURS=1 CCCDLFLAGS= \ PREFIX=~/sausr_svn \ SYSCONFDIR=~/saetc_svn So the above "error" line 'SYSCONFDIR' is not a known MakeMaker parameter name. is probably a harmless but ugly flaw.
Within the Perl module ExtUtils::MakeMaker (I used now version 6.56) in the file ./lib/ExtUtils/MakeMaker.pm an array named @attrib_help is defined. Adding there (between the definition lines 236-270) "experimentally" the element SYSCONFDIR let the irritating described message vanish (diagnosis message only?). The resulting Makefile was independent from this small "patch".
See also Bug 6298.
moving most remaining 3.3.0 bugs to 3.3.1 milestone
reassigning, too
The 3.3.0 is now in FreeBSD ports. The resulting installation seems fine, although the following warnings are a bit worrying: 'BUILD_SPAMC' is not a known MakeMaker parameter name. 'CONTACT_ADDRESS' is not a known MakeMaker parameter name. 'ENABLE_SSL' is not a known MakeMaker parameter name. 'LOCALSTATEDIR' is not a known MakeMaker parameter name. 'SYSCONFDIR' is not a known MakeMaker parameter name. I'm not sure where the problem lies: in the upgraded MakeMaker, or in SpamAssassin's use of it, or is it the admin/ports/package usage error.
*** Bug 6298 has been marked as a duplicate of this bug. ***
moving all open 3.3.1 bugs to 3.3.2
Moving back off of Security, which got changed by accident during the mass Target Milestone move.
"Those harmless but worrying messages come from ExtUtils::MakeMaker (included in the Perl base distribution). The file Makefile.PL in SpamAssassin accepts some parameters for the module ExtUtils::MakeMaker as well as some for its own use. SpamAssassin included a hack to prevent those messages by using some private variables of ExtUtils::MakeMaker. Since version 6.43 of ExtUtils::MakeMaker this hack is no longer working, thus leading to the messages you see." - Klaus Heinz, http://mail-index.netbsd.org/pkgsrc-users/2010/03/28/msg011986.html Did that private variable change in MakeMaker v6.43 from @ATT_KEYS to @attrib_help?
These errors can be ignored. They have to do with extra parameters that SpamAssassin uses. Retargeting to a future release so that 3.4.0 can be released.
pushing to 3.4.2
These warnings can be ignored. Resolving as wontfix