Help answer threads with 0 replies.
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, 12: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, 12:56 PM   #2
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-current
Posts: 780

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 12:59 PM.
Old 03-02-2012, 01: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, 01: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, 02: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, 02:16 PM   #6
Senior Member
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.2
Posts: 1,504

Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
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, 02: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 02:02 PM
[SOLVED] UTF-8 error during SlackBuild mdynac Slackware 5 07-09-2011 11:08 PM
Slackbuild handbrake error-[gtk.install] Error 2 Swift&Smart Slackware 8 08-17-2010 03:42 PM
[SOLVED] Texlive SlackBuild error brianL Slackware 6 05-30-2010 07:11 AM
go_openoffice SlackBuild error lipk Slackware 3 02-20-2010 08:33 AM > Forums > Linux Forums > Linux - Distributions > Slackware

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