Bug 25102

Summary: dmx "auto" change causes build error
Product: xorg Reporter: Adrian Bunk <bunk>
Component: Server/GeneralAssignee: Peter Hutterer <peter.hutterer>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: peter.hutterer
Version: 7.5 (2009.10)Keywords: regression
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 24075    
Attachments:
Description Flags
0001-Move-xdmxconfig-modules-into-DMX-conditionals-25102.patch none

Description Adrian Bunk 2009-11-15 10:47:14 UTC
Commit 232d4351 (dmx: Make description match default option.) changed the default for --enable-dmx from "no" to "auto".

This causes the following build error:

<--  snip  -->

...
checking for DMXMODULES... yes
checking whether to build Xdmx DDX... yes
checking linux/input.h usability... yes
checking linux/input.h presence... yes
checking for linux/input.h... yes
checking linux/keyboard.h usability... yes
checking linux/keyboard.h presence... yes
checking for linux/keyboard.h... yes
checking for XDMXCONFIG_DEP... configure: error: Package requirements (xaw7 xmu xt xpm x11) were not met:

No package 'xaw7' found
No package 'xpm' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XDMXCONFIG_DEP_CFLAGS
and XDMXCONFIG_DEP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

make: *** [__matrix_build] Error 1

<--  snip  -->


Either the dependencies for XDMXCONFIG_DEP have to be added to DMXMODULES or failed XDMXCONFIG_DEP should cause xdmxconfig to not be built.

Other variables like $LIBDMX seem to have a similar problem of not being in DMXMODULES.
Comment 1 Peter Hutterer 2009-11-16 15:33:18 UTC
Created attachment 31244 [details] [review]
0001-Move-xdmxconfig-modules-into-DMX-conditionals-25102.patch

Does this fix the issue for you?
Comment 2 Adrian Bunk 2009-11-16 17:43:46 UTC
(In reply to comment #1)
> Created an attachment (id=31244) [details]
> 0001-Move-xdmxconfig-modules-into-DMX-conditionals-25102.patch
> 
> Does this fix the issue for you?

Thanks, this fixes it.
Comment 3 Peter Hutterer 2009-11-26 20:59:04 UTC
pushed as commit 8806375ed72a3cd465fe0a49ead079a334accd6b

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.