public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* RE: [ECOS] Host Tools Build Problem - Fedora 8
@ 2007-11-30 19:39 Jay Foster
  2007-11-30 20:26 ` Sergei Gavrikov
  0 siblings, 1 reply; 8+ messages in thread
From: Jay Foster @ 2007-11-30 19:39 UTC (permalink / raw)
  To: 'Gary Thomas', Jay Foster; +Cc: ecos-discuss

Thanks, Gary.  I can now report success in building the ecosconfig tool.  I
needed to install the TCL and TK development packages (yum install
tcl-devel, yum install tk-devel).  The --host error was happening in the
gprof configure directory, which I don't need, so I only ran configure in
the host directory which worked.  Turns out it worked with the
--host=i686-linux-gnu and without, producing the exact same executable
either way.

Jay

-----Original Message-----
From: Gary Thomas [mailto:gary@mlbassoc.com]
Sent: Friday, November 30, 2007 10:10 AM
To: Jay Foster
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Host Tools Build Problem - Fedora 8


Jay Foster wrote:
> The existing tools are built agains TCL/TK 8.3 which are not on the new
> system.
> I tried --host=i686-linux-gnu, and it now no longer complains about the
> x86_64 stuff.  But as I suspected, it now can't find the TCL/TK
> (tclConfig.sh/tkConfig.sh).  Did these files get removed in version 8.4?

I think you need to install the TK development packages.

You can probably also just fake it
  # ln -s /usr/lib/libtcl8.{4,3}.so
  # ln -s /usr/lib/libtk8.{4,3}.so

Alternatively, I have RPM packages built on Fedora 7 I could give you.

> -----Original Message-----
> From: Gary Thomas [mailto:gary@mlbassoc.com]
> Sent: Friday, November 30, 2007 9:27 AM
> To: Jay Foster
> Cc: ecos-discuss@ecos.sourceware.org
> Subject: Re: [ECOS] Host Tools Build Problem - Fedora 8
> 
> 
> Jay Foster wrote:
>> Yes, but there seems to be some 'sub-configures' that aren't getting the
>> --host= argument passed to them, and do the guess host thing, which
> guesses
>> x86_64-unknown-linux-gnu again, which fails.
>>
>> I'm also concerned that even if I could get past this, it would fail
> finding
>> TCL and TK, since there doesn't seem to be a tclConfig.sh or tkConfig.sh
>> file anywhere on the installation.  Yes, I did install TCL and TK
(version
>> 8.4).
> 
> I don't have an x86_64 system installed here (I run simple x86 kernel
> on my AMD/64 boxes), so I can't test this.
> 
> Is there something in particular you need to [re]build the host tools for?
> 
>> -----Original Message-----
>> From: Gary Thomas [mailto:gary@mlbassoc.com]
>> Sent: Friday, November 30, 2007 9:08 AM
>> To: Jay Foster
>> Cc: ecos-discuss@ecos.sourceware.org
>> Subject: Re: [ECOS] Host Tools Build Problem - Fedora 8
>>
>>
>> Jay Foster wrote:
>>> I'm trying to build the host tools (ecosconfig, et al) on a new install
> of
>>> Fedora 8 (x86_64).  I am getting the following error when running
>> configure:
>>> 	checking build system type... Invalid configuration
>>> `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized.
>>>
>>> I tried adding --host=x86_64-linux-gnu to the configure options, but it
>>> seems that the configure script isn't passing this down to the
>>> sub-configures, and I end up with the same error further on.  I'm sure
>>> someone has built these tools on a x86_64 linux architecture that could
>>> provide me with the solution to this problem.
>> I'd be a little surprised if someone had :-)
>>
>> Did you try forcing the host to be just x86-linux-gnu?  The
>> process will probably work just as well with that setting.
>>
> 
> 


-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ECOS] Host Tools Build Problem - Fedora 8
  2007-11-30 19:39 [ECOS] Host Tools Build Problem - Fedora 8 Jay Foster
@ 2007-11-30 20:26 ` Sergei Gavrikov
  0 siblings, 0 replies; 8+ messages in thread
From: Sergei Gavrikov @ 2007-11-30 20:26 UTC (permalink / raw)
  To: Jay Foster; +Cc: 'Gary Thomas', ecos-discuss

On Fri, Nov 30, 2007 at 10:45:49AM -0800, Jay Foster wrote:
> Thanks, Gary.  I can now report success in building the ecosconfig tool.  I
> needed to install the TCL and TK development packages (yum install
> tcl-devel, yum install tk-devel).  The --host error was happening in the
> gprof configure directory, which I don't need, so I only ran configure in
> the host directory which worked.  Turns out it worked with the
> --host=i686-linux-gnu and without, producing the exact same executable
> either way.

$ .../configure --with-tcl-version=8.4 ...

to force a change of arch. set, it seems, you can build the stuff as

make CFLAGS="-march=i686" CXXFLAGS="-march=i686" 

or

make CXXFLAGS="-march=i486 -mtune=pentium4" ...

etc.

$ ls -1d /usr/lib/i{3,4,5,6}86*


Sergei

> 
> Jay
> 
> -----Original Message-----
> From: Gary Thomas [mailto:gary@mlbassoc.com]
> Sent: Friday, November 30, 2007 10:10 AM
> To: Jay Foster
> Cc: ecos-discuss@ecos.sourceware.org
> Subject: Re: [ECOS] Host Tools Build Problem - Fedora 8
> 
> 
> Jay Foster wrote:
> > The existing tools are built agains TCL/TK 8.3 which are not on the new
> > system.
> > I tried --host=i686-linux-gnu, and it now no longer complains about the
> > x86_64 stuff.  But as I suspected, it now can't find the TCL/TK
> > (tclConfig.sh/tkConfig.sh).  Did these files get removed in version 8.4?
> 
> I think you need to install the TK development packages.
> 
> You can probably also just fake it
>   # ln -s /usr/lib/libtcl8.{4,3}.so
>   # ln -s /usr/lib/libtk8.{4,3}.so
> 
> Alternatively, I have RPM packages built on Fedora 7 I could give you.
> 
> > -----Original Message-----
> > From: Gary Thomas [mailto:gary@mlbassoc.com]
> > Sent: Friday, November 30, 2007 9:27 AM
> > To: Jay Foster
> > Cc: ecos-discuss@ecos.sourceware.org
> > Subject: Re: [ECOS] Host Tools Build Problem - Fedora 8
> > 
> > 
> > Jay Foster wrote:
> >> Yes, but there seems to be some 'sub-configures' that aren't getting the
> >> --host= argument passed to them, and do the guess host thing, which
> > guesses
> >> x86_64-unknown-linux-gnu again, which fails.
> >>
> >> I'm also concerned that even if I could get past this, it would fail
> > finding
> >> TCL and TK, since there doesn't seem to be a tclConfig.sh or tkConfig.sh
> >> file anywhere on the installation.  Yes, I did install TCL and TK
> (version
> >> 8.4).
> > 
> > I don't have an x86_64 system installed here (I run simple x86 kernel
> > on my AMD/64 boxes), so I can't test this.
> > 
> > Is there something in particular you need to [re]build the host tools for?
> > 
> >> -----Original Message-----
> >> From: Gary Thomas [mailto:gary@mlbassoc.com]
> >> Sent: Friday, November 30, 2007 9:08 AM
> >> To: Jay Foster
> >> Cc: ecos-discuss@ecos.sourceware.org
> >> Subject: Re: [ECOS] Host Tools Build Problem - Fedora 8
> >>
> >>
> >> Jay Foster wrote:
> >>> I'm trying to build the host tools (ecosconfig, et al) on a new install
> > of
> >>> Fedora 8 (x86_64).  I am getting the following error when running
> >> configure:
> >>> 	checking build system type... Invalid configuration
> >>> `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized.
> >>>
> >>> I tried adding --host=x86_64-linux-gnu to the configure options, but it
> >>> seems that the configure script isn't passing this down to the
> >>> sub-configures, and I end up with the same error further on.  I'm sure
> >>> someone has built these tools on a x86_64 linux architecture that could
> >>> provide me with the solution to this problem.
> >> I'd be a little surprised if someone had :-)
> >>
> >> Did you try forcing the host to be just x86-linux-gnu?  The
> >> process will probably work just as well with that setting.
> >>
> > 
> > 
> 
> 
> -- 
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
> 
> -- 
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ECOS] Host Tools Build Problem - Fedora 8
  2007-11-30 18:12 Jay Foster
@ 2007-11-30 18:56 ` Gary Thomas
  0 siblings, 0 replies; 8+ messages in thread
From: Gary Thomas @ 2007-11-30 18:56 UTC (permalink / raw)
  To: Jay Foster; +Cc: ecos-discuss

Jay Foster wrote:
> The existing tools are built agains TCL/TK 8.3 which are not on the new
> system.
> I tried --host=i686-linux-gnu, and it now no longer complains about the
> x86_64 stuff.  But as I suspected, it now can't find the TCL/TK
> (tclConfig.sh/tkConfig.sh).  Did these files get removed in version 8.4?

I think you need to install the TK development packages.

You can probably also just fake it
  # ln -s /usr/lib/libtcl8.{4,3}.so
  # ln -s /usr/lib/libtk8.{4,3}.so

Alternatively, I have RPM packages built on Fedora 7 I could give you.

> -----Original Message-----
> From: Gary Thomas [mailto:gary@mlbassoc.com]
> Sent: Friday, November 30, 2007 9:27 AM
> To: Jay Foster
> Cc: ecos-discuss@ecos.sourceware.org
> Subject: Re: [ECOS] Host Tools Build Problem - Fedora 8
> 
> 
> Jay Foster wrote:
>> Yes, but there seems to be some 'sub-configures' that aren't getting the
>> --host= argument passed to them, and do the guess host thing, which
> guesses
>> x86_64-unknown-linux-gnu again, which fails.
>>
>> I'm also concerned that even if I could get past this, it would fail
> finding
>> TCL and TK, since there doesn't seem to be a tclConfig.sh or tkConfig.sh
>> file anywhere on the installation.  Yes, I did install TCL and TK (version
>> 8.4).
> 
> I don't have an x86_64 system installed here (I run simple x86 kernel
> on my AMD/64 boxes), so I can't test this.
> 
> Is there something in particular you need to [re]build the host tools for?
> 
>> -----Original Message-----
>> From: Gary Thomas [mailto:gary@mlbassoc.com]
>> Sent: Friday, November 30, 2007 9:08 AM
>> To: Jay Foster
>> Cc: ecos-discuss@ecos.sourceware.org
>> Subject: Re: [ECOS] Host Tools Build Problem - Fedora 8
>>
>>
>> Jay Foster wrote:
>>> I'm trying to build the host tools (ecosconfig, et al) on a new install
> of
>>> Fedora 8 (x86_64).  I am getting the following error when running
>> configure:
>>> 	checking build system type... Invalid configuration
>>> `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized.
>>>
>>> I tried adding --host=x86_64-linux-gnu to the configure options, but it
>>> seems that the configure script isn't passing this down to the
>>> sub-configures, and I end up with the same error further on.  I'm sure
>>> someone has built these tools on a x86_64 linux architecture that could
>>> provide me with the solution to this problem.
>> I'd be a little surprised if someone had :-)
>>
>> Did you try forcing the host to be just x86-linux-gnu?  The
>> process will probably work just as well with that setting.
>>
> 
> 


-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: [ECOS] Host Tools Build Problem - Fedora 8
@ 2007-11-30 18:12 Jay Foster
  2007-11-30 18:56 ` Gary Thomas
  0 siblings, 1 reply; 8+ messages in thread
From: Jay Foster @ 2007-11-30 18:12 UTC (permalink / raw)
  To: 'Gary Thomas', Jay Foster; +Cc: ecos-discuss

The existing tools are built agains TCL/TK 8.3 which are not on the new
system.
I tried --host=i686-linux-gnu, and it now no longer complains about the
x86_64 stuff.  But as I suspected, it now can't find the TCL/TK
(tclConfig.sh/tkConfig.sh).  Did these files get removed in version 8.4?

Jay

-----Original Message-----
From: Gary Thomas [mailto:gary@mlbassoc.com]
Sent: Friday, November 30, 2007 9:27 AM
To: Jay Foster
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Host Tools Build Problem - Fedora 8


Jay Foster wrote:
> Yes, but there seems to be some 'sub-configures' that aren't getting the
> --host= argument passed to them, and do the guess host thing, which
guesses
> x86_64-unknown-linux-gnu again, which fails.
> 
> I'm also concerned that even if I could get past this, it would fail
finding
> TCL and TK, since there doesn't seem to be a tclConfig.sh or tkConfig.sh
> file anywhere on the installation.  Yes, I did install TCL and TK (version
> 8.4).

I don't have an x86_64 system installed here (I run simple x86 kernel
on my AMD/64 boxes), so I can't test this.

Is there something in particular you need to [re]build the host tools for?

> -----Original Message-----
> From: Gary Thomas [mailto:gary@mlbassoc.com]
> Sent: Friday, November 30, 2007 9:08 AM
> To: Jay Foster
> Cc: ecos-discuss@ecos.sourceware.org
> Subject: Re: [ECOS] Host Tools Build Problem - Fedora 8
> 
> 
> Jay Foster wrote:
>> I'm trying to build the host tools (ecosconfig, et al) on a new install
of
>> Fedora 8 (x86_64).  I am getting the following error when running
> configure:
>> 	checking build system type... Invalid configuration
>> `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized.
>>
>> I tried adding --host=x86_64-linux-gnu to the configure options, but it
>> seems that the configure script isn't passing this down to the
>> sub-configures, and I end up with the same error further on.  I'm sure
>> someone has built these tools on a x86_64 linux architecture that could
>> provide me with the solution to this problem.
> 
> I'd be a little surprised if someone had :-)
> 
> Did you try forcing the host to be just x86-linux-gnu?  The
> process will probably work just as well with that setting.
> 


-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ECOS] Host Tools Build Problem - Fedora 8
  2007-11-30 17:27 Jay Foster
@ 2007-11-30 17:52 ` Gary Thomas
  0 siblings, 0 replies; 8+ messages in thread
From: Gary Thomas @ 2007-11-30 17:52 UTC (permalink / raw)
  To: Jay Foster; +Cc: ecos-discuss

Jay Foster wrote:
> Yes, but there seems to be some 'sub-configures' that aren't getting the
> --host= argument passed to them, and do the guess host thing, which guesses
> x86_64-unknown-linux-gnu again, which fails.
> 
> I'm also concerned that even if I could get past this, it would fail finding
> TCL and TK, since there doesn't seem to be a tclConfig.sh or tkConfig.sh
> file anywhere on the installation.  Yes, I did install TCL and TK (version
> 8.4).

I don't have an x86_64 system installed here (I run simple x86 kernel
on my AMD/64 boxes), so I can't test this.

Is there something in particular you need to [re]build the host tools for?

> -----Original Message-----
> From: Gary Thomas [mailto:gary@mlbassoc.com]
> Sent: Friday, November 30, 2007 9:08 AM
> To: Jay Foster
> Cc: ecos-discuss@ecos.sourceware.org
> Subject: Re: [ECOS] Host Tools Build Problem - Fedora 8
> 
> 
> Jay Foster wrote:
>> I'm trying to build the host tools (ecosconfig, et al) on a new install of
>> Fedora 8 (x86_64).  I am getting the following error when running
> configure:
>> 	checking build system type... Invalid configuration
>> `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized.
>>
>> I tried adding --host=x86_64-linux-gnu to the configure options, but it
>> seems that the configure script isn't passing this down to the
>> sub-configures, and I end up with the same error further on.  I'm sure
>> someone has built these tools on a x86_64 linux architecture that could
>> provide me with the solution to this problem.
> 
> I'd be a little surprised if someone had :-)
> 
> Did you try forcing the host to be just x86-linux-gnu?  The
> process will probably work just as well with that setting.
> 


-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: [ECOS] Host Tools Build Problem - Fedora 8
@ 2007-11-30 17:27 Jay Foster
  2007-11-30 17:52 ` Gary Thomas
  0 siblings, 1 reply; 8+ messages in thread
From: Jay Foster @ 2007-11-30 17:27 UTC (permalink / raw)
  To: 'Gary Thomas', Jay Foster; +Cc: ecos-discuss

Yes, but there seems to be some 'sub-configures' that aren't getting the
--host= argument passed to them, and do the guess host thing, which guesses
x86_64-unknown-linux-gnu again, which fails.

I'm also concerned that even if I could get past this, it would fail finding
TCL and TK, since there doesn't seem to be a tclConfig.sh or tkConfig.sh
file anywhere on the installation.  Yes, I did install TCL and TK (version
8.4).

Jay

-----Original Message-----
From: Gary Thomas [mailto:gary@mlbassoc.com]
Sent: Friday, November 30, 2007 9:08 AM
To: Jay Foster
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Host Tools Build Problem - Fedora 8


Jay Foster wrote:
> I'm trying to build the host tools (ecosconfig, et al) on a new install of
> Fedora 8 (x86_64).  I am getting the following error when running
configure:
> 
> 	checking build system type... Invalid configuration
> `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized.
> 
> I tried adding --host=x86_64-linux-gnu to the configure options, but it
> seems that the configure script isn't passing this down to the
> sub-configures, and I end up with the same error further on.  I'm sure
> someone has built these tools on a x86_64 linux architecture that could
> provide me with the solution to this problem.

I'd be a little surprised if someone had :-)

Did you try forcing the host to be just x86-linux-gnu?  The
process will probably work just as well with that setting.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ECOS] Host Tools Build Problem - Fedora 8
  2007-11-30 17:08 Jay Foster
@ 2007-11-30 17:17 ` Gary Thomas
  0 siblings, 0 replies; 8+ messages in thread
From: Gary Thomas @ 2007-11-30 17:17 UTC (permalink / raw)
  To: Jay Foster; +Cc: ecos-discuss

Jay Foster wrote:
> I'm trying to build the host tools (ecosconfig, et al) on a new install of
> Fedora 8 (x86_64).  I am getting the following error when running configure:
> 
> 	checking build system type... Invalid configuration
> `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized.
> 
> I tried adding --host=x86_64-linux-gnu to the configure options, but it
> seems that the configure script isn't passing this down to the
> sub-configures, and I end up with the same error further on.  I'm sure
> someone has built these tools on a x86_64 linux architecture that could
> provide me with the solution to this problem.

I'd be a little surprised if someone had :-)

Did you try forcing the host to be just x86-linux-gnu?  The
process will probably work just as well with that setting.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ECOS] Host Tools Build Problem - Fedora 8
@ 2007-11-30 17:08 Jay Foster
  2007-11-30 17:17 ` Gary Thomas
  0 siblings, 1 reply; 8+ messages in thread
From: Jay Foster @ 2007-11-30 17:08 UTC (permalink / raw)
  To: ecos-discuss; +Cc: Jay Foster

I'm trying to build the host tools (ecosconfig, et al) on a new install of
Fedora 8 (x86_64).  I am getting the following error when running configure:

	checking build system type... Invalid configuration
`x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized.

I tried adding --host=x86_64-linux-gnu to the configure options, but it
seems that the configure script isn't passing this down to the
sub-configures, and I end up with the same error further on.  I'm sure
someone has built these tools on a x86_64 linux architecture that could
provide me with the solution to this problem.

Jay


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-11-30 20:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-30 19:39 [ECOS] Host Tools Build Problem - Fedora 8 Jay Foster
2007-11-30 20:26 ` Sergei Gavrikov
  -- strict thread matches above, loose matches on Subject: below --
2007-11-30 18:12 Jay Foster
2007-11-30 18:56 ` Gary Thomas
2007-11-30 17:27 Jay Foster
2007-11-30 17:52 ` Gary Thomas
2007-11-30 17:08 Jay Foster
2007-11-30 17:17 ` Gary Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).