This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Host Tools Build Problem - Fedora 8


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]