On 8/24/11 2:04 AM, Martin Koegler wrote: > I'm trying to build a debian package for tigervnc reusing the distribution > xserver sources. > > To your commited build options patch: > > In my case, I put the xserver sources under the tigervnc sources > (unix/xserver-XXX) > and build the X server in the cmake build directory too (seperate directories > for xserver sources/binaries). > The build system only add ../../include [include of the build directory], not > include of the xserver sources. > XSERVERLIBS_CFLAGS does not contains this include directory, therefore my > build still fails. I'm missing $(top_srcdir)/include > in the include path.
When I tried this approach, at first I got the following error: LINK libdix.la /home/drc/worksrc/tigervnc/linux64.rhel6/xorg/xserver/dix/../libtool: line 666: X--tag=CC: command not found /home/drc/worksrc/tigervnc/linux64.rhel6/xorg/xserver/dix/../libtool: line 699: libtool: ignoring unknown tag : command not found /home/drc/worksrc/tigervnc/linux64.rhel6/xorg/xserver/dix/../libtool: line 666: X--tag=CC: command not found /home/drc/worksrc/tigervnc/linux64.rhel6/xorg/xserver/dix/../libtool: line 699: libtool: ignoring unknown tag : command not found /home/drc/worksrc/tigervnc/linux64.rhel6/xorg/xserver/dix/../libtool: line 666: X--mode=link: command not found /home/drc/worksrc/tigervnc/linux64.rhel6/xorg/xserver/dix/../libtool: line 816: *** Warning: inferring the mode of operation is deprecated.: command not found /home/drc/worksrc/tigervnc/linux64.rhel6/xorg/xserver/dix/../libtool: line 817: *** Future versions of Libtool will require -mode=MODE be specified.: command not found /home/drc/worksrc/tigervnc/linux64.rhel6/xorg/xserver/dix/../libtool: line 847: libtool: warning: cannot infer operation mode from `/bin/sh': No such file or directory /home/drc/worksrc/tigervnc/linux64.rhel6/xorg/xserver/dix/../libtool: line 6599: libtool: you must specify a MODE: command not found /home/drc/worksrc/tigervnc/linux64.rhel6/xorg/xserver/dix/../libtool: line 6600: Try `libtool --help' for more information.: command not found make[2]: *** [libdix.la] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1 I had to hack libtool, per this message thread: http://lists.openmoko.org/nabble.html#nabble-td1577166, and replace ECHO="echo" with echo="echo" to make it work. Not sure why. At any rate, I was able to reproduce the original issue after that, and I checked in your patch to fix it. ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Tigervnc-devel mailing list Tigervnc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-devel