LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 02-22-2007, 11:36 AM   #1
drimades
Member
 
Registered: Jun 2006
Posts: 60

Rep: Reputation: 15
Building the X Window System


I'm using:

make World

to build the X Window System from the X.org X11R.6.9.0 source in a x86 architecture. It gives the following errors:

fcfreetype.c:2710: error: ‘TT_Face’ undeclared (first use in this function)
fcfreetype.c:2710: error: (Each undeclared identifier is reported only once
fcfreetype.c:2710: error: for each function it appears in.)
fcfreetype.c:2710: error: syntax error before ‘tt_face’
fcfreetype.c:2719: error: ‘tt_face’ undeclared (first use in this function)
...
fcfreetype.c:2747: error: syntax error before ‘FT_ULong’
make[4]: *** [fcfreetype.o] Error 1
make[4]: Leaving directory `/root/Desktop/xc/lib/fontconfig'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/root/Desktop/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/Desktop/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/root/Desktop/xc'
make: *** [World] Error 2

Any idea?
 
Old 02-22-2007, 04:39 PM   #2
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
Hi drimades
From the /root/Desktop/xc/BUILD file :
Quote:
The monolithic tree also includes copies of some packages maintained outside
the X.Org project for convenience in building on machines that do not already
have them installed. These include FreeType 2, fontconfig, expat, xterm,
and zlib. For most uses however, it is recommended that you install the
latest version directly from the main distribution site, or use the packages
provided in your operating system, as they are more likely to be up to date
with the latest bug fixes and security patches. Depending on your platform,
use of the bundled versions may be enabled or disabled by default, check the
Imake configuration files for your platform in xc/config/cf to find out. To
override the defaults for your platform or to set the path to the installa-
tion location, see the instructions below on configuring the source via
xorgsite.def and host.def.
Read the entire file for other precisions.

BTW Why not compiling a more recent version, the last one is releases X11R7.2 ?
 
Old 02-26-2007, 07:42 AM   #3
drimades
Member
 
Registered: Jun 2006
Posts: 60

Original Poster
Rep: Reputation: 15
Thank you! I took a look at xc/programs/Xserver/hw/xfree86/doc directory but can't find how to address the OS-specific details?!

Last edited by drimades; 02-26-2007 at 09:35 AM.
 
Old 02-26-2007, 04:49 PM   #4
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
From xc/programs/Xserver/hw/xfree86/doc/BUILD :
Quote:
Before building the distribution, read through the OS-specific README file in
xc/programs/Xserver/hw/xfree86/doc that is relevant to you. Once you have
addressed the OS-specific details, go your build directory (either the xc
directory or the shadow tree created before) and run "make World" with the
BOOTSTRAPCFLAGS set as described in the OS-specific README (if necessary, but
most systems supported by X11R6.9 don't need BOOTSTRAPCFLAGS
). It is advisable to redirect stdout and stderr to World.log so that you can track down
problems that might occur during the build.
Isn't there already Xorg binary packages for your Linux distro ?
 
Old 02-27-2007, 05:27 AM   #5
drimades
Member
 
Registered: Jun 2006
Posts: 60

Original Poster
Rep: Reputation: 15
I need to compile it from source. In particular:


/*
* Which drivers to build. When building a static server, each of these
* will be included in it. When building the loadable server each of these
* modules will be built.
*
define XF86CardDrivers mga glint nv tga s3virge sis rendition \
neomagic i740 tdfx savage \
cirrus vmware tseng trident chips apm \
GlideDriver fbdev i128 \
ati DevelDrivers ark cyrix \
siliconmotion \
vesa vga XF86OSCardDrivers XF86ExtraCardDrivers
*/


how to set this part of code?
 
Old 02-27-2007, 02:58 PM   #6
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
Sorry I don't understand what is your problem exactly, what you are trying to do, why you "need to compile it from source", and you didn't say the Linux distro you are using. Moreover I am not an Xorg expert, I just compiled it several times (at least the monolithic X11R.6.9.0 version).So...

Last edited by berbae; 02-27-2007 at 03:07 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the best X-Window System window manager in your opinion? t3gah Linux - Software 9 12-16-2006 10:10 PM
x-window-system x-window-system-core gabsik Linux - Software 1 07-04-2006 07:12 AM
Building an LFS system from another system z3r0star21 Linux From Scratch 6 11-08-2005 03:13 AM
why mandriva 10.2 gnome2.8 system freezes upon resizing/opening window/new window skaramanger Mandriva 8 08-30-2005 10:22 AM
why mandriva 10.2 gnome2.8 system freezes upon resizing/opening window/new window skaramanger Mandriva 2 08-15-2005 04:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 02:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration