problems with and understanding .SlackBuild

Discussion in 'all things UNIX' started by cgeek, Sep 23, 2010.

Thread Status:
Not open for further replies.
  1. cgeek

    cgeek Registered Member

    Joined:
    Mar 31, 2010
    Posts:
    328
    I have recently decided to use Slackware and I'm having problems installing some packages using Slackbuilds. The problem is that I have followed the directions to a tea and it won't execute the SlackBuild script! I logged in as root and "cd" to the directory and ran the script and says the command is not found! I have also su rooted my user account to no avail. Also ran from user account and it starts to run but I get errors. I have examined the script file and it is proper. What am I doing wrong? :doubt:
     
  2. Beavenburt

    Beavenburt Registered Member

    Joined:
    Dec 17, 2006
    Posts:
    566
    It might be a dependency issue, check the build for errors and the slackbuild readme.
    Sometimes things in slackware don't work and unless you're a proper guru it's difficult to resolve the issue. For instance I just can't get awn to work in slack no matter what instructions I follow.
    As a side note, try sbopkg for building and installing slackbuilds. It's an awesome bit of kit that makes installing extra packages in slack a breeze:-

    http://www.sbopkg.org/
     
  3. cgeek

    cgeek Registered Member

    Joined:
    Mar 31, 2010
    Posts:
    328
    I have taken your advice and installed sbopkg. Thank you! :thumb:
    Now I just have to get my wireless card up and running. :doubt:
     
  4. chrisretusn

    chrisretusn Registered Member

    Joined:
    Jun 16, 2004
    Posts:
    1,322
    Location:
    Philippines
    Preface the ProgName.SlackBuild script with "./"

    Example:

    Code:
    root@racermach:/home/non_slack/slackbuilds/ProgName# ./ProgName.SlackBuild
     
  5. cgeek

    cgeek Registered Member

    Joined:
    Mar 31, 2010
    Posts:
    328
    I tried another script and you are correct. Thank you chrisretusn! ;)
     
  6. chrisretusn

    chrisretusn Registered Member

    Joined:
    Jun 16, 2004
    Posts:
    1,322
    Location:
    Philippines
    Your welcome.

    You can also use the full path name.
     
Loading...
Thread Status:
Not open for further replies.