On Fri, Feb 09, 2007 at 11:26:31AM -0600, 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 Try using an up-to-date config.guess and config.sub. For popular systems, we only have to do that (in cblfs) for old packages (e.g. jpeglib, and we can copy them from one of the auto* packages we installed earlier. Certainly, the version of expect is comparatively old. In your case, you haven't installed autotools yet. ISTR that the canonical versions of .guess and .sub are on the gnu site somewhere, but that they moved to a new location because the maintainer couldn't update the originals after his first commit.
So, you can either untar automake or autoconf and extract these files, or go searching the gnu site for the absolute latest. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce _______________________________________________ Clfs-support mailing list [email protected] http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
