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 03-13-2021, 02:52 PM   #1
cdek
Member
 
Registered: Jul 2016
Posts: 58

Rep: Reputation: Disabled
newsboat does not compile on Slackware 14.2


I'm trying to compile newsboat on 14.2, but receive an error about cargo not being found. Cargo seems to be the package manager for rust.

Code:
cargo build --package libnewsboat-ffi --verbose --release
make: cargo: Command not found
make: *** [/tmp/SBo/newsboat-2.22.1/target/release/libnewsboat.a] Error 127
Makefile:138: recipe for target '/tmp/SBo/newsboat-2.22.1/target/release/libnewsboat.a' failed
Failures:
  newsboat: newsboat.SlackBuild return non-zero
I think that rust should be installed on my system, but I don't see it (it's a recent, standard full installation of 14.2).

On slackbuilds.org there's a slackbuild for rustup. Do I need to install this to compile newsboat?
 
Old 03-13-2021, 03:09 PM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,118

Rep: Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192
hi cdek,

in slackware 14.2 you can find rust in /patches/packages/ as it has been added after the 14.2 release to build the newer versions of firefox

https://mirrors.slackware.com/slackw...ches/packages/
 
1 members found this post helpful.
Old 03-14-2021, 10:17 AM   #3
cdek
Member
 
Registered: Jul 2016
Posts: 58

Original Poster
Rep: Reputation: Disabled
Hi ponce,

thanks, that explains why I couldn't find it. But shouldn't rust have been installed when I did

Code:
# slackpkg install-new
then?

Unfornately, I still get a compile error

Code:
error: process didn't exit successfully: `rustc -vV` (exit code: 127)
--- stderr
rustc: error while loading shared libraries: libLLVM-8.so: cannot open shared object file: No such file or directory

make: *** [/tmp/SBo/newsboat-2.22.1/target/release/libnewsboat.a] Error 101
Makefile:138: recipe for target '/tmp/SBo/newsboat-2.22.1/target/release/libnewsboat.a' failed
Failures:
  newsboat: newsboat.SlackBuild return non-zero
Maybe there's another package that I'm missing?
 
Old 03-14-2021, 10:32 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,118

Rep: Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192
You need also to update llvm with the one in /extra (version 8.0.1).
 
1 members found this post helpful.
Old 03-15-2021, 05:49 AM   #5
cdek
Member
 
Registered: Jul 2016
Posts: 58

Original Poster
Rep: Reputation: Disabled
Thank you, it compiled without further problems
 
  


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
LXer: Revive your RSS feed in the Linux terminal with Newsboat LXer Syndicated Linux News 0 02-29-2020 04:12 PM
LXer: Newsboat – A Command line RSS/Atom Feed Reader For Text Consoles LXer Syndicated Linux News 0 07-03-2019 06:12 PM
LXer: Newsboat: A Snazzy Text-Based RSS Feed Reader LXer Syndicated Linux News 0 07-16-2018 05:42 PM
[SOLVED] Apache2 does NOT display site, does NOT error_log, DOES download the index.php to ~/Downloads SeaPhor Linux - Server 4 03-15-2018 02:20 PM
The error compile C/C++ in linux (but it does compile on Win) hikaru1505 Programming 2 12-30-2010 09:11 AM

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

All times are GMT -5. The time now is 03:28 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