LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 12-19-2004, 06:15 PM   #1
nextone
LQ Newbie
 
Registered: Aug 2004
Distribution: RED HAT 9
Posts: 6

Rep: Reputation: 0
Question rpm -ba => -b : unknown option


Hi
I use Fedora Core3 : 2.6.9-1.681_FC3.

I tried to follow step by step max-rpm(tutorial) from Redhat.
Chapter 11 speak about *.spec files and how to build them to get binary and source.

[root@localhost SPECS]# rpm -ba imlib2.spec
-b: option iconnue

I don't understand why because when i type the man command for rpm; it lists all 'b' options :
-ba Construire les paquetages binaires et sources (après avoir
effectué les étapes %prep, %build et %install).

-bb Construire un paquetage binaire (après avoir effectué les
étapes %prep, %build et %install).

-bp Exécuter l’étape « %prep » du fichier de spécifications. Nor-
malement, ceci implique de dépaqueter les sources et d’appli-
quer tous les patches.

-bc Effectuer l’étape « %build » du fichier de spécifications
(après avoir effectué l’étape %prep). Cela implique en général
l’équivalent d’un « make ».

-bi Effectuer l’étape « %install » du fichier de spécifications
(après avoir effectué les étapes %prep et %build). Cela
implique généralement l’équivalent d’un « make install ».

-bl Accomplir une « vérification de liste ». La section « %files »
 
Old 12-20-2004, 07:16 PM   #2
mdh
Member
 
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 122

Rep: Reputation: 16
Wrong forum, you may want to post the the Fedora forum...

Linux From Scratch does not use RPM
 
Old 12-22-2004, 08:09 PM   #3
nextone
LQ Newbie
 
Registered: Aug 2004
Distribution: RED HAT 9
Posts: 6

Original Poster
Rep: Reputation: 0
Thumbs down If you don't know...read other posts

It's not a shame to not know.
The shame is when you want to appear as Linux guru.
 
Old 12-22-2004, 08:48 PM   #4
mdh
Member
 
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 122

Rep: Reputation: 16
If you want to use package management with the linux from scratch project, we can point you at hints
( hints.linuxfromscratch.org ) and provide information (or point you to the right people) on how to write
your own RPM specs and create your own SRPMS to do a build per the linux from scratch book instructions
(a few LFS'ers have done this).

Do note this forum is for the "linux from scratch" (LFS) project.
See http://www.linuxquestions.org/questi...threadid=95154

Personally I despise RPM. LFS is about manually bootstrapping a GNU/Linux system from scratch
using clean source.

I was just pointing out that if you are using Fedora and trying to build RPM's for Fedora,
you'll probably have better luck asking your question in a Fedora forum...

Regards
[R]
 
  


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
building .src.rpm -> unknown option gletare Fedora 2 11-05-2005 05:44 PM
rpm -bb unknown option nlardizabal Linux - Software 4 10-27-2005 11:44 AM
rpm --rebuild - unknown option? futz Linux - Newbie 8 08-03-2005 10:35 PM
rpm -bp command not working says "-bp: unknown option" Niceman2005 Linux - Software 2 11-08-2004 02:36 AM
rpm -bb : unknown option stevie_velvet Linux - Enterprise 4 09-08-2004 09:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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