Home  Login    Bugs & Features    Documentation    Download    Drivers    Forums    Links  

STR #1351: Cannot build on a system without X.

Status:1 - Closed w/Resolution
Priority:3 - Moderate, e.g. unable to compile the software
Scope:3 - Applies to all machines and operating systems
Subsystem:Build Files
Summary:Cannot build on a system without X.
Version:8.15-current
Created By:flyingi
Assigned To:mike
Fix Version:8.15-current (SVN: r139)
Update Notification:

Receive EMails Don't Receive EMails


Trouble Report Files:

No files


Trouble Report Dialog:

Name/Time/DateText
flyingi
17:02 Nov 29, 2005
Attempting to install on a server system, without graphical capabilities.  Configured with the "without-x" option, and from configure output shows this feature is, in fact, disabled.

However, make produces errors when trying to compile "gdevxalt.c" because the X headers are not available.  It seems the build assumes that X is installed on all systems, regardless of configure options.
mike
06:21 Nov 30, 2005
Hmm, will look into this.  X_DEVS should not be listed at all...

In the meantime, edit the Makefile and remove all references to xalt or X_DEVS.
flyingi
14:42 Dec 02, 2005
Removing these references does not help (nor does removing all the rules for compiling X object modules).

The problem is that the configure generated Makefile (around line 400++) sets the variable GS_SHARED_OBJS to ....X11.so.

Apparently, this forces generation of a shared X11 dll, regardless of any configure options.

Commenting out this line in the generated Makefile works around the problem.  Do this *after* running config, obviously, and before the make.

Problem still needs a permanent fix, though.
Hagar
12:24 Feb 06, 2006
This only happens if either --enable-dynamic or --disable-dynamic is used with ./configure

Success: ./configure --without-x
Fails: ./configure --without-x --enable-dynamic
Fails: ./configure --without-x --disable-dynamic
mike
06:30 Apr 23, 2006
Fixed in Subversion repository.
 
Comments are owned by the poster. All other material is copyright 2007-2010 Apple Inc. All rights reserved. CUPS and the CUPS logo are trademarks of Apple Inc. All other trademarks are the property of their respective owners. Please report site problems to 'webmaster@cups.org'.