After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 116090 - cannot build documentation without X display
cannot build documentation without X display
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Installation
git master
Other All
: Normal minor
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2003-06-27 08:10 UTC by Ben Liblit
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2



Description Ben Liblit 2003-06-27 08:10:20 UTC
One cannot build the gnumeric documentation without a live X display.  At
some point during the documentation build process, make enters subdirectory
"doc/C" and attempts to build "func.defs" using the following command:

    LC_ALL="C" ; export LC_ALL ; ../../src/gnumeric \
    --dump-func-defs="func.defs"

If $DISPLAY is not set or is invalid, an error along the following lines
appears:

    (gnumeric:17865): Gtk-WARNING **: cannot open display:

It would be nice if gnumeric could avoid trying to set up its X connection
for non-interactive operations such as this.  That would facilitate batch
rebuilds in headless environments, such as on large compute servers or out
of batch jobs.
Comment 1 Jody Goldberg 2003-06-28 02:04:38 UTC
#$^%!@#$^ bonobo

agreed 100%
Unfortunately we won't be able to get there until we can remove the
libgnome depend.
Comment 2 Jody Goldberg 2003-10-09 21:35:54 UTC
actually that may not be entirely true.

ssconvert does not appear to need it.  I'll need to take a closer look.
Comment 3 Jody Goldberg 2003-11-16 08:02:02 UTC
Ahhh I see.

Fixed.  Patch will be in 1.2.2