Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201970 - dev-libs/DirectFB-1.1.0 fails to build without X
Summary: dev-libs/DirectFB-1.1.0 fails to build without X
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-11 19:47 UTC by Alexis Ballier
Modified: 2007-12-30 18:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Ballier gentoo-dev 2007-12-11 19:47:17 UTC
* dev-libs/DirectFB [U 1.0.0 -> 1.1.0] <target>
    -debug fbcon -fusion gif jpeg mmx png -sdl sse sysfs -truetype -v4l -v4l2 zlib

ake[3]: Entering directory `/var/tmp/paludis/dev-libs/DirectFB-1.1.0/work/DirectFB-1.1.0/systems/x11'
/bin/sh ../../libtool --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../lib -I../../lib -I../../src   -D_REENTRANT   -Os -march=pentium3 -pipe -fomit-frame-pointer -ftree-vectorize -D_GNU_SOURCE  -Werror-implicit-function-declaration -MT x11input.lo -MD -MP -MF .deps/x11input.Tpo -c -o x11input.lo x11input.c
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../lib -I../../lib -I../../src -D_REENTRANT -Os -march=pentium3 -pipe -fomit-frame-pointer -ftree-vectorize -D_GNU_SOURCE -Werror-implicit-function-declaration -MT x11input.lo -MD -MP -MF .deps/x11input.Tpo -c x11input.c  -fPIC -DPIC -o .libs/x11input.o
x11input.c:39:22: error: X11/Xlib.h: No such file or directory
x11input.c:40:23: error: X11/Xutil.h: No such file or directory
x11input.c:41:24: error: X11/keysym.h: No such file or directory
In file included from x11input.c:52:
xwindow.h:36:33: error: X11/extensions/XShm.h: No such file or directory
In file included from x11input.c:52:
xwindow.h:44: error: expected specifier-qualifier-list before 'Window'
xwindow.h:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dfb_x11_open_window'
In file included from x11.h:39,
                 from x11input.c:54:
x11image.h:50: error: expected specifier-qualifier-list before 'Visual'
In file included from x11input.c:54:
x11.h:64: error: expected specifier-qualifier-list before 'Display'
x11input.c:86: error: expected ';', ',' or ')' before '*' token
x11input.c:129: error: expected ')' before 'xKeySymbol'
x11input.c:284: error: expected ')' before 'xKeySymbol'
x11input.c:380: error: expected ')' before '*' token

configure seems to support --disable-x11; missing X useflag ?
Comment 1 SpanKY gentoo-dev 2007-12-24 10:27:30 UTC
should be fixed in DirectFB-1.1.1
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2007-12-25 06:01:21 UTC
x11 is not a valid USE flag:

gentoo/cvs/gentoo-x86/dev-libs/DirectFB $ grep -n use_enable\ x11 DirectFB-1.1.1.ebuild
97:             $(use_enable x11 X) \
Comment 3 SpanKY gentoo-dev 2007-12-30 18:17:47 UTC
i didnt say it was a valid flag, i just typoed the order

http://sources.gentoo.org/dev-libs/DirectFB/DirectFB-1.1.1.ebuild?r1=1.2&r2=1.3