perl5.34.1 not found /usr/local/bin i have perl5.34.3

Trying to install open office or an office version there all failing install because i have perl5.34.3 not perl5.34.1 can i install both or is there something i need to do to tell it to use perl 5.34.3 sorry im seriously new its my first time using freebsd
 
How did you install Perl in the first place?

What exactly are you trying to do now and how?

e.g. you are typing “pkg install something“ and you get a message saying “something“
 
perl installed with kde5

command is "portmaster editor/openoffice-4 or editor/libreoffice

ssetup runs then gets an error "perl5.34.1 not found in /usr/local/bin

my system has perl5.34.3
 
Yes, how did you install perl?

How did you install kde5?

Did you build from ports or use packages?

However you installed I suspect you need to update your repository to get the newer version of perl (currently 5.36 is the default.)

But depending on how you've done things will determine your best path forward.

If you are a new user (well most users these days) it's recommended that you use binary packages.

So the first step will be to sort out your system with binary packages, update those, then try and install LibreOffice (probably a better choice these days than OpenOffice).

Looking on an older system I got perl 5.34.1 around August, 5.34.3 December (on that system).

I wonder if you installed perl/kde5 using packages and so you've got perl 5.34.3 from that.

Then trying to install libreoffice from an older ports repository on your machine - and because it is older it expects perl 5.34.1.

Something like that.

Anyway, rewind slightly - are you choosing to use packages (recommended) or ports? It's not advisable to mix.
 
  1. pkg install --quiet --yes kde5 plasma5-sddm-kcm sddm xorg
i got this from a site to install kde in a virtual machine

I only just downloaded the freebsd dvd to install it in a vm 2 days ago so it should be up to date

ive done pkg update nothing to do update

i read on a website that portmaster was the way to go to install the ports

im teaching myself freebsd from youtube and other sources i was under the impression you can install pkgs and ports on the one system i really need an office suite for this particular vm and read about /usr/ports/editor make install clean for openoffice-4 but i get the error perl5.34.1 not found in /usr/local/bin same errore if i use portmaster and it dupicates when i do the same thing for libreoffice.

i do have perl5.34 5.36 and 5.38 in /usr/ports/lang

i also did a pkg update and pkg upgrade -f on system still only has perl5.34.3 installed
 
Stick to packages then. Ignore ports and portmaster - just use the pkg command as you did for kde5.

What does something like”pkg install libreoffice“ do?
 
that works fine thanks :) but im still wondering how i can have a vm install ports with this error basically how to change what version of perl the system looks for when installing ports

just i have another vm that i want to use ports with and im having the same probelm whether i install 13.2 or 14 freebsd
 
It looks like you're mixing quarterly packages with the latest ports tree. Quarterly has Perl 5.34.1 and latest has 5.43.3.
 
im not sure how to update quarterly instead of latest i just downloaded the latest 13.2 and 14 freebsd dvd and installed ran pkg update and installed kde and xfce on seperate vms and there all showing perl5.34.3 yet my ports list in /usr/ports requires perl 5.34.1 i have no idea what ive done is there a solution
 
It has nothing to do with the version of FreeBSD. By default packages on a -RELEASE version come from a quarterly repository. It's updated once every three months and only receives security and stability updates in that period. The ports tree is typically on the main branch, aka 'latest', it is perpetually updated. You can either switch your packages to the latest repository or switch the ports tree to a quarterly branch.
 
Ignore ports and stick to packages until you have more experience.

I think most users won’t ever need ports.

There are some situations where you do need ports or you might need to mix them with packages but wait until you actually get to that point.

Just stick to binary packages - using pkg - until (/if) you have a real need for anything else.
 
ok so i was on quarterly ports and perl5.34.3 was installed and i cant install any ports requiring perl for a build because its requesting perl5.34.1 so i changed quearterly to latest and tried to install openldap26-server and i got an erreor perl 5.36.1 wasnt installed so i went into /usr/ports/lang/perl5.36 and installed but it was version 5.36.3 and again i cant install any ports i really need openldap26-server i hope sonmeone can help - i also did pkg update and pkg upgrade when after changing to latest ports and pkgs
 
same error perl5.36.1 not found i installed 5.36 and it installed 5.36.3 im having this problem with quearterly and latest it wants verion 5.34.1 for quarterly when it has 5.34.3 installed and it wants 5.36.1 on latest when it has 5.36.3 installed
 
Back
Top