From nobody Sun Feb 13 20:21:11 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 77DE519B7B9E for ; Sun, 13 Feb 2022 20:21:20 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [94.130.200.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.bsd4all.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JxdzL4KsSz4th5 for ; Sun, 13 Feb 2022 20:21:18 +0000 (UTC) (envelope-from herbert@gojira.at) Date: Sun, 13 Feb 2022 21:21:11 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gojira.at; s=mail202005; t=1644783671; bh=cto3Rgi16kNIpFdt2Wf+Ruspvey/SBeaTL0DA+nNaRE=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=wD/Y5aFYut2/pEyfB3TIP4mhzz+BxiMy+dW5PWMwK/ruuQgfiNPJUtFSYQ8f4CmdZ TcDGrhfipZ/6ZSafMXfvyvSJfGQw0Ti72nunUo1taYPoDAyd/h1jItGVArhAZ6ActA KTC5FYjnn9w0ZnRCJVdpmcOaUDv5cBQLV3w47W0UNNqnkXATAqrGBaHSRwKlpyKdmZ dvUrYCB+ofFXqR5VlxFCL/J/hYwvFnLVBBuzv5L6P7qOebBEeVEpegchhdrUGwyCuC wOR8Eo8cm5nW8eBLRVKzeR01/zBTLeuceWm0z9QotUtJPWflelSA807WDRxfyfAkhA LxKoSNf2mBxHg== From: "Herbert J. Skuhra" To: freebsd-questions@freebsd.org Subject: Re: FreeBSD 12.3-R perl5.34 Message-ID: References: <4c173632-230e-7b41-6a68-f1b263bc21f0@holgerdanske.com> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4c173632-230e-7b41-6a68-f1b263bc21f0@holgerdanske.com> X-Rspamd-Queue-Id: 4JxdzL4KsSz4th5 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gojira.at header.s=mail202005 header.b="wD/Y5aFY"; dmarc=none; spf=pass (mx1.freebsd.org: domain of herbert@gojira.at designates 94.130.200.20 as permitted sender) smtp.mailfrom=herbert@gojira.at X-Spamd-Result: default: False [-1.52 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gojira.at:s=mail202005]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:94.130.200.20]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[gojira.at]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.98)[0.982]; DKIM_TRACE(0.00)[gojira.at:+]; MLMMJ_DEST(0.00)[freebsd-questions]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:94.130.0.0/16, country:DE] X-ThisMailContainsUnwantedMimeParts: N On Sun, Feb 13, 2022 at 12:08:28PM -0800, David Christensen wrote: > freebsd-questions: > > I recently installed FreeBSD: > > 2022-02-13 12:03:20 toor@f4 ~ > # freebsd-version ; uname -a > 12.3-RELEASE > FreeBSD f4.tracy.holgerdanske.com 12.3-RELEASE FreeBSD 12.3-RELEASE r371126 > GENERIC amd64 > > > Then I installed Perl: > > 2022-02-13 11:54:35 toor@f4 ~ > # pkg install perl5.34 > Updating FreeBSD repository catalogue... > FreeBSD repository is up to date. > All repositories are up to date. > The following 1 package(s) will be affected (of 0 checked): > > New packages to be INSTALLED: > perl5.34: 5.34.0 > > Number of packages to be installed: 1 > > The process will require 60 MiB more space. > 14 MiB to be downloaded. > > Proceed with this action? [y/N]: y > [1/1] Fetching perl5.34-5.34.0.pkg: 100% 14 MiB 3.0MB/s 00:05 > Checking integrity... done (0 conflicting) > [1/1] Installing perl5.34-5.34.0... > [1/1] Extracting perl5.34-5.34.0: 100% > > > But Perl does not work: > > 2022-02-13 11:59:02 toor@f4 ~/f4.tracy.holgerdanske.com > # perl -v > -bash: perl: command not found > > 2022-02-13 12:05:30 toor@f4 ~ > # locate / -name perl | egrep 'perl$' > /usr/local/lib/perl5/5.34/perl > /usr/local/lib/perl5/site_perl > /usr/local/share/bash-completion/completions/perl > /usr/local/share/bash-completion/helpers/perl > /usr/local/lib/perl5/5.34/perl > /usr/local/lib/perl5/site_perl > /usr/local/share/bash-completion/completions/perl > /usr/local/share/bash-completion/helpers/perl > > > Comments or suggestions? The default perl version is still 5.32. If you want 5.34 you have to set DEFAULT_VERSIONS+= perl5=5.34 in /etc/make.conf and use ports. Or you can use poudriere to build your own package repository. -- Herbert