Help save net neutrality! Learn more.
Close

#35 build does not look at $DEST/include and fails

open
nobody
None
5
2007-06-04
2007-06-04
No

I'm trying to build the latest CVS head on a debian unstable system with the following commands:

#!/bin/bash

cp -a ~/cvs/cvs-xf4vnc/modular .
export DEST=/local/lindi/X11R6
export PKG_CONFIG_PATH=${DEST}/lib/pkgconfig:/usr/lib/pkgconfig
export ACLOCAL="aclocal -I ${DEST}/share/aclocal"
mkdir -p ${DEST}/share/aclocal
(
cd modular/src/proto/vncproto
./autogen.sh --prefix=${DEST}
make install
)

(
cd modular/src/proto/xcliplistproto
./autogen.sh --prefix=${DEST}
make install
)

(
cd modular/src/lib/libvnc
./autogen.sh --prefix=${DEST}
make install
)

(
cd modular/src/lib/libXcliplist
./autogen.sh --prefix=${DEST}
make install
)

(
cd modular/src/xserver
./autogen.sh --prefix=${DEST} --disable-dbus
make install
)

However, the build fails with the following error messages

Making install in vnc
make[4]: Entering directory `/local/lindi/debian/debian-xf4vnc/modular/src/xserver/hw/xfree86/vnc'
if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../hw/xfree86/common -I../../../hw/xfree86/os-support -I../../../hw/xfree86/os-support/bus -I../../../mi -I../../../render -I../../../GL/glx -I../../../GL/include -I../../../GL/include -I/include -DHAVE_XORG_CONFIG_H -DXFree86LOADER -DXFREE86VNC=1 -DCHROMIUM=1 -I/usr/include/drm -g -O2 -MT libvnc_la-auth.lo -MD -MP -MF ".deps/libvnc_la-auth.Tpo" -c -o libvnc_la-auth.lo `test -f 'auth.c' || echo './'`auth.c; \ then mv -f ".deps/libvnc_la-auth.Tpo" ".deps/libvnc_la-auth.Plo"; else rm -f ".deps/libvnc_la-auth.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../hw/xfree86/common -I../../../hw/xfree86/os-support -I../../../hw/xfree86/os-support/bus -I../../../mi -I../../../render -I../../../GL/glx -I../../../GL/include -I../../../GL/include -I/include -DHAVE_XORG_CONFIG_H -DXFree86LOADER -DXFREE86VNC=1 -DCHROMIUM=1 -I/usr/include/drm -g -O2 -MT libvnc_la-auth.lo -MD -MP -MF .deps/libvnc_la-auth.Tpo -c auth.c -fPIC -DPIC -o .libs/libvnc_la-auth.o
In file included from auth.c:32:
rfb.h:56:32: error: X11/extensions/vnc.h: No such file or directory
In file included from rfb.h:84,
from auth.c:32:
vncint.h:64: error: field 'interface' has incomplete type
In file included from auth.c:32:
rfb.h:130: error: field 'interface' has incomplete type
make[4]: *** [libvnc_la-auth.lo] Error 1
make[4]: Leaving directory `/local/lindi/debian/debian-xf4vnc/modular/src/xserver/hw/xfree86/vnc'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/local/lindi/debian/debian-xf4vnc/modular/src/xserver/hw/xfree86'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/local/lindi/debian/debian-xf4vnc/modular/src/xserver/hw/xfree86'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/local/lindi/debian/debian-xf4vnc/modular/src/xserver/hw'
make: *** [install-recursive] Error 1
Script done, file is build.log

real 11m7.463s
user 7m44.252s
sys 1m45.195s

The missing file vnc.h is under $DEST

$ find /local/lindi/X11R6|grep vnc.h
/local/lindi/X11R6/include/X11/extensions/vnc.h

but the build just does not seem to look there.

Discussion


Log in to post a comment.