Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!newsfeed.direct.ca!imci2!news.internetMCI.com!newsfeed.internetmci.com!in2.uu.net!li.net!jwc From: jwc@newshost.li.net (John W. Carbone) Newsgroups: comp.unix.bsd.freebsd.misc,comp.windows.x.i386unix Subject: Building X server from source on FreeBSD Date: 12 May 1996 19:04:37 GMT Organization: LI Net (Long Island Network) Lines: 445 Message-ID: <4n5co5$92i@linet06.li.net> Reply-To: jwc@li.net NNTP-Posting-Host: linet01.li.net X-Newsreader: TIN [version 1.2 PL2] Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:19252 comp.windows.x.i386unix:19992 After FTP'ing X312servonly.tgz, I'm trying to build the server from source, with no success. After untarring X312servonly.tgz, and as per the instructions in "INSTALL" from ftp.xfree86.org, I make changes to config/cf/xf86site.def, and in xc/programs/Xserver I do: xmkmf make Makefile make Makefiles make depend make which fails. I suspect that I am not configuring the xf86site.def correctly. Any assistance will be greatly appreciated. Thank you in advance. "make Makefiles" returns: ... making Makefiles in ./workInProgress/lbx/programs/Xserver/lbx... cd: can't cd to ./workInProgress/lbx/programs/Xserver/lbx making Makefiles in ./workInProgress/lbx/lib/lbxutil... cd: can't cd to ./workInProgress/lbx/lib/lbxutil ... making Makefiles in hw/xnest... cd: can't cd to hw/xnest ... "make depend" returns a tremendous amount of "No such file or directory" errors. "make" returns: making all in ./include... making all in ./dix... rm -f atom.o cc -c -m486 -O2 -I../include -I../X11 -I../include/fonts -I../include/extensions -I/usr/X11R6/include -DCSRG_BASED -DSHAPE -DLBX_COMPAT -DGCCUSESGAS -DSTATIC_COLOR -DAVOID_GLYPHBLT -DPIXPRIV -DFUNCPROTO=15 -DNARROWPROTO atom.c atom.c:51: X.h: No such file or directory atom.c:52: Xatom.h: No such file or directory *** Error code 1 Stop. *** Error code 1 Stop. The xf86site.def is as follows: xCOMM $XFree86: xc/config/cf/xf86site.def,v 3.48 1995/07/22 04:11:45 dawes Exp $ /******************************************************************************/ /* * This file is to provide a quick method for most people to change the * behaviour of their XFree86 installation without having to fully * understand the workings of site.def and all the various '.cf' files. * * These are the most common settings you would choose for compiling and * installing XFree86 on the systems supported by it. */ /******************************************************************************/ /* * If using GCC 2.x on a system where it isn't the default, uncomment * the following * */ #define HasGcc2 YES #define HasGcc YES /* * If using GCC 2.x with C++ on a system where it isn't the default, uncomment * the following. * #define HasGcc2ForCplusplus YES */ /* * If you want to use the GNU malloc library, uncomment this * #define UseGnuMalloc YES */ /* * Set this to whatever is required to access the GNU malloc library. * The default is '-lgmalloc' unless is specified in the OS's .cf file. * #define GnuMallocLibrary -L/usr/local/lib -lgmalloc */ /* * To use the internal Xserver malloc, set this to YES * #define UseInternalMalloc YES */ /* * Which servers do you wish to build, you can save a lot of disk space * by only compiling the server you will be using. It will also save you * considerable compile time. */ #define XF86SVGAServer YES #define XF86VGA16Server YES /* #define XF86VGA16DualServer YES #define XF86MonoServer YES #define XF86MonoDualServer YES #define XF86S3Server YES #define XF86I8514Server YES #define XF86Mach8Server YES #define XF86Mach32Server YES #define XF86Mach64Server YES #define XF86P9000Server YES #define XF86AGXServer YES #define XF86W32Server YES #define XnestServer NO */ /* * Set the default server (ie the one that gets the sym-link to "X") * #define ServerToInstall XF86_S3 */ /* * To build Xvfb, uncomment this. * #define XVirtualFramebufferServer YES */ /* * Server configuration parameters. The defaults are shown here: */ /* * SVGA server: * */ #define XF86SvgaDrivers cirrus \ generic /* * VGA16 server: * */ #define XF86Vga16Drivers generic /* * VGA2 driver in Mono server: * */ #define XF86Vga2Drivers cirrus \ generic /* * Mono driver in Mono or VGA16 server: * #define XF86MonoDrivers hgc1280 sigma apollo hercules */ /* * ET4000/W32 server: * #define XF86W32Drivers et4000w32 */ /* * BSD Console driver support (for FreeBSD and NetBSD). * By default support is included for pccons, syscons and pcvt. * To change the list of supported drivers, set the following parameter. * Possible values are -DPCCONS_SUPPORT, -DSYSCONS_SUPPORT, -DPCVT_SUPPORT, * -DCODRV_SUPPORT. The following example includes support for syscons and * pcvt only. * */ #define XFree86ConsoleDefines -DSYSCONS_SUPPORT -DPCVT_SUPPORT /* * To build with LBX, uncomment the BuildLBX line below. Note, if you * are doing this after already having built non-LBX Xservers, * you should do the following: * * cd programs/Xserver * make clean * make Makefile * make Makefiles * make includes * make depend * make * * To build the lbxproxy, do: * * cd workInProgress * make Makefile * make SUBDIRS=lbx Makefiles * cd lbx * make includes * make depend * make * * For information about using LBX, refer to the README in workInProgress/lbx/. * #define BuildLBX YES */ /* * To build the required bits to make LBX selectable via the LinkKit * uncomment this. Note: BuildLBX should *not* be set when doing this. * #define BuildLBXCompatible YES */ /* * To build only the LBX proxy server using a cut-down source tree * designed specifically for this purpose, uncomment the following. * #define BuildLBXProxyOnly YES */ /* * If BuildLBXProxyOnly is set and you want a dynamically linked lbxproxy, * uncomment this (the default is statically linked). * #define DynamicLBXProxyOnly YES */ /* * Build xterm with Internationalisation support by default. * To disable this, uncomment the following. * #define XtermWithI18N NO */ /* * Do you want to install the default system config files, this will overwrite * and files that you may be currently using. This would only be required * on a first time build. * #define InstallXdmConfig YES #define InstallXinitConfig YES */ /* * If you only run the X server under xdm the X servers don't need to be * installed SetUID, and you may comment out the lines below. If you run * the servers by hand (with xinit or startx), then they do need to be * installed SetUID on most OSs. * Consult your system administrator before making the X server setuid. * */ #if !defined(i386MachArchitecture) && !defined(OS2Architecture) #define InstallXserverSetUID YES #endif /* * Do you want to include support for the FontServer * #define BuildFontServer YES #define InstallFSConfig YES /* install sample fs config */ */ /* * Do you want to Build Fonts (Usually you only want to build and install * fonts once, if this is a first time install you will want to build the * fonts) * #define BuildFonts NO */ /* * To not build/install the 75dpi fonts, uncomment the following * #define Build75DpiFonts NO */ /* * To not build/install the 100dpi fonts, uncomment the following * #define Build100DpiFonts NO */ /* * To not build/install the Speedo fonts, uncomment the following * #define BuildSpeedoFonts NO */ /* * To not build/install the Type1 fonts, uncomment the following * #define BuildType1Fonts NO */ /* * To not build/install the Cyrillic fonts, uncomment the following * #define BuildCyrillicFonts NO */ /* * To build only the servers with a cut-down source tree, uncomment * this. * */ #define BuildServersOnly YES /* * To disable the ScreenSaver Extension, comment this line. * */ #define BuildScreenSaverExt YES /* * If you don't want to build PEX, uncomment this. * #define BuildPexExt NO */ /* * If you don't want to build XIE, uncomment this. * #define BuildXIE NO */ /* * If you want to build only the DIS (Document Imaging Subset of XIE) * uncomment this line. This option is only relevant when XIE is built. * #define BuildDIS YES */ /* * If you want to build Fresco, uncomment this line. Note: a suitable * C++ compiler is required. If using GCC, version 2.6.0 or later is * required. Make sure HasGcc2ForCplusplus is set to YES when using * GCC to build Fresco (see above). * #define BuildFresco YES */ /* * If you are running Solaris x86, and have the aperture driver installed, * uncomment this. * #define HasSolx86ApertureDriver YES */ /* * If you are running NetBSD 0.9C or later, and have the aperture driver * installed, uncomment this. * #define HasNetBSDApertureDriver YES */ /* * If you are running SVR3 and have the mmap driver installed (for linear * framebuffer access) uncomment this. * #define HasSVR3mmapDrv YES */ /* * If you are using an SVR3 (like ISC 4.x) which supports long file names, * you can * uncomment this to have manual pages installed under their * full names * #define ExpandManNames YES */ /* * If you want XDMAUTH support (if you have Wraphelp.c), uncomment this. * #define HasXdmAuth YES */ /* * To forceably build static libraries in addition to shared libraries, * uncomment this. * #define ForceNormalLib YES */ /* * Uncomment this if your default tools (eg, gcc, ld, as, etc) are * the Linux ELF versions. * #define LinuxElfDefault YES */ /* * To use ELF format shared libraries for Linux, uncomment this. * Note: gcc-2.6.0-941008 and gas-941008 (or later) is required for this. * Check linux.cf if you have problems regarding the location of elf-aware * gcc and gas binaries. * #define UseElfFormat YES */ /* * If you have trouble with make bombing out in Xlib, try uncommenting this. * You will not get dependencies as a result, but better than nothing. * #define MakeHashTableBug YES */ /* * If you do not want your man pages compress under SVR3 systems that * support it, uncomment this. * #define CompressManPages NO */ /* * LinuxDoc stuff. Uncomment those of these you want. Check in * lnxdoc.tmpl for other things you might need to define/change here. * #define HasLinuxDoc YES #define HasLatex YES #define HasDvips YES #define BuildLinuxDocHtml YES #define BuildAllDocs YES */ /* * To install Japanese versions of the documentation uncomment this. * Note: The Japanese documentation consists of a subset of the * XFree86 3.1 docs. * #define InstallJapaneseDocs YES */ /* * Define to build only those parts of contrib supported by XFree86 * NOTE: This should not be defined at all if you want to build all * of contrib. Defining it to NO won't work. * #define XF86Contrib */