LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-24-2014, 08:21 PM   #1
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Rep: Reputation: 0
Small Problem Building Screenfetch


I am trying to install screenfetch on Slack 64. I installed the packages from slackbuilds http://slackbuilds.org/repository/14...ch=screenfetch, but it comes up with errors when building. Here are the steps I took.

Note: The source is named screenFetch-3.22.tar.gz

1.) Downloaded the source and slackbuild packages.
2.) Cd /home/pino/Downloads
3.) su -l
4.) tar -xzvf screenfetch.tar.gz
5.) mv screenFetch.tar-* screenfetch
7.) cd screenfetch
8.) chmod +x *.SlackBuild
9.) ./*.SlackBuild

root@darkstar:/home/pino/Downloads/screenfetch# ./*.SlackBuild
tar: /home/pino/Downloads/screenfetch/screenfetch-3.2.2.tar.?z*: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
root@darkstar:/home/pino/Downloads/screenfetch#

I tried renaming the source to what it said in the error and this happens.

root@darkstar:/home/pino/Downloads/screenfetch# mv screenFetch-* screenfetch-3.2.2.tar.gz
root@darkstar:/home/pino/Downloads/screenfetch# ./*.SlackBuild
screenFetch-3.2.2/
screenFetch-3.2.2/CHANGELOG
screenFetch-3.2.2/COPYING
screenFetch-3.2.2/README.mkdn
screenFetch-3.2.2/TODO
screenFetch-3.2.2/screenfetch-dev
./screenfetch.SlackBuild: line 51: cd: screenfetch-3.2.2: No such file or directory
root@darkstar:/home/pino/Downloads/screenfetch#

As always, any help is appreciated.
 
Old 06-24-2014, 09:51 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,702

Rep: Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806
Have you grab the latest version?
I fixed it few days ago
 
Old 06-24-2014, 09:55 PM   #3
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by willysr View Post
Have you grab the latest version?
I fixed it few days ago
From git?
 
Old 06-25-2014, 12:37 AM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,702

Rep: Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806
We have publish the changes to SBo website. Try redownload it again and see if it works.
 
Old 06-25-2014, 11:40 AM   #5
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
bash-4.2# mv screenF*.tar.gz screenfetch
bash-4.2# cd screenfetch
bash-4.2# ./*.SlackBuild
tar: /home/pino/Downloads/screenfetch/screenfetch-3.2.2.tar.?z*: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
Renamed it here.
bash-4.2# mv screenF*.tar.gz screenfetch
bash-4.2# ./*.SlackBuild
tar: /home/pino/Downloads/screenfetch/screenfetch-3.2.2.tar.?z*: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
bash-4.2#

Edit: opps, just renamed it to screenfetch.

Last edited by Pinonoir; 06-25-2014 at 11:43 AM.
 
Old 06-25-2014, 11:45 AM   #6
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
bash-4.2# mv screenfetch screenfetch-3.2.2.tar.gz
bash-4.2# ./*.SlackBuild
screenFetch-3.2.2/
screenFetch-3.2.2/CHANGELOG
screenFetch-3.2.2/COPYING
screenFetch-3.2.2/README.mkdn
screenFetch-3.2.2/TODO
screenFetch-3.2.2/screenfetch-dev
./screenfetch.SlackBuild: line 51: cd: screenfetch-3.2.2: No such file or directory
bash-4.2#

Tried again with the same exact error.
 
Old 06-25-2014, 11:47 AM   #7
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,702

Rep: Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806
easy way:
Code:
sbopkg -i screenfetch
Quote:
sbopkg -i screenfetch

###########################################
New queue process started on:
Wed Jun 25 23:46:01 WIT 2014
###########################################

+++++++++++++++++++++++++++++++++++++++++++
PRE-CHECK LOG
Using the SBo repository for Slackware 14.1
Queue Process: Download, build, and install

screenfetch:
Checking GPG for screenfetch.tar.gz ... OK
Processing screenfetch 3.2.2-2
Using original .info file
Using original SlackBuild file
No build options selected.

+++++++++++++++++++++++++++++++++++++++++++

Pre-check complete.

Do you wish to proceed based on the search results above? Packages not
found will be skipped during the process.

(P)roceed or (Q)uit?: p


Processing screenfetch

screenfetch:
screenfetch not found in /var/cache/sbopkg.
--2014-06-25 23:46:02-- https://github.com/KittyKatt/screenF.../v3.2.2.tar.gz
Resolving github.com (github.com)... 192.30.252.128
Connecting to github.com (github.com)|192.30.252.128|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/KittyKat.../tar.gz/v3.2.2 [following]
--2014-06-25 23:46:03-- https://codeload.github.com/KittyKat.../tar.gz/v3.2.2
Resolving codeload.github.com (codeload.github.com)... 192.30.252.147
Connecting to codeload.github.com (codeload.github.com)|192.30.252.147|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 46668 (46K) [application/x-gzip]
Saving to: ‘v3.2.2.tar.gz’

100%[======================================>] 46,668 38.6KB/s in 1.2s

2014-06-25 23:46:06 (38.6 KB/s) - ‘v3.2.2.tar.gz’ saved [46668/46668]

Found v3.2.2.tar.gz in /var/cache/sbopkg.
Checking MD5SUM:
MD5SUM check for v3.2.2.tar.gz ... OK
Building package for screenfetch...
tar: /var/lib/sbopkg/SBo/14.1/desktop/screenfetch/screenfetch-3.2.2.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
screenFetch-3.2.2/
screenFetch-3.2.2/CHANGELOG
screenFetch-3.2.2/COPYING
screenFetch-3.2.2/README.mkdn
screenFetch-3.2.2/TODO
screenFetch-3.2.2/screenfetch-dev

Slackware package maker, version 3.14159.

Searching for symbolic links:

No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n

Creating Slackware package: /tmp/sbopkg.6F8dm8/sbopkg-sbooutputdir/screenfetch-3.2.2-noarch-2_SBo.tgz

./
install/
install/slack-desc
usr/
usr/bin/
usr/bin/screenfetch
usr/doc/
usr/doc/screenfetch-3.2.2/
usr/doc/screenfetch-3.2.2/TODO
usr/doc/screenfetch-3.2.2/CHANGELOG
usr/doc/screenfetch-3.2.2/README.mkdn
usr/doc/screenfetch-3.2.2/COPYING

Slackware package /tmp/sbopkg.6F8dm8/sbopkg-sbooutputdir/screenfetch-3.2.2-noarch-2_SBo.tgz created.

Done building package for screenfetch.
Built package: screenfetch-3.2.2-noarch-2_SBo.tgz

+==============================================================================
| Installing new package /tmp/screenfetch-3.2.2-noarch-2_SBo.tgz
+==============================================================================

Verifying package screenfetch-3.2.2-noarch-2_SBo.tgz.
Installing package screenfetch-3.2.2-noarch-2_SBo.tgz:
PACKAGE DESCRIPTION:
# The Bash Screenshot Information Tool
#
# Screenfetch is a Bash Screenshot Information Tool. This handy
# Bash script can be used to generate one of those nifty terminal
# theme information + ASCII distribution logos you see in everyone's
# screenshots nowadays. It will auto-detect your distribution and
# display an ASCII version of that distribution's logo and some
# valuable information to the right.
#
# Homepage: http://git.silverirc.com/cgit.cgi/screenfetch-dev.git/
#
Package screenfetch-3.2.2-noarch-2_SBo.tgz installed.


Done upgrading/installing package.

+++++++++++++++++++++++++++++++++++++++++++
SUMMARY LOG
Using the SBo repository for Slackware 14.1
Queue Process: Download, build, and install

screenfetch:
MD5SUM check for v3.2.2.tar.gz ... OK
Building package screenfetch-3.2.2-noarch-2_SBo.tgz ... OK
Installing package screenfetch-3.2.2-noarch-2_SBo.tgz ... OK

+++++++++++++++++++++++++++++++++++++++++++

###########################################
Queue process complete!
###########################################
 
Old 06-25-2014, 12:02 PM   #8
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
bash-4.2$ su
Password:
bash-4.2# sbopkg -i screenfetch

Queuefile or package screenfetch not found - skipping.

(Y)es to continue processing or (N)o to stop?:
 
Old 06-25-2014, 12:52 PM   #9
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,702

Rep: Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806
Have you ran sbopkg -r ??
 
Old 06-25-2014, 01:12 PM   #10
maciuszek
Member
 
Registered: Nov 2010
Location: Toronto, Ontario
Distribution: Slackware + FreeBSD
Posts: 165

Rep: Reputation: 40
Is there a reason you decide do not follow the info file and pull a different screenfetch tarball (which in addition does not compliment either unpack operation in the slakcbuild due to case sensitivity).

You should be pulling what the info file says so that in addition you can check the expected themd5.

If theres some specific reason you need this source this try unpacking it and implementing the slackbuild yourself (you'll notice no screenfetch-33.2.2 directory is packed I assume)
Else
https://github.com/KittyKatt/screenF.../v3.2.2.tar.gz

Last edited by maciuszek; 06-25-2014 at 01:13 PM.
 
Old 06-25-2014, 01:41 PM   #11
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by maciuszek View Post
Is there a reason you decide do not follow the info file and pull a different screenfetch tarball (which in addition does not compliment either unpack operation in the slakcbuild due to case sensitivity).

You should be pulling what the info file says so that in addition you can check the expected themd5.

If theres some specific reason you need this source this try unpacking it and implementing the slackbuild yourself (you'll notice no screenfetch-33.2.2 directory is packed I assume)
Else
https://github.com/KittyKatt/screenF.../v3.2.2.tar.gz
I tried that and still received an error.

Also, running sbopkg -r then installing it worked, although I don't like relying on third-party applications.
 
Old 06-25-2014, 05:12 PM   #12
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,702

Rep: Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806Reputation: 1806
sbopkg is just a tool to easily install packages from SBo repository without having to hassle downloading and building it manually one by one.
 
Old 06-28-2014, 11:25 PM   #13
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
./screenfetch.SlackBuild: line 51: cd: screenfetch-3.2.2: No such file or directory

You renamed the directory to screenFetch-3.2.2 instead of screenfetch-3.2.2

Plus, if you are using the right slackbuild for your version there is no need to rename any file/directory
 
Old 06-29-2014, 07:41 AM   #14
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
The file was not altered originally, the file was named screenFetch-3.2.2.tar.gz
 
  


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] Unable to Download Screenfetch Source Pinonoir Slackware 2 06-22-2014 07:29 PM
Need Help Building Small Office DNS / DHCP Server Popsicle-Pete Linux - Networking 2 09-02-2008 04:23 PM
new to linux, building a small lab... bellman LinuxQuestions.org Member Intro 3 02-26-2007 07:58 PM
Building a Small / Secure Business Network gbkyle Linux - Networking 6 07-13-2005 06:15 PM
Building small-scale ISP with VectorLinux rune.kg Linux - Newbie 2 01-27-2004 12:57 PM

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

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