Hello
I'm a new to BSD coming from Ubuntu and just installed GhostBSD. Now I tried to install some software to 10.3 using ports. Some worked smooth, but with others I got nasty errors regarding missing Perl 5.24.2. I checked that 5.24.1 is installed an d I can't find a package newer than that. How to persuade ports system to use 5.24.1 ?
Thanks a lot in advance and greetings from Bonn (Germany)
Hans
[SOLVED ???]
well, found a workaround, I generate a link in /usr/local/bin from perl to perl5.24.2
root@pinot:/usr/local/bin # ln perl perl5.24.2
root@pinot:/usr/local/bin #
root@pinot:/usr/local/bin # ls -lisa perl*
301367 9 -rwxr-xr-x 4 root wheel 7568 13 Jul 03:15 perl
301367 9 -rwxr-xr-x 4 root wheel 7568 13 Jul 03:15 perl5
301367 9 -rwxr-xr-x 4 root wheel 7568 13 Jul 03:15 perl5.24.1
301367 9 -rwxr-xr-x 4 root wheel 7568 13 Jul 03:15 perl5.24.2
301368 25 -rwxr-xr-x 2 root wheel 45405 13 Jul 03:14 perlbug
301369 5 -rwxr-xr-x 1 root wheel 274 13 Jul 03:14 perldoc
301370 9 -rwxr-xr-x 1 root wheel 10829 13 Jul 03:14 perlivp
301368 25 -rwxr-xr-x 2 root wheel 45405 13 Jul 03:14 perlthanks
root@pinot:/usr/local/bin #
but is this a solution? I don't think so and hope someone have a better idea
Greetings Hans
Ports make requires Perl 5.24.2 [SOLVED ???]
Re: Ports make requires Perl 5.24.2 [SOLVED ???]
Hello and welcome!
Take a bit of time before using ports, and understand how pkg works.
Most important things are:
FreeBSD provide two pkg repositories, "quarterly" and "latest", the default is "quarterly", and this is also the default in GhostBSD 10.3.
ports usually refer to the head branch of the ports tree, which is more or less in sync with "latest" pkg repository.
Very likely you are now mixing pkgs from "quarterly" and ports from "head branch" and that most likely is the source of your issue.
~~~
Moreover, GhostBSD is now working with own repositories, built from head branch, thus close to FreeBSD "latest", we are in the mid of a switch and the upcoming GhostBSD 11.1 will make use of our own repos. Previously we were using FreeBSD repos.
~~~
Building from source is not the simplest thing, and there are several ways to build from ports tree: we strongly advice to use ports-mgmt/synth, a magnificient tool for building pkgs (and full repos too).
Stay absoluttely away from things like portmaster and portupgrade if you want to avoid troubles.
Look around on our forums, there are a few threads about switching to use our own repos
viewtopic.php?f=69&t=715
Have fun!
Take a bit of time before using ports, and understand how pkg works.
Most important things are:
FreeBSD provide two pkg repositories, "quarterly" and "latest", the default is "quarterly", and this is also the default in GhostBSD 10.3.
ports usually refer to the head branch of the ports tree, which is more or less in sync with "latest" pkg repository.
Very likely you are now mixing pkgs from "quarterly" and ports from "head branch" and that most likely is the source of your issue.
~~~
Moreover, GhostBSD is now working with own repositories, built from head branch, thus close to FreeBSD "latest", we are in the mid of a switch and the upcoming GhostBSD 11.1 will make use of our own repos. Previously we were using FreeBSD repos.
~~~
Building from source is not the simplest thing, and there are several ways to build from ports tree: we strongly advice to use ports-mgmt/synth, a magnificient tool for building pkgs (and full repos too).
Stay absoluttely away from things like portmaster and portupgrade if you want to avoid troubles.
Look around on our forums, there are a few threads about switching to use our own repos
viewtopic.php?f=69&t=715
Have fun!
Re: Ports make requires Perl 5.24.2 [SOLVED ???]
Hi
thanks for the quick response
Yes, perhaps a mix of repositories, but how? I installed just out of the box, upgrade to latest via OctoPkg, initialised ports by portsnap fetch and portsnap extract and tried to install (in this case "audicity"). I didn't play with repository definitions (will have a look on the mentioned link when the installation of audacity is finished).
Anyway, there was a workaround and thanks again for your quick help
Greetings Hans
thanks for the quick response
Yes, perhaps a mix of repositories, but how? I installed just out of the box, upgrade to latest via OctoPkg, initialised ports by portsnap fetch and portsnap extract and tried to install (in this case "audicity"). I didn't play with repository definitions (will have a look on the mentioned link when the installation of audacity is finished).
Anyway, there was a workaround and thanks again for your quick help
Greetings Hans
Re: Ports make requires Perl 5.24.2 [SOLVED ???]
upgrade via octopkg was using "quarterly" repohmoessle wrote:Yes, perhaps a mix of repositories, but how? I installed just out of the box, upgrade to latest via OctoPkg, initialised ports by portsnap fetch and portsnap extract and tried to install (in this case "audicity").
portsnap fetch extract, extract the head branch, they are exactly out of sync!
The problem lie in the default repo (quarterly instead of latest) and on the widely documented belief that it is safe to use "portsnap fetch extract", and it is not the case.I didn't play with repository definitions
The fix, in your case can be:
a) build all pkgs from ports, eventually do that using synth
b) upgrade your repo config to make use of our own repos (previous link) and reinstall ALL packages.
audacity is available in GhostBSD repos, do you need special settings ? please let us know about.
Re: Ports make requires Perl 5.24.2 [SOLVED ???]
btw, if you use IRC, you can join #ghostbsd on Freenode
Re: Ports make requires Perl 5.24.2 [SOLVED ???]
puhhh, sounds like a night shift
I'll try suggestion b) , but not now (install of tex is taking some time) and will post the results
Thanks and bye
Hans
I'll try suggestion b) , but not now (install of tex is taking some time) and will post the results
Thanks and bye
Hans
Re: Ports make requires Perl 5.24.2 [SOLVED ???]
Yeah, usually it is.hmoessle wrote:puhhh, sounds like a night shift
Re: Ports make requires Perl 5.24.2 [SOLVED ???]
Hey Hans did upgrade your repo config and using your own repos work out for you?hmoessle wrote:puhhh, sounds like a night shift
I'll try suggestion b) , but not now (install of tex is taking some time) and will post the results
Thanks and bye
Hans