LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 10-30-2008, 11:09 AM   #1
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,958
Blog Entries: 52

Rep: Reputation: Disabled
Problem with yafray.SlackBuild


What's going on here?
Code:
root@BrisSGL2:/home/brian/Downloads/yafray# chmod +x yafray.SlackBuild
chmod: cannot access `yafray.SlackBuild': No such file or directory
root@BrisSGL2:/home/brian/Downloads/yafray# ls
README  slack-desc  yafray-0.0.9.tar.gz  yafray.Slackbuild  yafray.info
brian@BrisSGL2:~/Downloads/yafray$ ls -l
total 332
-rw-r--r-- 1 brian users    301 2008-08-31 02:52 README
-rw-r--r-- 1 brian users    783 2008-08-31 02:52 slack-desc
-rw-r--r-- 1 brian users 316033 2008-10-30 13:36 yafray-0.0.9.tar.gz
-rwxr-xr-x 1 brian users   3068 2008-08-31 02:52 yafray.Slackbuild*
-rw-r--r-- 1 brian users    254 2008-08-31 02:52 yafray.info
brian@BrisSGL2:~/Downloads/yafray$ su root
Password:
root@BrisSGL2:/home/brian/Downloads/yafray# ./yafray.SlackBuild
bash: ./yafray.SlackBuild: No such file or directory
It's obviously there, but chmod can't see it. Strange?
 
Old 10-30-2008, 11:20 AM   #2
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 227Reputation: 227Reputation: 227
I wonder if the file has odd characters in it's name ? Have you tried tab completion to chmod it or mv it to something else ? Perhaps single quoting and globbing to achieve the same ?
 
Old 10-30-2008, 12:07 PM   #3
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,958
Blog Entries: 52

Original Poster
Rep: Reputation: Disabled
Thanks, bgeddy. Tab completion worked. Just typed in chmod +x ya<TAB>, got yafray, .Sl<TAB> and got SlackBuild. Then ./yaf<TAB>, and it completed and built. Never come across that before.
 
Old 10-30-2008, 12:09 PM   #4
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,436

Rep: Reputation: 93
Look closely
yafray.Slackbuild => exists
yafray.SlackBuild => does not exist
 
Old 10-30-2008, 12:22 PM   #5
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,958
Blog Entries: 52

Original Poster
Rep: Reputation: Disabled
Aaaah...YES!! Must get glasses changed!!! I'm that used to typing in SlackBuild, that I just took it for granted. (Brian kicks himself) Thanks, keefaz.
 
Old 10-30-2008, 12:26 PM   #6
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,436

Rep: Reputation: 93
It happens
Note however that official filenames for slackbuild scripts are <package>.SlackBuild
(eg uppercase B in Build)
Not a big deal though...
 
Old 10-30-2008, 12:55 PM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,958
Blog Entries: 52

Original Poster
Rep: Reputation: Disabled
Yeah, that's the first lower case b I've seen in SlackB...uh..builds.
 
Old 10-30-2008, 12:57 PM   #8
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Tab-autocomplete: I worship at thy alter!

In a non-religious manner, of course.
 
  


Reply


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 Problem: "configure.in" gregkedro Linux - Software 11 05-26-2008 09:30 AM
Slackbuild problem http:// Slackware 11 04-07-2008 10:46 PM
Problem installing mad-wifi slackbuild on new kernel der_11 Slackware 2 08-07-2007 01:14 AM
SlackBuild CrEsPo Slackware 2 03-19-2006 01:58 PM
blender/yafray picture :) schatoor General 12 03-03-2006 08:44 PM


All times are GMT -5. The time now is 07:40 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration