LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   How do I install SlackBuilds? Cannot open: No such file or directory" (http://www.linuxquestions.org/questions/slackware-14/how-do-i-install-slackbuilds-cannot-open-no-such-file-or-directory-889316/)

theif519 07-01-2011 02:20 AM

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.

yuuko 07-01-2011 02:34 AM

Did you download the source tarball? It is not present under your source directory!

mRgOBLIN 07-01-2011 02:35 AM

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.

tommcd 07-01-2011 02:40 AM

Quote:

Originally Posted by theif519 (Post 4401054)
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 (Post 4401054)
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/

theif519 07-01-2011 10:55 AM

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

theif519 07-01-2011 11:01 AM

Okay, this makes things a LOT easier. sbopkg's menu-based repository makes everything easier. Thanks guys.


All times are GMT -5. The time now is 01:45 AM.