LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-02-2012, 01:50 PM   #1
LQ Newbie
Registered: Mar 2012
Posts: 15

Rep: Reputation: 0
Slackbuild error {HELP}

Hey everyone im trying to build a slackbuild for gtk-chthemes, ive downloaded the source and the slackbuild from

and ive made "gtk-chtheme.SlackBuild" executable, but when i run
i get this
./gtk-chtheme.SlackBuild: Permission denied
here is the output of ls-l for the build directory

-rw-r--r-- 1 1016 users   281 May 27  2010 README
-rw-r--r-- 1 1016 users   398 Apr 15  2011 gtk-chtheme-0.3.1-new-api.patch
-rw-r--r-- 1 fay  users 18205 Jul 15  2010 gtk-chtheme-0.3.1.tar.bz2
-rw-r--r-- 1 1016 users  2873 Apr 15  2011 gtk-chtheme.SlackBuild
-rw-r--r-- 1 1016 users   327 Apr 15  2011
-rw-r--r-- 1 fay  users  2618 Apr 27  2011 gtk-chtheme.tar.gz
-rw-r--r-- 1 1016 users   824 May 27  2010 slack-desc
All of this is run as root. Any ideas/fixes to this?
Old 03-02-2012, 01:56 PM   #2
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current
Posts: 769

Rep: Reputation: 66
According to ls -l, the file is not executable:
-rw-r--r-- 1 1016 users  2873 Apr 15  2011 gtk-chtheme.SlackBuild
Try again to make gtk-chtheme.SlackBuild executable as follows:
chmod +x gtk-chtheme.SlackBuild

Last edited by BroX; 03-02-2012 at 01:59 PM.
Old 03-02-2012, 02:01 PM   #3
LQ Newbie
Registered: Mar 2012
Posts: 15

Original Poster
Rep: Reputation: 0
i already did that sorry should have made that clear, but i ran it again and still got

bash: ./gtk-chtheme.SlackBuild: Permission denied
Old 03-02-2012, 02:59 PM   #4
Registered: Jul 2011
Location: Phoenix, New York
Distribution: Slackware 13.37
Posts: 376

Rep: Reputation: 11
Are you running the SlackBuild script as a regular user? Try switching to root to see if it works afterwards.
Old 03-02-2012, 03:13 PM   #5
LQ Newbie
Registered: Mar 2012
Posts: 15

Original Poster
Rep: Reputation: 0
no im running as su

ive been scrolling through the slackbuild to see if anything would cause this but im fairly stumped, theres nothing in there that would cause this

btw is it possible that running chmod -x is not working? i ran it as

chmod -v -x gtk-chtheme.SlackBuild
and it gave me
mode of `gtk-chtheme.SlackBuild' retained as 0200 (-w-------)
Old 03-02-2012, 03:16 PM   #6
Senior Member
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,256

Rep: Reputation: 188Reputation: 188
Well just to be thorough, are you sure you did "chmod +x gtk-chtheme.Slackbuild" because in your above post you did "chmod -x"
Old 03-02-2012, 03:26 PM   #7
LQ Newbie
Registered: Mar 2012
Posts: 15

Original Poster
Rep: Reputation: 0
my good sir you are very correct, im on a new laptop and am not used to this keyboard, indeed i used - not + thankyou very much


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
slackbuild error how do I fix it rob.rice Slackware 3 11-30-2011 03:02 PM
[SOLVED] UTF-8 error during SlackBuild mdynac Slackware 5 07-10-2011 12:08 AM
Slackbuild handbrake error-[gtk.install] Error 2 Swift&Smart Slackware 8 08-17-2010 04:42 PM
[SOLVED] Texlive SlackBuild error brianL Slackware 6 05-30-2010 08:11 AM
go_openoffice SlackBuild error lipk Slackware 3 02-20-2010 09:33 AM

All times are GMT -5. The time now is 02:19 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration