• Bug#265694: swt-gtk: FTBFS: compile error: include files missing

    From Roland Stigge@1:229/2 to All on Sat Aug 14 16:00:10 2004
    From: [email protected]

    Package: swt-gtk
    Severity: serious

    Hi,

    trying to build the package in a clean environment (pbuilder chroot), I got:

    ============================================================================= [...]
    gcj-3.4 -shared -fjni -o libswt-pi.so.3.0.0 -Wl,-soname=libswt-pi.so.3 swt-pi.ja
    r
    ln -s libswt-pi.so.3.0.0 libswt-pi.so
    /sbin/ldconfig -n .
    make[1]: Leaving directory `/tmp/buildd/swt-gtk-3.0'
    /usr/bin/make -f make_gtk.mak JAVA_HOME=/usr/lib/gcc/i486-linux/3.4.1 \
    LD='gcc -Wl,-soname=$@' make_swt make_atk make_gnome
    make[1]: Entering directory `/tmp/buildd/swt-gtk-3.0'
    gcc -O -Wall -DSWT_VERSION=3062 -DLINUX -DGTK -I/usr/lib/gcc/i486-linux/3.4.1/in
    clude -fpic -c swt.c
    gcc -O -Wall -DSWT_VERSION=3062 -DLINUX -DGTK -I/usr/lib/gcc/i486-linux/3.4.1/in
    clude -fpic -c callback.c
    gcc -Wl,-soname=libswt-gtk-3062.so -shared -fpic -o libswt-gtk-3062.so swt.o cal
    lback.o
    gcc -O -Wall -DSWT_VERSION=3062 -DLINUX -DGTK -I/usr/lib/gcc/i486-linux/3.4.1/in
    clude -fpic `pkg-config --cflags gtk+-2.0` -c os.c
    In file included from os_structs.h:16,
    from os.c:17:
    os.h:42:34: X11/extensions/XTest.h: No such file or directory
    os.c: In function `Java_org_eclipse_swt_internal_gtk_OS_XTestFakeButtonEvent': os.c:1055: warning: implicit declaration of function `XTestFakeButtonEvent' os.c: In function `Java_org_eclipse_swt_internal_gtk_OS_XTestFakeKeyEvent': os.c:1065: warning: implicit declaration of function `XTestFakeKeyEvent'
    os.c: In function `Java_org_eclipse_swt_internal_gtk_OS_XTestFakeMotionEvent': os.c:1075: warning: implicit declaration of function `XTestFakeMotionEvent' make[1]: *** [os.o] Error 1
    make[1]: Leaving directory `/tmp/buildd/swt-gtk-3.0'
    make: *** [build-stamp] Error 2 =============================================================================

    Adding libxtst-dev to Build-Depends leads to a missing
    libgnome/libgnome.h where both libgnome-dev and libgnome2-dev don't
    help.

    Thanks for considering.

    bye,
    Roland


    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: i386 (i686)
    Kernel: Linux 2.6.7
    Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (ignored: LC_ALL set to en_GB.UTF-8)


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Shaun Jackman@1:229/2 to All on Sat Aug 14 21:30:13 2004
    From: [email protected]

    Adding libxtst-dev to Build-Depends leads to a missing
    libgnome/libgnome.h where both libgnome-dev and libgnome2-dev don't
    help.

    Adding libgnomeui-dev might fix this problem.

    Cheers,
    Shaun




    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Roland Stigge@1:229/2 to Shaun Jackman on Sat Aug 14 22:40:09 2004
    From: [email protected]

    tag 265694 patch
    thanks

    On Sat, 2004-08-14 at 21:13, Shaun Jackman wrote:
    Adding libxtst-dev to Build-Depends leads to a missing
    libgnome/libgnome.h where both libgnome-dev and libgnome2-dev don't
    help.

    Adding libgnomeui-dev might fix this problem.

    It does. :-)



    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)