LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 05-18-2003, 06:18 PM   #1
centr0
Member
 
Registered: Feb 2003
Location: Earth
Distribution: Slackware 9.1
Posts: 134

Rep: Reputation: 15
fluxbox installation


when compiling flux i get this error when i do the make cmd.

Code:
n file included from XftFontImp.hh:28,
                 from Font.cc:34:
/usr/include/X11/Xft/Xft.h:35:31: freetype/freetype.h: No such file or directory
/usr/include/X11/Xft/Xft.h:36:35: fontconfig/fontconfig.h: No such file or directory
In file included from /usr/include/X11/Xft/Xft.h:43,
                 from XftFontImp.hh:28,
                 from Font.cc:34:
/usr/include/X11/Xft/XftCompat.h:33: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:34: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:35: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:89: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:91: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:95: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:102: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:103: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:104: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:105: syntax error before `;' token
/usr/include/X11/Xft/XftCompat.h:163: `XftPattern' was not declared in this
   scope
/usr/include/X11/Xft/XftCompat.h:163: `pat' was not declared in this scope
/usr/include/X11/Xft/XftCompat.h:163: parse error before `*' token
In file included from XftFontImp.hh:28,
                 from Font.cc:34:
/usr/include/X11/Xft/Xft.h:52: syntax error before `;' token
/usr/include/X11/Xft/Xft.h:61: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:62: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:73: 'FcChar32' is used as a type, but is not defined
   as a type.
/usr/include/X11/Xft/Xft.h:80: 'FcChar32' is used as a type, but is not defined
   as a type.
/usr/include/X11/Xft/Xft.h:86: 'FT_UInt' is used as a type, but is not defined
   as a type.
/usr/include/X11/Xft/Xft.h:93: 'FT_UInt' is used as a type, but is not defined
   as a type.
/usr/include/X11/Xft/Xft.h:127: `FcFontSet' was not declared in this scope
/usr/include/X11/Xft/Xft.h:127: `set' was not declared in this scope
/usr/include/X11/Xft/Xft.h:127: parse error before `char'
/usr/include/X11/Xft/Xft.h:130: `FcFontSet' was not declared in this scope
/usr/include/X11/Xft/Xft.h:130: `set' was not declared in this scope
/usr/include/X11/Xft/Xft.h:130: parse error before `char'
/usr/include/X11/Xft/Xft.h:137: type specifier omitted for parameter `FcPattern
   '
/usr/include/X11/Xft/Xft.h:137: parse error before `*' token
/usr/include/X11/Xft/Xft.h:140: type specifier omitted for parameter `FcPattern
   '
/usr/include/X11/Xft/Xft.h:140: parse error before `*' token
/usr/include/X11/Xft/Xft.h:190: parse error before `*' token
/usr/include/X11/Xft/Xft.h:199: parse error before `*' token
/usr/include/X11/Xft/Xft.h:208: parse error before `*' token
/usr/include/X11/Xft/Xft.h:217: parse error before `*' token
/usr/include/X11/Xft/Xft.h:226: parse error before `*' token
/usr/include/X11/Xft/Xft.h:235: parse error before `*' token
/usr/include/X11/Xft/Xft.h:295: parse error before `*' token
/usr/include/X11/Xft/Xft.h:302: parse error before `*' token
/usr/include/X11/Xft/Xft.h:309: parse error before `*' token
/usr/include/X11/Xft/Xft.h:316: parse error before `*' token
/usr/include/X11/Xft/Xft.h:323: parse error before `*' token
/usr/include/X11/Xft/Xft.h:330: parse error before `*' token
/usr/include/X11/Xft/Xft.h:336: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:354: parse error before `*' token
/usr/include/X11/Xft/Xft.h:360: parse error before `*' token
/usr/include/X11/Xft/Xft.h:366: parse error before `*' token
/usr/include/X11/Xft/Xft.h:369: parse error before `*' token
/usr/include/X11/Xft/Xft.h:373: type specifier omitted for parameter `FcPattern
   '
/usr/include/X11/Xft/Xft.h:373: parse error before `*' token
/usr/include/X11/Xft/Xft.h:377: type specifier omitted for parameter `FcPattern
   '
/usr/include/X11/Xft/Xft.h:377: parse error before `*' token
/usr/include/X11/Xft/Xft.h:386: parse error before `)' token
/usr/include/X11/Xft/Xft.h:392: type specifier omitted for parameter `FcBool'
/usr/include/X11/Xft/Xft.h:392: parse error before `,' token
/usr/include/X11/Xft/Xft.h:399: parse error before `*' token
/usr/include/X11/Xft/Xft.h:405: parse error before `*' token
/usr/include/X11/Xft/Xft.h:413: parse error before `*' token
/usr/include/X11/Xft/Xft.h:418: parse error before `*' token
/usr/include/X11/Xft/Xft.h:426: parse error before `char'
/usr/include/X11/Xft/Xft.h:435: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:446: syntax error before `*' token
/usr/include/X11/Xft/Xft.h:461: parse error before `*' token
/usr/include/X11/Xft/Xft.h:516: parse error before `*' token
/usr/include/X11/Xft/Xft.h:529: parse error before `*' token
/usr/include/X11/Xft/Xft.h:542: parse error before `*' token
/usr/include/X11/Xft/Xft.h:555: parse error before `*' token
/usr/include/X11/Xft/Xft.h:568: parse error before `*' token
/usr/include/X11/Xft/Xft.h:581: parse error before `*' token
/usr/include/X11/Xft/Xft.h:594: parse error before `*' token
/usr/include/X11/Xft/Xft.h:607: parse error before `*' token
/usr/include/X11/Xft/Xft.h:620: parse error before `*' token
/usr/include/X11/Xft/Xft.h:627: syntax error before `*' token
make[3]: *** [Font.o] Error 1
make[3]: Leaving directory `/home/centro/fluxbox-0.1.14/src/FbTk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/centro/fluxbox-0.1.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/centro/fluxbox-0.1.14'
make: *** [all] Error 2
[fluxbox-0.1.14]#
how can i fix this?
when i did the configure i added --enable-kde to the end of it. should i leave that out"?
 
Old 05-18-2003, 06:56 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
n file included from XftFontImp.hh:28,
from Font.cc:34:
/usr/include/X11/Xft/Xft.h:35:31: freetype/freetype.h: No such file or directory
/usr/include/X11/Xft/Xft.h:36:35: fontconfig/fontconfig.h: No such file or directory
In file included from /usr/include/X11/Xft/Xft.h:43,
from XftFontImp.hh:28,
from Font.cc:34:
Apparently you didn't get the beginning of
the block of error messages ... but
Quote:
freetype/freetype.h: No such file or directory
gives a fair indication of the problem you
are facing :)

Try a "locate freetype.h" and see what it spits
out...

Cheers,
Tink
 
Old 06-03-2003, 09:37 PM   #3
centr0
Member
 
Registered: Feb 2003
Location: Earth
Distribution: Slackware 9.1
Posts: 134

Original Poster
Rep: Reputation: 15
i did a locate freetype.h

$: locate freetype.h
/usr/X11R6/include/fontconfig/fcfreetype.h
/usr/share/texmf/doc/help/Catalogue/entries/freetype.html
/usr/include/freetype2/freetype/freetype.h

is it not looking in the right dir for the file?
what should i do now? =\
 
Old 08-18-2004, 08:50 AM   #4
bsturner
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
fluxbox 0.1.14/freetype fix

I've been trying to get this to work for a while, and found a solution this morning. I've tested it on gentoo and slackware, and all seems fine.
The problem is that fluxbox is looking for the freetype libs in /usr/include/freetype and freetype2 puts them in /usr/include/freetype2/freetype. Just make a symlink to to the libs:

ln -s /usr/include/freetype2/freetype /usr/include/freetype


Also, if you're using gcc3, you might need to apply the fluxbox 0.1.14 gcc3 patch before you compile/



brian
 
  


Reply



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
Fluxbox installation Nicarlo Linux - Software 5 08-27-2005 12:37 PM
Fluxbox - Installation avinash_vas Linux - Software 6 01-12-2005 10:41 AM
Fluxbox installation Xon Linux - Software 9 10-13-2004 02:30 AM
Fluxbox installation issue mr_spooky Linux - Software 2 02-06-2004 07:48 PM
fluxbox installation sandy Linux - Newbie 1 09-27-2002 06:34 PM

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

All times are GMT -5. The time now is 11:00 PM.

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