DRC wrote: > Antoine Martin wrote: >> 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. >> [...] > > Is this from a fresh SVN checkout? If not, then try blowing away the > autom4ate.cache directory. This is from the 1.0 tarball using some automated build scripts (so it is a clean tree every time), it's calling ./build-xorg-7.4 so I don't get a chance to zap the autom4ate.cache.
If I manually call /usr/local/bin/libtool rather than ../libtool (or move it out of the way and symlink it) Then it compiles that file ok, but I can't do that for every directory for every distro that I need to build for... I found this in m4/libtool.m4: # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' AC_SUBST(LIBTOOL)dnl But I don't know how to tell it to just use /usr/local/bin/libtool Any suggestions welcome.. >> 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 > > This warning is normal. I get it all the time when building TigerVNC. > The build should still work, unless there's another error somewhere. > Hmmm, this is all I have recorded from that failure: libtool: compile: ignoring unknown tag NASM libtool: compile: ./nasm_lt.sh nasm -felf -DELF jccolmmx.asm -fPIC -DPIC -o .libs/jccolmmx.o nasm -felf -DELF jccolmmx.asm -DPIC -o .libs/jccolmmx.o jcclrmmx.asm:368: error: mismatch in operand sizes jcclrmmx.asm:369: error: mismatch in operand sizes [then the build stops] Do I need to upgrade nasm too? 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