View previous topic :: View next topic |
Author |
Message |
bigbanana69 Apprentice
Joined: 10 Jul 2017 Posts: 169 Location: Moscow
|
Posted: Sun Mar 17, 2019 6:56 am Post subject: gentoo x86, ksh doesn't installs... |
|
|
Hi,
I'm trying to install ksh on gentoo x86. Here's the output:
Code: | emerge --info '=app-shells/ksh-93.20140625::gentoo' |
http://dpaste.com/16KMTKN
Code: | emerge -pqv '-app-shells/ksh-93.20140625::gentoo' |
http://dpaste.com/2FFK5TM
/var/tmp/portage/app-shells/ksh-93.20140625/temp/build.log
https://ufile.io/j05j0
/var/tmp/portage/app-shells/ksh-93.20140625/temp/environment
/var/tmp/portage/app-shells/ksh-93.20140625/work
/var/tmp/portage/app-shells/ksh-93.20140625/work _________________ You are not using computers if you are not using Gentoo UNIX. |
|
Back to top |
|
|
Phoenix591 Guru
Joined: 17 Sep 2007 Posts: 483
|
Posted: Sun Mar 17, 2019 7:59 am Post subject: |
|
|
looks like this might be a bug that was fixed already in new versions of ksh, but is in old versions, (maybe this bug? which might really be this bug) , in the meantime for it to build right now without waiting for an official fix for the stable version two options, try grabbing the latest ("unstable/testing") version by adding it to package.accept_keywords, or put the fix commit into /etc/portage/patches/app-shells/ksh-93.20140625/ (name the patch itself whatever you want, more info on doing custom patches like this) |
|
Back to top |
|
|
bigbanana69 Apprentice
Joined: 10 Jul 2017 Posts: 169 Location: Moscow
|
Posted: Sun Mar 17, 2019 8:09 am Post subject: |
|
|
It would be nice if there's also UTF-8 support in ksh. _________________ You are not using computers if you are not using Gentoo UNIX. |
|
Back to top |
|
|
bigbanana69 Apprentice
Joined: 10 Jul 2017 Posts: 169 Location: Moscow
|
Posted: Mon Apr 15, 2019 8:12 am Post subject: |
|
|
what should I put to /etc/portage/package.accept_keywords
Code: | app-shells/ksh latest |
? _________________ You are not using computers if you are not using Gentoo UNIX. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30894 Location: here
|
|
Back to top |
|
|
bigbanana69 Apprentice
Joined: 10 Jul 2017 Posts: 169 Location: Moscow
|
Posted: Mon Apr 15, 2019 12:58 pm Post subject: |
|
|
Excuse me, -amd64 in accept_keywords means -amd64 (minus) right, like in package.use? Because I'm on Gentoo x86.
And how do I find out the correct names for the latest packages in gentoo repository like ksh-93.20180331?
emerge --ask app-shells/ksh-93.20180331
and emerge --ask app-shells/ksh returns with
Invalid atom in /etc/portage/package.accept_keywords: app-shells/ksh-93.20180331 _________________ You are not using computers if you are not using Gentoo UNIX. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30894 Location: here
|
Posted: Mon Apr 15, 2019 1:18 pm Post subject: |
|
|
bigbanana69 wrote: | Excuse me, -amd64 in accept_keywords means -amd64 (minus) right, like in package.use? Because I'm on Gentoo x86. |
In this case change ~amd64 to ~x86.
bigbanana69 wrote: | And how do I find out the correct names for the latest packages in gentoo repository like ksh-93.20180331?
emerge --ask app-shells/ksh-93.20180331 |
You can use equery keywords app-shells/ksh, but I prefer eix for searching packages
bigbanana69 wrote: | and emerge --ask app-shells/ksh returns with
Invalid atom in /etc/portage/package.accept_keywords: app-shells/ksh-93.20180331 |
If you specify the version, you shoud add if equal, lesser than or greater than
Code: | =app-shells/ksh-93.20180331 ~x86 |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
bigbanana69 Apprentice
Joined: 10 Jul 2017 Posts: 169 Location: Moscow
|
Posted: Mon Apr 15, 2019 2:50 pm Post subject: |
|
|
This did the job for me:
fedeliallalinea wrote: |
If you specify the version, you shoud add if equal, lesser than or greater than
Code: | =app-shells/ksh-93.20180331 ~x86 |
|
I tried 'emerge --search ksh'
but it outputted only ksh-93.2014
I also installed app-portage/gentoolkit.
I tried then 'equery keywords app-shells/ksh'
which listed the latest versions of ksh.
Btw "eselect sh list" shows only bash after installing ksh.
Also chsh shows only /bin/bash
Thanks, _________________ You are not using computers if you are not using Gentoo UNIX. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21607
|
Posted: Tue Apr 16, 2019 1:41 am Post subject: |
|
|
bigbanana69 wrote: | Excuse me, -amd64 in accept_keywords means -amd64 (minus) right, like in package.use? Because I'm on Gentoo x86. | Omit the architecture specifier. A line with only an atom implies testing for the current architecture.
That was a ~ in the post before you, not a -. |
|
Back to top |
|
|
bigbanana69 Apprentice
Joined: 10 Jul 2017 Posts: 169 Location: Moscow
|
Posted: Tue Apr 16, 2019 3:58 am Post subject: |
|
|
I'm thinking that ksh maybe isn't shown because I had previously tried to install it from git with meson, which didn't showed ksh in the list. _________________ You are not using computers if you are not using Gentoo UNIX. |
|
Back to top |
|
|
|