Fresh perl install and amavisd-new

Michael Ranner mranner at inode.at
Thu Aug 19 02:09:22 PDT 2004


Am Mittwoch, 18. August 2004 15:54 schrieben Sie:
> > You must manually add
> >
> > PERL_VER=5.8.5
> > PERL_VERSION=5.8.5
> > PERL_ARCH=mach
> > NOPERL=yo
> > NO_PERL=yo
> > NO_PERL_WRAPPER=yo
> >
> > to /etc/make.conf
> >
> > or run "use.perl port" once after installing perl for the first time from
> > ports on a fresh FreeBSD 5 system before running "make install" for
> > amavisd-new.
> >
> > Probably a hint would be nice.
>
> This is obvious. Otherwise you are not running perl 5.8.X, but are
> running your default perl. This is part of the perl setup and does not
> belong into the amavis port.

# Ok, this is surely right, but may I demonstrate:

bash-3.00# cd /usr/ports/security/amavisd-new/
bash-3.00# make install
===>  amavisd-new-2.1.0,1 requires perl 5.8.2 or higher.

# ok so go I to perl5.8

bash-3.00# cd /usr/ports/lang/perl5.8/
bash-3.00# make install

#
# hundreds lines of output during building
#

Installation of Perl distribution is finished.  Please note, that
since Perl is also in the base system, this distribution will not
be used by default.

#
# this ist not true on FreeBSD 5
#

If you want this version of Perl to be used by default, please type

  use.perl port

#
# This is the necessary line to modify /etc/make.conf which amavisd-new
# port reads in.
#
# Some more pkg-message lines
#
# Users new to FreeBSD may not read all the pkg-message output, simply trying
# perl -v which results in the expected output and they will go further to
# build amavisd-new which result in:

bash-3.00# cd /usr/ports/security/amavisd-new/
bash-3.00# make
===>  amavisd-new-2.1.0,1 requires perl 5.8.2 or higher.

but perl -v works as expected.

So my idea: Give some hint in amavisd-new which may be the wrong place or fix 
up the perl ports to give a correct pkg-message for FreeBSD whithout perl in 
the base distro.

Best regards,

-- 
/\/\ichael Ranner

mranner at inode.at - mranner at jawa.at - mranner at bugat.at
-----------------------------------------------------
   BSD Usergroup Austria - http://www.bugat.at/

-----BEGIN GEEK CODE BLOCK-----
GIT/CS/AT dx(-) s+:(++:) a- C++ UBLVS++++$ P++>+++$ L-(+)$ E---
W+++$ N+(++) o-- K- w--()$ O-(--) M@ V-(--) PS+>++ PE(-) Y+ PGP(-)
t+ 5+ X+++(++++) R* tv++ b+(++) DI++ D-(--) G- e h--(*) r++ y?
------END GEEK CODE BLOCK------


More information about the freebsd-perl mailing list