cd tigervnc*
mkdir linux
pushd linux
sh ../unix/build-xorg init -version 7.4
XORGCFGFLAGS="--with-dri-driver-path=/opt/TigerVNC/lib/dri" sh
../unix/build-xorg build -version 7.4 -static --host i686-pc-linux-gnu
CC=gcc4 CXX=g++4 CFLAGS='-m32 -O3' CXXFLAGS='-m32 -O3'
GNUTLS_CFLAGS=-I/opt/gnutls/linux/include
GNUTLS_LDFLAGS='/opt/gnutls/linux/lib/libgnutls.a
/opt/gnutls/linux/lib/libgcrypt.a /opt/gnutls/linux/lib/libtasn1.a
/opt/gnutls/linux/lib/libgpg-error.a'
sudo make servertarball
popd
mkdir linux64
pushd linux64
sh ../unix/build-xorg init -version 7.4
XORGCFGFLAGS="--with-dri-driver-path=/opt/TigerVNC/lib/dri" sh
../unix/build-xorg build -version 7.4 -static CC=gcc4 CXX=g++4
GNUTLS_CFLAGS=-I/opt/gnutls/linux64/include
GNUTLS_LDFLAGS='/opt/gnutls/linux64/lib/libgnutls.a
/opt/gnutls/linux64/lib/libgcrypt.a /opt/gnutls/linux64/lib/libtasn1.a
/opt/gnutls/linux64/lib/libgpg-error.a'
sudo make servertarball
popd
The GNUTLS_* variables are irrelevant to your problem and can be left out.
On 3/17/11 12:47 PM, Brian Hinz wrote:
> I'm sorry to be such a PITA, but could you post your exact build
> script? Even with NASM 2.07 I get the same results. The only other
> thing I've come across is that if I set the encoding type in the viewer
> to hextile, rather than autoselect the server bails out with:
>
> VNCSConnST: Client pixel format depth 24 (32bpp) little-endian rgb888
> Xvnc:
> /projects/bphinz/apps/tigervnc/1_1/common/rfb/hextileEncodeBetter.h:138:
> void rfb::HextileTile32::analyse(): Assertion `m_tile && m_width &&
> m_height' failed.
>
> Note that "/projects/bphinz/apps/tigervnc/1_1" is the source dir. Aside
> from adding "export CC=/usr/bin/gcc4", "export CXX=/usr/bin/g++4", and
> "--with-fontdir=/usr/lib/X11/fonts --disable-ipv6" to the XORGCFGFLAGS
> line in ${source_dir}/unix/buid-xorg, the only change that I made was to
> add a patch to the ${source_dir}/unix/xorg-7.4-patches dir which
> concatenates the m4 macros for PKG_PROG_PKGCONFIG, PKG_CHECK_EXISTS,
> _PKG_CONFIG, _PKG_SHORT_ERRORS_SUPPORTED, and PKG_CHECK_MODULES to
> ${build_dir}/xorg/xserver/acinclude.m4. Without this, configure fails
> in the xserver with:
>
> ...
> ./configure: line 19663: PKG_PROG_PKG_CONFIG: command not found
> checking for flex... flex
> ...
> ...
> checking for backtrace in -lc... yes
> ./configure: line 26029: syntax error near unexpected token `libdrm,'
> ./configure: line 26029: ` PKG_CHECK_EXISTS(libdrm, DRI=yes,
> DRI=no)'
> ...
>
> (I'm curious why you don't see these same failures?)
>
> Otherwise, I just ran:
> cd ${source_dir}
> autoreconf -fiv
> cd ${build_dir}
> sh ${source_dir}/unix/build-xorg init -version 7.4
> sh ${source_dir}/unix/build-xorg build -version 7.4 -static --enable-pam
> --enable-gnutls
>
> Thanks,
> -brian
>
>
> On Wed, Mar 16, 2011 at 11:42 PM, DRCwrote:
>
> YASM is probably the largest part of your problem. It is known not to
> produce correct code when building the 64-bit version of libjpeg-turbo.
> Earlier versions of NASM had the same problem (you have to use NASM
> 2.05 and later.) Read BUILDING.txt for instructions on how to build a
> NASM 2.05 RPM from the SRPM.
>
> As far as autotools, I'm using the unaltered RPMs from CentOS 4.8.
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Tigervnc-devel mailing list
> [email protected]
> <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/tigervnc-devel
>
>
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
>
>
>
> _______________________________________________
> Tigervnc-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tigervnc-devel
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Tigervnc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel