Re: configure --host= breaks libtool ?

2003-08-24 Thread Scott James Remnant
On Sun, 2003-08-24 at 04:51, Glenn McGrath wrote:

 Im having problems compiling libextractor on at least ia64 and m68k
 
 On those arch's dpkg-buildpackage fails with
 
 libtool: compile: unable to infer tagged configuration
 libtool: compile: specify a tag with `--tag'
 
libtool hasn't found a compiler capable of producing the cross-compile
you request (yes, you requested a cross-compile).

 In debian rules i am specifying host and build, so on ia64 configure is
 called with.
 
 ./configure --host=ia64-linux --build=ia64-linux  (..other stuff)
 
 If i run ./configure;make it compiles, but if i run ./configure
 --host=ia64-linux; make then i get the error.
 
*sigh* ...

If the configure script was generated with Autoconf 2.5x:

./configure --build=ia64-linux

or if it was generated with Autoconf 2.13:

./configure ia64-linux

 I cant see any other differences, anyone have any ideas ?
 
 Its using the latest autotools, including libtool 1.5-1
 
Install autotools-dev, ensure config.{sub,guess} are up to date from
that package.  Then run ./config.guess to see what triplet you should be
using, and pass that instead.

Then go and read Henrique's excellent
/usr/share/doc/autotools-dev/README.Debian.gz

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?


signature.asc
Description: This is a digitally signed message part


Re: configure --host= breaks libtool ?

2003-08-24 Thread Glenn McGrath
 Then go and read Henrique's excellent
 /usr/share/doc/autotools-dev/README.Debian.gz

I added the following to my rules file from his README and all is well.
# FOR AUTOCONF 2.52 AND NEWER ONLY
ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
  confflags += --build $(DEB_HOST_GNU_TYPE)
else
  confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
endif

I still dont understand what the problem was, config.[guess|sub] were
upto date, the same gcc was being used, configure resolved build and
host the same way, and it worked in testing.

There must be a bug in there somewhere.

(brain dump)

All is well.


Glenn