Bug 4361 - Xorg -configure fails to create xorg.conf with modular build system
Summary: Xorg -configure fails to create xorg.conf with modular build system
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Build/Modular (show other bugs)
Version: 6.99.99.900 (7.0 RC0)
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Adam Jackson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 400
  Show dependency treegraph
 
Reported: 2005-09-05 22:58 UTC by Saleem Abdulrasool
Modified: 2005-12-08 19:56 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg -configure (1.25 KB, text/plain)
2005-09-13 15:17 UTC, Saleem Abdulrasool
no flags Details
Xorg.0.log (5.89 KB, text/plain)
2005-09-13 15:21 UTC, Saleem Abdulrasool
no flags Details

Description Saleem Abdulrasool 2005-09-05 22:58:11 UTC
When trying to create an xorg.conf file using Xorg -configure, the following
message is given:

Missing output drivers.  Configure failed


Xorg -version:
This is a pre-release version of the X.Org X11.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org "monolithic tree" CVS
repository hosted at http://www.freedesktop.org/Software/xorg/
X Window System Version 6.99.99.900 (7.0.0 RC 0)
Release Date: 18 December 2003
X Protocol Version 11, Revision 0, 0.99.1
Build Operating System:Linux 2.6.13 i686
Current Operating System: Linux neon 2.6.13 #3 SMP Tue Aug 30 19:15:29 CDT 2005 i686
Build Date: 05 September 2005
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present

Let me know if you need any information
Comment 1 Adam Jackson 2005-09-09 10:46:21 UTC
the actual output of Xorg -configure would be very helpful.
Comment 2 Saleem Abdulrasool 2005-09-13 15:17:48 UTC
Created attachment 3258 [details]
xorg -configure

The output of xorg -configure
Comment 3 Saleem Abdulrasool 2005-09-13 15:21:31 UTC
Created attachment 3259 [details]
Xorg.0.log
Comment 4 Alan Coopersmith 2005-09-13 18:47:05 UTC
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?
Comment 5 Adam Jackson 2005-09-29 19:25:05 UTC
> 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...
Comment 6 Adam Jackson 2005-12-09 11:37:57 UTC
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)).
Comment 7 Adam Jackson 2005-12-09 14:56:33 UTC
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.