John Gnew wrote:
> Jim Gifford wrote:
>   
>> John Gnew wrote:
>>   
>>     
>>> I am attempting to build LFS62 on a s390 system.
>>>
>>> The configure seems to not be able to understand that the system is 
>>> s390-ibm-linux-gnu.
>>>
>>> The following are some lines that seem to be a problem running ./configure
>>>
>>> /configure --prefix=/tools --with-tclinclude=/tools/include --with-x=no
>>>
>>> configuring Expect 5.43.0
>>> checking for autoconf... yes
>>> checking configure up to date... yes
>>> checking host system type... Invalid configuration `s390-ibm-linux': 
>>> machine `s390-ibm' not recognized
>>>
>>> checking target system type... Invalid configuration `s390-ibm-linux': 
>>> machine `s390-ibm' not recognized
>>>
>>> checking build system type... Invalid configuration `s390-ibm-linux': 
>>> machine `s390-ibm' not recognized
>>>
>>>
>>>
>>> This is the last line from ./configure
>>>
>>> checking if WNOHANG requires _POSIX_SOURCE... configure: error: Expect 
>>> can't be cross compiled
>>>
>>> --------------------------------------------------------------------------------------------------------
>>>  
>>>
>>>
>>> uname -a
>>>
>>> Linux gltgnew 2.6.15.1 #1 SMP PREEMPT Mon Jan 30 15:43:18 CST 2006 s390 
>>> unknown unknown GNU/Linux
>>>
>>> ---------------------------------------------------------------------------------------------------------
>>>  
>>>
>>>
>>> This is not a cross compile because I am already running on s390.
>>> Maybe expect just simply can not be compiled on s390.
>>>
>>> Any ideas?
>>>
>>> John     
>>> _______________________________________________
>>> Clfs-support mailing list
>>> [email protected]
>>> http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
>>>   
>>>     
>>>       
>> You will probably need to update your config.guess and config.sub, copy 
>> them from binutils.
>>   
>>     
> I copied config.guess and config.sub. The config.sub corrected the 
> invalid configuration stuff but I'm still left with:
>
> checking if WNOHANG requires _POSIX_SOURCE... configure: error: Expect
> can't be cross compiled.
>
> Maybe the tool chain is wrong. Any other thoughts?
> _______________________________________________
>   
I redid the sed to change /lib to /lib/tools in the specfile. Now the 
configure and make ran just fine.

There are two libs and this time I only changed one. I left the m64 
entry alone and only changed m31.

{m31:-dynamic-linker /lib/ld.so.1}

{m64:-dynamic-linker /lib/ld64.so.1}


_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support

Reply via email to