LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-19-2007, 10:06 AM   #1
teddyt
Member
 
Registered: Dec 2007
Location: US
Distribution: Slackware 12.1
Posts: 119

Rep: Reputation: 15
fedora-buildrpmtree: command not found


I have Fedora 7 on one computer and Fedora 8 on another. In Fedora 7, if I use the following commands, everything works as expected:

# yum groupinstall "Development Tools"
# yum install fedora-rpmdevtools
# fedora-buildrpmtree

In Fedora 8, the first two commands run without problems. The last gives me the error

-bash: fedora-buildrpmtree: command not found

I need to package a few programs for distribution to colleagues. This is my first attempt at making rpm's, so I could be missing something obvious.
 
Old 12-19-2007, 10:46 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Looks like the /usr/bin directory is not part of your normal users path and you used su instead of su - to become root.

Root has no need for fedora-buildrpmtree as root can build rpms just fine already. The fedora-buildrpmtree is so normal users can build rpm packages without having to be root. As your normal user then from the virtual console or xterm session type:

/usr/bin/fedora-buildrpmtree

And a new directory (folder) will appear named rpmbuild which has the same sub-directory structure as the /usr/src/redhat directory.
 
  


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
Fedora Core 6 boot No medium found No volume groups found awadhut Linux - Hardware 1 02-22-2007 01:15 AM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-27-2006 11:57 PM
Logging in Error in Fedora 5, /etc/bashrc command not found EmmaTheViking Linux - Newbie 10 05-24-2006 11:59 PM
bash: <command name> command not found smash Programming 5 03-13-2006 08:48 AM

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

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