Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2004 11:09:10 +0200
From:      Michael Ranner <mranner@inode.at>
To:        perl@freebsd.org
Cc:        Blaz Zupan <blaz@amis.net>
Subject:   Re: Fresh perl install and amavisd-new
Message-ID:  <200408191109.10272.mranner@inode.at>
In-Reply-To: <41235F82.5040907@amis.net>
References:  <200408181512.59208.mranner@inode.at> <41235F82.5040907@amis.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@inode.at - mranner@jawa.at - mranner@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------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408191109.10272.mranner>