LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   rpm -ba => -b : unknown option (https://www.linuxquestions.org/questions/linux-from-scratch-13/rpm-ba-%3D-b-unknown-option-268160/)

nextone 12-19-2004 05:15 PM

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 »
:confused:

mdh 12-20-2004 06:16 PM

Wrong forum, you may want to post the the Fedora forum...

Linux From Scratch does not use RPM

nextone 12-22-2004 07:09 PM

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.

mdh 12-22-2004 07:48 PM

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]


All times are GMT -5. The time now is 05:45 PM.