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 07-01-2011, 01:20 AM   #1
theif519
Member
 
Registered: Mar 2011
Location: Rochester, NY
Distribution: N/A
Posts: 255

Rep: Reputation: 4
How do I install SlackBuilds? Cannot open: No such file or directory"


Code:
root@theif519:/home/theif519/Packages/xbmc# ls
README                doinst.sh              patches/          xbmc.info
all-20071007/         mplayer-codecs/        slack-desc
all-20071007.tar.bz2  mplayer-codecs.tar.gz  xbmc.SlackBuild*
root@theif519:/home/theif519/Packages/xbmc# ./Slack*  
-su: ./Slack*: No such file or directory
root@theif519:/home/theif519/Packages/xbmc# ./*Slack*
tar: /home/theif519/Packages/xbmc/xbmc-10.0.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
root@theif519:/home/theif519/Packages/xbmc#
I've been testing out Slackware, but it seems that no matter what I do, I CAN'T build SlackBuilds. I actually prefer the .tgz files where I can install with installpkg. I can't figure it out. I even did chmod +x ./*SlackBuild to make it an executable, and it still won't work.

Last edited by theif519; 07-01-2011 at 01:22 AM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 07-01-2011, 01:34 AM   #2
yuuko
Member
 
Registered: May 2011
Distribution: Slackware-current
Posts: 42

Rep: Reputation: 21
Did you download the source tarball? It is not present under your source directory!
 
1 members found this post helpful.
Old 07-01-2011, 01:35 AM   #3
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
So you'll need to actually download the source "xbmc-10.0.tar.gz" and have that in your current directory.

Then
Code:
./xbmc.SlackBuild
I would certainly suggest you use sbopkg instead.
 
Old 07-01-2011, 01:40 AM   #4
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by theif519 View Post
I've been testing out Slackware, but it seems that no matter what I do, I CAN'T build SlackBuilds.
You need to read the slackbuilds how to: http://slackbuilds.org/howto/ It is really simple if you follow the instructions.
Sometimes a package may not build because there is a dependency that needs to be installed before your package can be built. There are a lot of dependencies for XBMC if you look at the slackbuilds page for it: http://slackbuilds.org/repository/13...ltimedia/xbmc/
So start backwards by first building and installing the dependencies. Then finally build and install XBMC. This is how I build packages that have a lot of dependencies.
There is also sbopkg, which can automate the building and installation of slackbuild packages: http://sbopkg.org/ It works great!
Quote:
Originally Posted by theif519 View Post
I actually prefer the .tgz files where I can install with installpkg.
The Salix repos have pre-built Slackware packages that are fully compatible with Slackware: http://www.salixos.org/wiki/index.ph...sitory_mirrors
Also Rob Workman and Alien Bob have pre-built Slackware packages on their sites:
http://rlworkman.net/
http://connie.slackware.com/~alien/slackbuilds/

Last edited by tommcd; 07-01-2011 at 01:44 AM. Reason: yuuko and mRgOBLIN got their posts in while I was writing this.
 
2 members found this post helpful.
Old 07-01-2011, 09:55 AM   #5
theif519
Member
 
Registered: Mar 2011
Location: Rochester, NY
Distribution: N/A
Posts: 255

Original Poster
Rep: Reputation: 4
Ah, I got it now, I have to extract the tar file, cd into that directory, and then use wget to get the source tarball in that directory. Pretty easy, but also a bit time consuming. I'll also look into sbopkg
 
Old 07-01-2011, 10:01 AM   #6
theif519
Member
 
Registered: Mar 2011
Location: Rochester, NY
Distribution: N/A
Posts: 255

Original Poster
Rep: Reputation: 4
Okay, this makes things a LOT easier. sbopkg's menu-based repository makes everything easier. Thanks guys.
 
  


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
gentoo install with minimal CD giving " no such file or directory " while mke2fs enoscent Gentoo 2 07-14-2010 08:19 PM
Error: "libdmx.so.1: cannot open shared object file: No such file or directory" ESC201 Linux - Software 4 11-01-2008 08:38 PM
error while trying to install program: "X11/Xlib.h: No such file or directory" nate1 Linux - Newbie 3 05-21-2004 08:08 AM
open webmail error "Can't create your user directory! 7/mail (No such file or directo ko_zlynn Linux - Networking 1 12-21-2003 04:00 AM
Debian kernels: "warning: can't open /etc/mtab: No such file or directory" brurien Debian 1 10-22-2003 06:09 PM

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

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