LinuxQuestions.org
Review your favorite Linux distribution.
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 03-02-2012, 12:50 PM   #1
-Fay-
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
http://slackbuilds.org/repository/13...p/gtk-chtheme/

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

Code:
-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 gtk-chtheme.info
-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
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

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

Last edited by BroX; 03-02-2012 at 12:59 PM.
 
Old 03-02-2012, 01:01 PM   #3
-Fay-
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

Code:
bash: ./gtk-chtheme.SlackBuild: Permission denied
 
Old 03-02-2012, 01:59 PM   #4
Konphine
Member
 
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
-Fay-
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

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

Rep: Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377
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
-Fay-
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
 
  


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
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

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

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