You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2004/04/26 12:04:50 UTC
[Bug 3309] New: Makefile messes up path
http://bugzilla.spamassassin.org/show_bug.cgi?id=3309
Summary: Makefile messes up path
Product: Spamassassin
Version: 2.63
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P3
Component: Building & Packaging
AssignedTo: spamassassin-dev@incubator.apache.org
ReportedBy: bugzilla@heydlauf.de
This will not be a problem for most SA users - anyway.
I discovered a problem after distributing my SA installation
over several servers, spamd did not want to start:
# spamd 0 -d
bash: /client/bin/spamd: No such file or directory
That's because the perl interpreter can not be found.
My perl path is /client/bin/perl on every server I run.
Unfortunately this is a link to a perl which is located
somewhere else - and this path differs from server to server
depending i.e. on disk-volume and partitions.
Apparently the SA Makefile expands links during the
installation.
My make ist done with:
PERL_BIN=/client/bin/perl \
and results a correct /spamd/spamd.
Unfortunately the blib/script/spamd which is installed,
differs:
Mail-SpamAssassin-2.63$ diff spamd/spamd blib/script/spamd
1c1,4
< #!/client/bin/perl -T -w
---
> #!/sw/i386_fbsd4/perl-5.8/bin/perl -T -w
>
> eval 'exec /sw/i386_fbsd4/perl-5.8/bin/perl -T -w -S $0 ${1+"$@"}'
> if 0; # not running under some shell
Would you please either not expand links or
give me a switch turn this 'feature' off?
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.