Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   RPM Package Manager (http://www.linux-archive.org/rpm-package-manager/)
-   -   %setup (http://www.linux-archive.org/rpm-package-manager/129070-setup.html)

"Richard Shade" 07-21-2008 10:58 PM

%setup
 
I am rebuilding an rpm, half way thru I get :
checking host system type... Invalid configuration `x86_64-redhat-linux-gnu': machine `x86_64-redhat' not recognized
checking build system type... Invalid configuration `x86_64-redhat-linux-gnu': machine `x86_64-redhat' not recognized



configure is getting passed this: --host=x86_64-redhat-linux-gnu --build=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux
I
think this may be because of the options for the %setup macro, is there
a place I can find the definition of the options for %setup
--
Thanks,

Richard Shade
RightScale
http://www.rightscale.com/

_______________________________________________
Rpm-list mailing list
Rpm-list@redhat.com
https://www.redhat.com/mailman/listinfo/rpm-list

Jos Vos 07-22-2008 06:12 AM

%setup
 
On Mon, Jul 21, 2008 at 05:58:14PM -0500, Richard Shade wrote:

> I am rebuilding an rpm, half way thru I get :
> checking host system type... Invalid configuration
> `x86_64-redhat-linux-gnu': machine `x86_64-redhat' not recognized
> checking build system type... Invalid configuration
> `x86_64-redhat-linux-gnu': machine `x86_64-redhat' not recognized
>
> configure is getting passed this: --host=x86_64-redhat-linux-gnu
> --build=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux
> I think this may be because of the options for the %setup macro, is there a
> place I can find the definition of the options for %setup

%setup does only unpack, but %configure runs ./configure with several
options. Do "rpm --eval '%configure'" to see what command is used.

--
-- Jos Vos <jos@xos.nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204

_______________________________________________
Rpm-list mailing list
Rpm-list@redhat.com
https://www.redhat.com/mailman/listinfo/rpm-list


All times are GMT. The time now is 09:59 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.