LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-19-2022, 03:30 AM   #1
medictruck
Member
 
Registered: Nov 2017
Location: Kathmandu, Nepal
Distribution: Slackware
Posts: 49

Rep: Reputation: 53
Building the latest Anki (problem : System-d as dependency)


Hello,

I am not well versed in building my own packages. I just used on the other computer the Anki in the Slackbuilds & it worked fine.

But, I cant seem to find a way to build the latest Anki as the systemd is listed as one of the dependency. Is there a way to circumvent it? I was looking at Mnemosyne & couldn't find the slackbuild for 15. It was there earlier as its a quality software. Any help/guidance would be appreciated as these quality flash card programs are one of the core necessities of modern learning.

Thank you.
 
Old 04-19-2022, 05:18 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,583
Blog Entries: 19

Rep: Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454
Most software that depends on systemd actually needs the systemd logind daemon. You can use elogind as a replacement for this.
 
1 members found this post helpful.
Old 04-19-2022, 07:06 AM   #3
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,366

Rep: Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082Reputation: 4082
BTW, the link in the slackbuild is no longer available
Code:
DOWNLOAD="https://apps.ankiweb.net/downloads/archive/anki-2.1.16-source.tgz"
2.1.16 no longer exists

The latest *-source archive is : 2.1.15
https://apps.ankiweb.net/downloads/a....15-source.tgz
 
1 members found this post helpful.
Old 04-19-2022, 10:15 PM   #4
medictruck
Member
 
Registered: Nov 2017
Location: Kathmandu, Nepal
Distribution: Slackware
Posts: 49

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by marav View Post
BTW, the link in the slackbuild is no longer available
Code:
DOWNLOAD="https://apps.ankiweb.net/downloads/archive/anki-2.1.16-source.tgz"
2.1.16 no longer exists

The latest *-source archive is : 2.1.15
https://apps.ankiweb.net/downloads/a....15-source.tgz
Thank you for the link. I was looking for Mnemosyne build for 14.2 & got everything built up except this https://slackbuilds.org/repository/1...python3-PyQt5/

I can't find that for Slackware 15 in slackbuilds. Any help would be appreciated.
 
Old 04-20-2022, 01:43 AM   #5
pm_a_cup_of_tea
Member
 
Registered: May 2021
Posts: 58

Rep: Reputation: Disabled
This is a problem I have had. I appreciate what hazel said about:
Quote:
Originally Posted by hazel View Post
Most software that depends on systemd actually needs the systemd logind daemon. You can use elogind as a replacement for this.
But although I can and have built my own SlackBuilds this would definitely be beyond me.

There was a post here that discussed this problem although a solution was offered by ponce it wasn't really resolved.

Anki is probably the most popular and useful tool of its kind so I too am interested in finding a way to get an up to date and working SlackBuild for this.

Last edited by pm_a_cup_of_tea; 04-20-2022 at 05:00 AM. Reason: typo
 
Old 04-20-2022, 04:04 AM   #6
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,583
Blog Entries: 19

Rep: Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454
Quote:
Originally Posted by pm_a_cup_of_tea View Post
This is a problem I have had. I appreciate what hazel said about [elogind]:


But although I can can and have built my own SlackBuilds this would definitely be beyond me.
Sorry, I didn't make myself clear. elogind is already there if you have Slackware-15.Patrick finally bit the bullet and included it because so much software now requires it.
 
Old 04-20-2022, 04:57 AM   #7
pm_a_cup_of_tea
Member
 
Registered: May 2021
Posts: 58

Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
Sorry, I didn't make myself clear. elogind is already there if you have Slackware-15.Patrick finally bit the bullet and included it because so much software now requires it.
I know But my attempts to build Anki with it installed have all failed. I was thinking whether it might need some wizardry in the SlackBuild that would certainly be beyond my skills as a hobbyist. I am merely an MH nurse who reads programming books, when you are having to deal with people all day its very therapeutic . I've just come back from a couple of months staying in a monastery, I might have another play but I am thinking that the SlackBuild may have been orphaned for a reason.
 
Old 04-20-2022, 05:52 AM   #8
medictruck
Member
 
Registered: Nov 2017
Location: Kathmandu, Nepal
Distribution: Slackware
Posts: 49

Original Poster
Rep: Reputation: 53
Mnemosyne is another minimal but an excellent alternative to Anki. I realized that Mnemosyne is simpler that effective while Anki has many, many options to tweak. I downloaded the Mnemosyne source file & read the readme. The developer went on to do pip-install the libraries. I was wondering where all that would go with the system libraries. Got it to compile but no response. Ran in terminal & got stuck with some error message regarding google trans & tts libraries which I have no clue how to build properly.

Last edited by medictruck; 04-20-2022 at 05:55 AM. Reason: Clarity & Grammer.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Anki - can't connect to AnkiWeb from Ubuntu 12.04 charlemagne-is-my-son Linux - Software 0 03-14-2014 05:45 PM
Anki card distribution increase, certain cards are too close together darkstarbyte Linux - Software 5 09-09-2013 05:27 AM
anki on Slackware 13.37 titopoquito Slackware 9 10-13-2011 04:55 AM
LXer: Anki - An alternative learning program LXer Syndicated Linux News 0 06-01-2011 02:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration