On Mon, 26 Oct 2009 16:19:42 +0700
Antoine Martin <anto...@nagafix.co.uk> wrote:

> Hi,
> 
> I was trying to build some .debs and encountered an issue with old
> distros (ie: Ubuntu Hardy, Debian Lenny) that ship with libtool
> version 1.5:
> 
> make[1]: Entering directory `/usr/src/tigervnc-1.0.0/unix/tx'
> /bin/sh ../libtool --tag=CXX   --mode=compile g++
> -DPACKAGE_NAME=\"tigervnc\" -DPACKAGE_TARNAME=\"tigervnc\"
> -DPACKAGE_VERSION=\"1.0.0\" -DPACKAGE_STRING=\"t
> igervnc\ 1.0.0\" -DPACKAGE_BUGREPORT=\"http://www.tigervnc.org\";
> -DPACKAGE=\"tigervnc\" -DVERSION=\"1.0.0\" -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_
> STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -D
> LT_OBJDIR=\".libs/\" -DHAVE_ICONV=1 -I.  -I../../common     -g -O2
> -Wall -MT libtx_la-TXWindow.lo -MD -MP -MF .deps/libtx_la-TXWindow.Tpo
> -c -o libtx_la-TXWi
> ndow.lo `test -f 'TXWindow.cxx' || echo './'`TXWindow.cxx
> ../libtool: line 841: X--tag=CXX: command not found
> ../libtool: line 874: libtool: ignoring unknown tag : command not found
> ../libtool: line 841: X--mode=compile: command not found
> [...]
> 

This occurs when the macros in ./configure are from a different version
than ./ltmain.sh. Basically you've executed aclocal/autoconf with one
version of libtool and libtoolize with another version.

If you rerun

autoreconf --force
libtoolize --force

then things should sort themselves out.

Rgds
-- 
Pierre Ossman            OpenSource-based Thin Client Technology
System Developer         Telephone: +46-13-21 46 00
Cendio AB                Web: http://www.cendio.com

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to