LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-08-2019, 04:50 PM   #1
Captain Brillo
Member
 
Registered: Jul 2018
Location: Capital of Raccoon Nation
Posts: 126

Rep: Reputation: Disabled
SlackBuild instructions aren't working


There's so much info in Slack Docs I've just become completely confused.
I'm trying to install rdiff-backup and the library librsync.
I've extracted them to /opt and changed the permissions with chmod +x
From Slack Docs:
Quote:
Install

The rdiff-backup project is hosted at http://rdiff-backup.nongnu.org/ but the easiest way to install it is from SlackBuilds.org

You must install rdiff-backup on both the client computer being backed up and the server to which it is sending backup files. This means you are preforming two installs of rdiff-backup.

The server to which you backup does not need to also be running Slackware, as long as rdiff-backup is available for it, it will work as an rdiff-backup server.

To install rdiff-backup:

Install its dependency, librsync, from https://slackbuilds.org/result/?search=librsync
Install rdiff-backup from https://slackbuilds.org/result/?search=rdiff-backup
But when I try to do what it says herehttps://slackbuilds.org/howto/ I get an error message that there's no such file or directory, but it's right there!

And another issue - I can't even figure out how to clear the damn clipboard!

Help, please.
 
Old 06-08-2019, 04:57 PM   #2
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.2
Posts: 1,575

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Very simple procedure, This will work for basically all slackbuilds.

Just do this:

Code:
cd /tmp 
wget https://slackbuilds.org/slackbuilds/14.2/libraries/librsync.tar.gz
tar xvf librsync.tar.gz
cd librsync
Look in the info file to get source link and download it

Code:
wget http://downloads.sourceforge.net/librsync/librsync-0.9.7.tar.gz
chmod +x librsync.SlackBuild
./librsync.SlackBuild
installpkg /tmp/librsync-0.9.7-x86_64-1_SBo.tgz
After you get used to doing this by hand, you can look into sbopkg to automate all this for you. Here is a good video tutorial on how to use sbopkg https://www.youtube.com/watch?v=akMZS2dcqPo

Last edited by Daedra; 06-08-2019 at 06:42 PM.
 
Old 06-08-2019, 06:16 PM   #3
Captain Brillo
Member
 
Registered: Jul 2018
Location: Capital of Raccoon Nation
Posts: 126

Original Poster
Rep: Reputation: Disabled
Thanks hugely, Daedra...

But I'm getting the same error as when I tried before:

Code:
./librsync.SlackBuild
tar (child): /tmp/librsync/librsync-0.9.7.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Any idea why?

Oops! just got to your last line - I was so excited I didn't see it. Sheesh!

Last edited by Captain Brillo; 06-08-2019 at 06:23 PM. Reason: My bad
 
Old 06-08-2019, 06:39 PM   #4
Captain Brillo
Member
 
Registered: Jul 2018
Location: Capital of Raccoon Nation
Posts: 126

Original Poster
Rep: Reputation: Disabled
I downloaded the source files and out them in the new directories created for librsync and rdiff-backup.
Then I ran your commands again and everything worked fine.

Thank you.
 
Old 06-08-2019, 06:40 PM   #5
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.2
Posts: 1,575

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
Originally Posted by Captain Brillo View Post
I downloaded the source files and out them in the new directories created for librsync and rdiff-backup.
Then I ran your commands again and everything worked fine.

Thank you.
Yes, that was the important part I left out above lol. Sorry about that, glad you figured it out.
 
Old 06-08-2019, 08:10 PM   #6
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,638

Rep: Reputation: Disabled
You can download the sources easily by sourcing the info file and then using wget with the $DOWNLOAD variable.

Code:
. foo.infoo
wget $DOWNLOAD
(note this won't work ootb the for zsh users)
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] sbopkg installs "original" SlackBuild to /usr/doc/<pkg>/ instead of "local" SlackBuild drumz Slackware 29 01-20-2018 12:12 AM
[Patch and SlackBuild] Grub-2.02~beta2 SlackBuild and Patch. ReaperX7 Slackware 3 01-28-2015 09:30 AM
I just installed Mandrake Linux but my speakers aren't working stilanas Linux - Hardware 5 09-13-2003 07:15 AM
ftp & telnet 127.0.0.1 aren't working rinux Linux - Newbie 5 05-24-2003 06:18 PM
iptables rules aren't working Kinstonian Linux - Networking 4 04-21-2003 03:14 PM

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

All times are GMT -5. The time now is 11:57 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration