LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-03-2016, 04:43 PM   #16
IslandWolf
LQ Newbie
 
Registered: Mar 2011
Distribution: Slackware64 14.1
Posts: 25

Original Poster
Rep: Reputation: 1
Thumbs up Solved it...sorta kinda


I had to comment out 3 lines near the end of the KeePass.Slackbuild file, but the build completed successfully, as did the installpkg process.

Whoever knows what they're doign might want to look at the Slackbuild script to find out why it's looking for '$CWD/files', a directory that is never created.

Anyway, we're good to go. I built a launcher on the fly and all is well here in wannabe-geek-on-the-loose land. Again, thanks for the input.
 
Old 05-03-2016, 04:58 PM   #17
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,902

Rep: Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052
In the future if you plan to run and install your SlackBuilds manually, this may help:

Code:
bash -x ./name.SlackBuild
It will tell you how the SlackBuild is failing and show what it is doing when it is failing. Another useful command that will log everything in your terminal for later viewing is the "script" command. Both additions will help you troubleshoot more effectively.

Regarding failing SlackBuild scripts, you can report them here: https://www.linuxquestions.org/quest...ls-4175561999/
 
1 members found this post helpful.
Old 05-03-2016, 06:23 PM   #18
TracyTiger
Member
 
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 528

Rep: Reputation: 273Reputation: 273Reputation: 273
Quote:
Originally Posted by mralk3 View Post
Another useful command that will log everything in your terminal for later viewing is the "script" command.
I didn't know about the script command. I usually just redirected stdin/stdout/stderr.

Thanks for teaching me something today.
 
Old 05-03-2016, 07:57 PM   #19
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,902

Rep: Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052
Quote:
Originally Posted by TracyTiger View Post
[

I didn't know about the script command. I usually just redirected stdin/stdout/stderr.

Thanks for teaching me something today.
You're welcome! Glad to be of some help!

Last edited by mralk3; 05-03-2016 at 07:58 PM.
 
Old 05-03-2016, 09:05 PM   #20
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by IslandWolf View Post
After reverting back to the stable release, I was able to get KeePass 2.30 installed with no problems. So I went back to -current.

I've spent the past days learning how to use Slackbuild from Ponce's pages, and things have gone well. I have done a clean -current install of Slackware64 and have multilib support up and running. The proprietary nVidia drivers are working; I am using OpenBox in KDE. Things are peachy keen.

However, when I run ./KeePass.Slackbuild, it errors out with this:
cp: cannot stat '/home/richard/Downloads/tmp/files/KeePass.desktop' : No such file or directory

Directly before that, the script had been busily extracting source files and had just started inflating TrlUtil.csproj. Then the process crapped out with the above error message.

Should I unzip the source myself to see if it even HAS a files subdirectory within it?

This shtuff is fun.
That file isn't part of the source. It should've been included within the "files" folder that is included with the source. The $CWD variable is used to pull files that the packager wanted included in the source, just like this .desktop file. If you download the file and place it in a folder called "files" in the same directory that contains the KeePass.SlackBuild and then run it, it will work properly.

If you clone the whole git repo, you can just cd into the correct directory and then run the SlackBuild. It will have all the required files.

Code:
git clone https://github.com/Ponce/slackbuilds.git
cd slackbuilds/misc/KeePass
sh KeePass.SlackBuild
installpkg /tmp/KeePass*.tgz
 
Old 05-04-2016, 03:22 PM   #21
IslandWolf
LQ Newbie
 
Registered: Mar 2011
Distribution: Slackware64 14.1
Posts: 25

Original Poster
Rep: Reputation: 1
Talking And now for some closure: comic relief

Well, I'm shaking my head, y'all.

Back in the early 80's I had an old VW Super Beetle, for which I bought a repair manual entitled, "How to Keep Your VW Alive - Step By Step Instructions For the Complete Idiot". In its opening pages was this sage advice: "Look at what you are seeing."

After umpteen visits to Ponce's page for KeePass 2.30, I finally looked at what I was seeing. And guess what! Right there as the top line of the SlackBuild files was a folder called "files".

Okay, so I'm completing my 67th year today and I am evidently not as sharp as once I was. But still. I mean, come ON! It was right there.

I am really, REALLY happy that I've committed to Slackware as my distro.
 
1 members found this post helpful.
Old 05-04-2016, 03:27 PM   #22
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Quote:
Originally Posted by IslandWolf View Post
Well, I'm shaking my head, y'all.

Back in the early 80's I had an old VW Super Beetle, for which I bought a repair manual entitled, "How to Keep Your VW Alive - Step By Step Instructions For the Complete Idiot". In its opening pages was this sage advice: "Look at what you are seeing."
Loved that book, IslandWolf.

It helped me keep my VW alive back in the mid-70s.

-- kjh
 
Old 05-04-2016, 04:30 PM   #23
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by IslandWolf View Post
After umpteen visits to Ponce's page for KeePass 2.30, I finally looked at what I was seeing. And guess what! Right there as the top line of the SlackBuild files was a folder called "files".
It happens to all of us. That's why when using git for SBo, I'll just clone the whole repo so I ensure I have everything I need. It might take a little bit longer, but then you don't have to save a bunch of individual files separately and hope you don't miss anything.

And Happy Birthday! Just remember, birthdays are like farts. They're going to happen, so you might as well sit back and enjoy them
 
  


Reply

Tags
mono, slackbuild



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] OpenCV slackbuild fails on Slackware64-current ahc_fan Slackware 3 01-23-2016 06:43 AM
cannot compile qjackctl from slackbuild on slackware64-current trumpet_tom Slackware 10 06-13-2011 12:57 PM
[SOLVED] Transmission Slackbuild fails to compile on Slackware64 13.1 astanton Slackware 9 11-10-2010 06:21 PM
What changes must be made in a slackBuild from 11.x To build for Slackware64 current? Alexvader Slackware 5 12-30-2009 01:38 PM
Slackbuild of Scilab 5.1 fails under Slackware64 13... is this reproducible...?? Alexvader Slackware 21 11-29-2009 02:29 PM

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

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