Bug 2399 - Tries to install rules in /share/spamassassin
Summary: Tries to install rules in /share/spamassassin
Status: RESOLVED DUPLICATE of bug 2388
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Building & Packaging (show other bugs)
Version: SVN Trunk (Latest Devel Version)
Hardware: Other Linux
: P5 normal
Target Milestone: 2.70
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-01 14:20 UTC by Brendan Byrd/SineSwiper
Modified: 2003-09-01 16:16 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Brendan Byrd/SineSwiper 2003-09-01 14:20:57 UTC
(NOTE: Some of this was discussed in bug 2329.)

The "make install" output is as follows:

Writing /usr/local/lib/perl5/site_perl/5.8.0/i686-
linux/auto/Mail/SpamAssassin/.packlist
Appending installation info to /usr/local/lib/perl5/5.8.0/i686-
linux/perllocal.pod
/usr/local/bin/perl "-MExtUtils::Command" -e mkpath /share/spamassassin
rm -rf /share/spamassassin/*
/usr/local/bin/perl build/preprocessor -Mvars -DVERSION="2.60" -DPREFIX="" -
DDEF_RULES_DIR="/share/spamassassin" -
DLOCAL_RULES_DIR="/etc/mail/spamassassin" -
DINSTALLSITELIB="/usr/local/lib/perl5/site_perl/5.8.0" -
DCONTACT_ADDRESS="SineSwiper@ResonatorSoft.org" -m644 -Irules -
O/share/spamassassin 10_misc.cf 20_anti_ratware.cf 20_body_tests.cf 
20_compensate.cf 20_dnsbl_tests.cf 20_fake_helo_tests.cf 20_head_tests.cf 
20_html_tests.cf 20_meta_tests.cf 20_phrases.cf 20_porn.cf 20_ratware.cf 
20_uri_tests.cf 23_bayes.cf 25_body_tests_es.cf 25_body_tests_pl.cf 
25_head_tests_es.cf 25_head_tests_pl.cf 30_text_de.cf 30_text_es.cf 
30_text_fr.cf 30_text_it.cf 30_text_pl.cf 30_text_sk.cf 50_scores.cf 
60_whitelist.cf user_prefs.template triplets.txt languages
chmod 755 /share/spamassassin

This wasn't from a CPAN install, but a tar download (installed as root, BTW). 
It should on default try to install into /usr/share/spamassassin, not
/share/spamassassin, since nobody has a /share directory (especially not SA
V2.50).  Because of this, it doesn't delete the old files from the
/usr/share/spamassassin, either.

This mess has currently been fixed with a symlink going /share -> /usr/share,
but this is just a band-aid on an issue with the install routine.  (The Makefile?)
Comment 1 Malte S. Stretz 2003-09-02 00:16:49 UTC
Yes, this did break from time to time. In bug 2388 there's a patch which 
should fix this for now and forever. Alas I had to change most of the 
Makefile.PL and I really need people who could test that patch and tell me if 
it works. 

*** This bug has been marked as a duplicate of 2388 ***