SCIENTIFIC-LINUX-USERS Archives

October 2004

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Tom Rockwell <[log in to unmask]>
Reply To:
Tom Rockwell <[log in to unmask]>
Date:
Thu, 28 Oct 2004 18:03:44 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (78 lines)
Hi,

Yeah, I tried that and get similar configure options.  However, the
configure also dies with this:

checking for x86_64-redhat-linux-gnu-gcc... no
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler
cannot create executables
See `config.log' for more details.

config.log has:

configure:2174: gcc -O2 -g -pipe -march=i386 -mcpu=i686   conftest.c  >&5
cc1: CPU you selected does not support x86-64 instruction set
cc1: CPU you selected does not support x86-64 instruction set

So it doesn't work as expected.  The configure options that rpmbuild
generates seem to conflict.

I note that the .i386.rpm files in the x86_64 directory of sl303 look to
be the same files as those in the i386 directory.  So, I guess the
distribution build procedure just copies those files from i386 to x86_64.

Cheers,
Tom Rockwell
Michigan State U.

Jaroslaw Polok wrote:

>Hi
>
>
>
>
>>Anyways, I recompiling the source rpm.  However, I don't know how to get
>>rpmbuild to produce the .i386.rpm.  How can I do this?
>>
>>
>
>In theory (on x86_64):
>
>rpmbuild --rebuild YOUR.src.rpm --target i386
>
>shall do ...
>
>In practice:
>
> rpmbuild --rebuild pango-1.2.5-2.0.src.rpm --target i386
>Installing pango-1.2.5-2.0.src.rpm
>Building target platforms: i386
>Building for target i386
>[...]
>+ ./configure --host=x86_64-redhat-linux-gnu
>--build=x86_64-redhat-linux-gnu --target=i386-redhat-linux-gnu
>--program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
>--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
>--includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec
>--localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man
>--infodir=/usr/share/info --without-qt --disable-gtk-doc
>[...]
>
>... so ... no luck ..
>
>I guess that easiest is to build on i?86 and just copy over
>(that;s what I do in any case ...)
>
>
>Jarek
>
>--
>-------------------------------------------------------
>_ Jaroslaw_Polok ___________________ CERN - IT/ADC/LE _
>_ http://home.cern.ch/~jpolok ___ tel_+41_22_767_1834 _
>_____________________________________ +41_78_792_0795 _
>
>

ATOM RSS1 RSS2