Summary: | Xorg -configure fails to create xorg.conf with modular build system | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Saleem Abdulrasool <compnerd> | ||||||
Component: | Build/Modular | Assignee: | Adam Jackson <ajax> | ||||||
Status: | RESOLVED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | high | CC: | dberkholz, shawn.starr | ||||||
Version: | 6.99.99.900 (7.0 RC0) | ||||||||
Hardware: | x86 (IA32) | ||||||||
OS: | Linux (All) | ||||||||
Whiteboard: | |||||||||
i915 platform: | i915 features: | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 400 | ||||||||
Attachments: |
|
Description
Saleem Abdulrasool
2005-09-05 22:58:11 UTC
the actual output of Xorg -configure would be very helpful. Created attachment 3258 [details]
xorg -configure
The output of xorg -configure
Created attachment 3259 [details]
Xorg.0.log
Looks like the -configure code may need a bit of work to live in a modular world. That message comes from this bit of code: vlist = xf86DriverlistFromCompile(); if (!vlist) { ErrorF("Missing output drivers. Configuration failed.\n"); goto bail; } That uses the value of the DRIVERS #define from compile time, which can be set in the monolith to the full list of drivers, but the modular server build can't know which driver modules you will build. xf86DoProbe.c seems to have the same problem. Maybe we can replace this with something that just does a readdir of the module directories or something similar? > Maybe we can replace this with something that just does a readdir of the module
> directories or something similar?
that sounds wise, i'll hack something up...
so the current thinking is to replace GenerateDriverList with a trivial call to DriverListDir when building a loadable server, and keep the current logic in place for non-loadable server. which almost works, but it gets the output file name wrong in the modular build system (puts root's ~ before $(prefix)). fixed. and with new found loathing for the autoconfig logic. KILL IT WITH FIRE. |
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.