[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Some problems with automake/autoconf



Try updating your config.sub and config.guess from autotools-dev.

* Stephen Gran (steve@lobefin.net) wrote:
> Hello all,
> 
> I am having a problem with one of my packages failing on s390.  It
> builds fine on other architectures (except where I messed up with a bad
> build-depends on a build-essential).  The problem with s390 is here:
> 
> # Add here commands to configure the package.
> ./configure --host=s390-linux --build=s390-linux \ 
> ./config.cache 
>  
> checking host system type... Invalid configuration `s390-linux': machine `s390' not recognized
> 
> checking target system type... Invalid configuration `s390-linux': machine `s390' not recognized
>  
> checking build system type... Invalid configuration `s390-linux': machine `s390' not recognized
>  
> <snip>
>  
> updating cache ./config.cache
> loading cache ./config.cache within ltconfig
> ltconfig: you must specify a host type if you use `--no-verify'
> Try `ltconfig --help' for more information.
> configure: error: libtool configure failed
> make: *** [config.status] Error 1
> 
> It looked to me like automake/autoconf aren't correctly
> parsing the string passed to them by dpkg-architecture (from
> debian/rules), so I wrote to my sponsor about it.  He wrote back:
> 
> > It seems like an autoconf/automake problem.
> > Try in order
> 
> > make distclean
> > aclocal
> > automake
> > autoheaders
> > autoconf
> 
> > to rebuild things with autoconf2.13 and automake1.4. 
> > See also some past problems about autoconf/automake compatibilities
> > on debian-devel
> 
> and I have done so, but this just makes the build fail altogether with a
> lot of undefined refernces to functions.  This package won't build at
> all with autoconf2.52, and so I'm explicitly build-depending on
> autoconf2.13.  The complete build-log is at:
> http://buildd.debian.org/fetch.php?&pkg=kcdlabel&ver=2.7-1&arch=s390&stamp=1035140946&file=log&as=raw
> and source can be downloaded from
> http://www.lobefin.net/~steve/debian/pool/main/ - this is the fixed
> version that doesn't depend on build-essentials.  If anyone has any
> suggestions, I am all ears.  automake is not one of my strengths, and I
> would like to sort this out.
> 
> Thanks,
> Steve
> 



-- 
Eric Dorland <dorland@lords.com>
ICQ: #61138586, Jabber: hooty@jabber.com
1024D/16D970C6 097C 4861 9934 27A0 8E1C  2B0A 61E9 8ECF 16D9 70C6

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s++: a-- C+++ UL+++ P++ L++ E++ W++ N+ o K- w+ 
O? M++ V-- PS+ PE Y+ PGP++ t++ 5++ X+ R tv++ b+++ DI+ D+ 
G e h! r- y+ 
------END GEEK CODE BLOCK------

Attachment: pgp8nFEOBiSNw.pgp
Description: PGP signature


Reply to: