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
[...]

So I tried to install libtool version 2 in /usr/local whilst keeping 1
in /usr:
make[3]: Entering directory `/usr/src/tigervnc-1.0.0/common/os'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I..   -DHAVE_COMMON_CONFIG_H   -g -O2 -Wall -MT print.lo -MD -MP -MF
.deps/print.Tpo -c
 -o print.lo print.c
../libtool: line 467: CDPATH: command not found
../libtool: line 1145: func_opt_split: command not found
libtool: Version mismatch error.  This is libtool 2.2.6, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
libtool: and run autoconf again.
[...]

So then I removed version 1 completely, but I got:
gcc -E jsimdcfg.inc.h | grep ^[\;%] | sed 's%_cpp_protection_%%' >
jsimdcfg.inc
make  all-am
make[6]: Entering directory `/usr/src/tigervnc-1.0.0/common/jpeg/simd'
/bin/bash ../libtool --mode=compile --tag NASM ./nasm_lt.sh nasm -felf
-DELF jsimdcpu.asm -o jsimdcpu.lo
libtool: compile: ignoring unknown tag NASM
libtool: compile:  ./nasm_lt.sh nasm -felf -DELF jsimdcpu.asm  -fPIC
-DPIC -o .libs/jsimdcpu.o
nasm -felf -DELF jsimdcpu.asm -DPIC -o .libs/jsimdcpu.o

Has anyone encountered this before? How do I resolve this?

Thanks
Antoine


------------------------------------------------------------------------------
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