Hi,
I am trying to compile XFree86 4.1.0 on Solaris8/sparc- specifically for
Xvfb with TrueType fonts. The compile succeeds and I get the Xsun and Xvfb
binaries installed.
I have mangled the site.def file a bit to get Xvfb working... However, the
documentation I am reading, says I need to add
Load "freetype"
to the XF86Config file... However I cannot get this file created as none of
the configuration programs seem be get compiled and installed...
Any help would be greatly appreciated on this...
When I try to add a directory containing the TTF files to the font path, I
get:
hostname.domain.com:user$ xset fp+ /usr/X11R6/lib/X11/fonts/TrueType/
X Error of failed request: 86
Major opcode of failed request: 51 (X_SetFontPath)
Serial number of failed request: 8
Current serial number in output stream: 10
This directory has fonts.scale, fonts.dir and encodings.dir in it - created
using mkfontdir and ttmkfdir as described in various documents.
So, I am looking at a way to get the Xserver to handle the truetype fonts-
and to get a way to use an XF86Config file.
My site.def file I am using to compile is below. I have not changed any
other config files in the xc/config/cf directory:
Many thanks in advance.
$cat site.def
XCOMM site: $TOG: site.sample /main/r64_final/1 1998/02/05 16:28:49 kaleb $
/***************************************************************************
* *
* SITE-SPECIFIC DEFINITIONS *
* *
* This file contains two halves, one included before the vendor-specific *
* configuration file (.cf file), and one included after the .cf file. *
* The before-half should be protected by #ifdef BeforeVendorCF, and the *
* after-half should be protected by #ifdef AfterVendorCF. *
* *
* The before-half should only set things that the .cf file depends on. *
* For the .cf files shipped in this release, the main variables in this *
* category are HasGcc, HasGcc2, HasCplusplus, OSMajorVersion, *
* OSMinorVersion, and OSTeenyVersion. *
* *
* The after-half should contain all other definitions. For example, *
* place your ProjectRoot definition here. *
* *
* OS Major and Minor version numbers should be changed directly in the *
* .cf file, not overridden in site.def. *
* *
***************************************************************************/
XCOMM site: $XFree86: xc/config/cf/site.def,v 3.24 2000/06/25 20:17:29
dawes Ex
p $
/* if you want host-specific customization, this is one way to do it */
/*
#ifndef SiteIConfigFiles
#define SiteIConfigFiles $(IRULESRC)/host.def
#define LocalConfigFiles host.def
#endif
*/
#ifdef BeforeVendorCF
#if defined(NetBSDArchitecture) && defined(Arm32Architecture)
/*
* Our kernel is 1.2C, but at user-level we're still 1.2 -JJK
*/
#define OSTeenyVersion 0
/*
* This causes a problem with the X server, so I'm disabling it for now.
-JJK
*/
#define BuildXKB NO
#endif
/*
* Include this for easy XFree86 customisations
*/
#ifndef SiteIConfigFiles
#define SiteIConfigFiles $(IRULESRC)/xf86site.def $(IRULESRC)/host.def
#endif
#include <host.def>
#include <xf86site.def>
/* On systems where cpp doesn't expand correctly macros in include
directives
* the two following macros need to be defined directly (where "X11" is
* really whatever the TopLevelProject macro is defined to be).
*/
# if defined(AIXArchitecture) || defined(SVR4Architecture) || \
defined(SCOArchitecture) || defined(Win32Architecture) || \
defined(UXPArchitecture) || defined(SunArchitecture) || \
defined(DynixPtxArchitecture) || defined(i386IscArchitecture)
# ifndef ProjectRulesFile
# define ProjectRulesFile <X11.rules>
# endif
# ifndef ProjectTmplFile
# define ProjectTmplFile <X11.tmpl>
# endif
# endif
/* uncommented MJM */
#ifndef HasGcc2
#define HasGcc2 YES
#endif
#endif /* BeforeVendorCF */
#ifdef AfterVendorCF
#ifndef ProjectRoot
#define ProjectRoot /usr/X11R6
#endif
/*
* On some platforms, some things may be installed outside of ProjectRoot
* by default. To disable this, uncomment the following line.
* MJM
#define NothingOutsideProjectRoot YES
*/
#define NothingOutsideProjectRoot YES
/*
* Set EtcX11Directory if you want config file links installed under
* ProjectRoot rather than in /etc/X11. See also HasVarDirectory,
* UseEtcX11 and UseSeparateConfDir.
* MJM
#define EtcX11Directory ProjectRoot/etc
*/
#define EtcX11Directory ProjectRoot/etc
/* Only set HasXdmAuth to YES if you have a Wraphelp.c file. */
/* #define HasXdmAuth YES */
/*
#if defined(SunArchitecture) && defined(SparcArchitecture)
#define HasCodeCenter YES
#ifndef SVR4Architecture
#define HasTestCenter YES
#endif
#endif
*/
/*
#ifdef __hp9000s800
#define HasCodeCenter YES
#endif
*/
/*
#if defined(SunArchitecture) && defined(SparcArchitecture) &&
!defined(SVR4Archi
tecture)
#define HasPurify YES
#endif
*/
/*
#define HasSentinel YES
*/
/*
#undef DefaultUserPath
#define DefaultUserPath /bin:/usr/bin:$(BINDIR):/usr/ucb:/usr/local/bin
*/
/* You do NOT need SetUID if you only run the server under xdm */
/* You MAY need SetUID if users run the server by hand or under xinit */
/* Consult your system administrator before making the X server setuid */
/*
#if defined(SunArchitecture) && OSMajorVersion > 4
#define InstallXserverSetUID YES
#endif
*/
/* You do NOT need SetUID if you only run the server under xdm */
/* You MAY need SetUID if users run the server by hand or under xinit */
/* Consult your system administrator before making the X server setuid */
/*
#ifdef XFree86Version
#define InstallXserverSetUID YES
#endif
*/
#define XVirtualFramebufferServer YES
#define XnestServer YES
#define BuildFreeType YES
#define BuildXFree86ConfigTools YES
#ifndef XConfigFile
#define XConfigFile XF86Config
#endif
#ifndef XConfigDir
#define XConfigDir $(LIBDIR)
#endif
#ifndef XLogFile
#define XLogFile XFree86
#endif
#include <host.def>
#endif /* AfterVendorCF */
-----------------------------------------------------------
Internet communications are not secure and therefore Oyster Partners Ltd
does not accept legal responsibility for the contents of this message. Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Oyster Partners Ltd.
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert