[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: '--target' not working



On Wed, 27 Sep 2000, Ian Pilcher wrote:

>Date: Wed, 27 Sep 2000 23:17:40 -0500
>From: Ian Pilcher <pilcher@concentric.net>
>To: rpm-list@redhat.com
>Content-Type: text/plain; charset=us-ascii
>Subject: '--target' not working
>
>This is really weird.  I've tweaked Red Hat's kernel SRPM, and I'm
>trying to rebuild it for my Pentium II system:
>
>[root@localhost SPECS]# rpm -bb --target i686 kernel-2.2.spec
>Building target platforms: --
>Building for target --
>File is not a regular file: /usr/src/redhat/SPECS/i686
                                             ^^^^^

>I've tried replacing the "i686" with "i686-linux" and
>"i686-unknown-linux" with basically the same result.
>
>Any ideas?  (This is RPM 4.0 as shipped with Red Hat 7.)

Your target arg is being ignored.  It is --target=xxxx, and you
do not have an "=", so it is interpreting "i686" as a spec file
name and looking for it in /usr/src/redhat/SPECS, hence the error
due to it not existing.

--target=i686

TTYL


--
         Mike A. Harris  -  Linux advocate  -  Open source advocate
                   Copyright 2000 all rights reserved
                               ----------
Microsoft Windows(tm). A thirty-two bit extension and graphical shell
to a sixteen bit patch to an eight bit operating system originally
coded for a four bit microprocessor which was written by a two-bit
company that can't stand one bit of competition.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []