LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-21-2004, 08:43 PM   #1
AFI_Flame
Member
 
Registered: Apr 2004
Location: Nolensville, TN
Distribution: OpenSuse 10.2
Posts: 253

Rep: Reputation: 30
Compiling X.Org Error


I'm trying to compile X.Org 6.8.1 on my Slackware 10.0 and I got this error in the log file.

Code:
In file included from ../../extras/fontconfig/src/fcint.h:38,
                 from fcatomic.c:49:
../../extras/fontconfig/fontconfig/fcfreetype.h:26:22: ft2build.h: No such file or directory
../../extras/fontconfig/fontconfig/fcfreetype.h:27:10: #include expects "FILENAME" or <FILENAME>
In file included from ../../extras/fontconfig/src/fcint.h:38,
                 from fcatomic.c:49:
../../extras/fontconfig/fontconfig/fcfreetype.h:30: error: parse error before "FcFreeTypeCharIndex"
../../extras/fontconfig/fontconfig/fcfreetype.h:30: error: parse error before "face"
../../extras/fontconfig/fontconfig/fcfreetype.h:30: warning: type defaults to `int' in declaration of `FcFreeTypeCharIndex'
../../extras/fontconfig/fontconfig/fcfreetype.h:30: error: ISO C forbids data definition with no type or storage class
../../extras/fontconfig/fontconfig/fcfreetype.h:33: error: parse error before "face"
../../extras/fontconfig/fontconfig/fcfreetype.h:36: error: parse error before "face"
../../extras/fontconfig/fontconfig/fcfreetype.h:39: error: parse error before "FT_Face"
../../extras/fontconfig/fontconfig/fcfreetype.h:42: warning: type defaults to `int' in declaration of `FT_Face'
../../extras/fontconfig/fontconfig/fcfreetype.h:42: error: parse error before "f"
In file included from fcatomic.c:49:
../../extras/fontconfig/src/fcint.h:496: error: parse error before "encoding"
fcatomic.c: In function `FcAtomicLock':
fcatomic.c:101: warning: unused variable `fd'
fcatomic.c:102: warning: unused variable `f'
make[4]: *** [fcatomic.o] Error 1
make[4]: Leaving directory `/home/daniel/build/lib/fontconfig'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/daniel/build/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/daniel/build'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/home/daniel/build'
make: *** [World] Error 2
 
Old 09-21-2004, 10:08 PM   #2
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
Make sure you have libfreetype6 installed (development version, if slackware splits those up like debian does).
 
Old 09-21-2004, 11:51 PM   #3
AFI_Flame
Member
 
Registered: Apr 2004
Location: Nolensville, TN
Distribution: OpenSuse 10.2
Posts: 253

Original Poster
Rep: Reputation: 30
Ok I installed freetype and now I'm getting another error.

Code:
In file included from ../../extras/fontconfig/fontconfig/fcfreetype.h:26,
                 from ../../extras/fontconfig/src/fcint.h:38,
                 from fcatomic.c:49:
/usr/local/include/ft2build.h:56:38: freetype/config/ftheader.h: No such file or directory
In file included from ../../extras/fontconfig/src/fcint.h:38,
                 from fcatomic.c:49:
../../extras/fontconfig/fontconfig/fcfreetype.h:27:10: #include expects "FILENAME" or <FILENAME>
In file included from ../../extras/fontconfig/src/fcint.h:38,
                 from fcatomic.c:49:
../../extras/fontconfig/fontconfig/fcfreetype.h:30: error: parse error before "FcFreeTypeCharIndex"
../../extras/fontconfig/fontconfig/fcfreetype.h:30: error: parse error before "face"
../../extras/fontconfig/fontconfig/fcfreetype.h:30: warning: type defaults to `int' in declaration of `FcFreeTypeCharIndex'
../../extras/fontconfig/fontconfig/fcfreetype.h:30: error: ISO C forbids data definition with no type or storage class
../../extras/fontconfig/fontconfig/fcfreetype.h:33: error: parse error before "face"
../../extras/fontconfig/fontconfig/fcfreetype.h:36: error: parse error before "face"
../../extras/fontconfig/fontconfig/fcfreetype.h:39: error: parse error before "FT_Face"
../../extras/fontconfig/fontconfig/fcfreetype.h:42: warning: type defaults to `int' in declaration of `FT_Face'
../../extras/fontconfig/fontconfig/fcfreetype.h:42: error: parse error before "f"
In file included from fcatomic.c:49:
../../extras/fontconfig/src/fcint.h:496: error: parse error before "encoding"
fcatomic.c: In function `FcAtomicLock':
fcatomic.c:101: warning: unused variable `fd'
fcatomic.c:102: warning: unused variable `f'
make[4]: *** [fcatomic.o] Error 1
make[4]: Leaving directory `/home/daniel/build/lib/fontconfig'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/daniel/build/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/daniel/build'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/home/daniel/build'
make: *** [World] Error 2
This time it found the ft2build.h file but not the ftheader.h file. I think it's looking in the wrong folder for it because I have it in /usr/local/include/freetype2/freetype/config.

Edit: I found the problem... there's supposed to be a symlink to freetype2/freetype called freetype in /usr/local/include.

Last edited by AFI_Flame; 09-22-2004 at 12:06 AM.
 
Old 10-10-2004, 06:04 PM   #4
yanger
Member
 
Registered: Jun 2004
Location: Wisconsin
Distribution: Ubuntu, Gentoo, FreeBSD, Solaris
Posts: 55

Rep: Reputation: 16
Eh, can you explain where you got libfreetype6 from?
 
Old 10-10-2004, 07:08 PM   #5
AFI_Flame
Member
 
Registered: Apr 2004
Location: Nolensville, TN
Distribution: OpenSuse 10.2
Posts: 253

Original Poster
Rep: Reputation: 30
google my friend

http://www.freetype.org/
 
Old 10-27-2004, 05:32 PM   #6
mkools
LQ Newbie
 
Registered: Oct 2004
Posts: 15

Rep: Reputation: 0
Quote:
Originally posted by AFI_Flame
google my friend

http://www.freetype.org/
I solved this one after a long search
upgrade to the latest dev-version of fontconfig
I got it by CVS.
 
Old 06-03-2005, 03:33 AM   #7
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
Quote:
Originally posted by AFI_Flame
Ok I installed freetype and now I'm getting another error.

[CODE]

Edit: I found the problem... there's supposed to be a symlink to freetype2/freetype called freetype in /usr/local/include.

This just saved me some time.
 
Old 07-01-2005, 03:11 PM   #8
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,640

Rep: Reputation: 144Reputation: 144
EDIT: Sorry, wrong threat.


Last edited by titopoquito; 07-01-2005 at 03:29 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
Error extracting openoffice.org Ishkabibble Linux - Software 2 10-31-2005 03:12 AM
Compiling X.org, any suggestions? CWizard Slackware 7 10-15-2005 07:05 PM
X.org upgrade error jswhite Debian 2 07-13-2005 10:42 AM
compiling X.org from cvs progressdll Debian 0 11-01-2004 01:50 AM
Compiling X11R6.8.1 (X.org) :: LFS jakkals Linux - Software 1 10-11-2004 07:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:17 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