Hello Martin, as DRC stated build-xorg script should be used only on legacy platforms. It will be big overhead for us to support "one-script-for-all" build.
As a quick hint how to determine what is "legacy" and what isn't, you can check unix/xserver*.patch files. When your distro contains xorg server 1.5.X and newer, you should build Xvnc natively. Good example which parameters should be passed to ./configure is in the distribution xorg package. Older systems (xorg server 1.4.X and older, XFree86 etc) should use build-xorg script. Additionally Xvnc built with xorg-build script can contain many bugs (yeah, also security bugs) which are already fixed; good example is infamous key-repeating bug in our prebuilt Xvnc... I understand building of Xvnc is quite uncomfortable but this issue is inherited from upstream X.Org source. Regards, Adam On 04/28/2011 12:34 PM, Antoine Martin wrote: > Hi, > > In a previous comment it was noted that the build-xorg scripts are only > to be used when the host headers are too old. > So what is the correct way of building Xvnc using the host's headers? > Are there any instructions or scripts for doing that? > I am concerned that the builds I have made available are using the wrong > build method and may therefore have undesirable side effects. > > btw, as for fixing the build error I reported last month (which seems to > have slipped under the radar), the following patch does workaround the > issue on some platforms (debian sid for example), but is obviously not a > proper fix: > # cat tigervnc-trunk/unix/xorg-7.4-patches/0005-ldl-lpthread.patch > --- a/hw/vnc/Makefile.am 2011-04-27 18:05:16.112292001 +0000 > +++ b/hw/vnc/Makefile.am 2011-04-27 18:06:32.662285527 +0000 > @@ -5,7 +5,7 @@ > RDR_LIB=$(LIB_DIR)/rdr/librdr.la $(GNUTLS_LDFLAGS) > NETWORK_LIB=$(LIB_DIR)/network/libnetwork.la > XREGION_LIB=$(LIB_DIR)/Xregion/libXregion.la > -COMMON_LIBS=$(NETWORK_LIB) $(RFB_LIB) $(RDR_LIB) $(XREGION_LIB) > +COMMON_LIBS=$(NETWORK_LIB) $(RFB_LIB) $(RDR_LIB) $(XREGION_LIB) -ldl > -lpthread > > noinst_LTLIBRARIES = libvnccommon.la > > > Thanks > Antoine > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Tigervnc-devel mailing list > Tigervnc-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tigervnc-devel ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Tigervnc-devel mailing list Tigervnc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-devel