View previous topic :: View next topic |
Author |
Message |
weijia n00b
Joined: 14 Sep 2002 Posts: 57
|
Posted: Wed Jan 08, 2003 3:47 pm Post subject: xft-2.0.1 compile error |
|
|
I have been trying to emerge the latest xft (xft-2.0.1-r1). However, on every try I get the following error:
Code: |
configure: creating ./config.status
config.status: creating Makefile
config.status: creating xft.pc
config.status: creating xft-config
config.status: creating config.h
gcc -march=athlon -O3 -pipe -fomit-frame-pointer -I. -DHAVE_CONFIG_H -I/usr/X11R
6/include -I/usr/include/freetype2 -I/usr/include -fPIC -DPIC -c xftcolor.c -o x
ftcolor.o
gcc -march=athlon -O3 -pipe -fomit-frame-pointer -I. -DHAVE_CONFIG_H -I/usr/X11R
6/include -I/usr/include/freetype2 -I/usr/include -fPIC -DPIC -c xftcore.c -o xf
tcore.o
gcc -march=athlon -O3 -pipe -fomit-frame-pointer -I. -DHAVE_CONFIG_H -I/usr/X11R
6/include -I/usr/include/freetype2 -I/usr/include -fPIC -DPIC -c xftdbg.c -o xft
dbg.o
gcc -march=athlon -O3 -pipe -fomit-frame-pointer -I. -DHAVE_CONFIG_H -I/usr/X11R
6/include -I/usr/include/freetype2 -I/usr/include -fPIC -DPIC -c xftdpy.c -o xft
dpy.o
xftdpy.c: In function `XftDefaultSubstitute':
xftdpy.c:484: `FC_RGBA_UNKNOWN' undeclared (first use in this function)
xftdpy.c:484: (Each undeclared identifier is reported only once
xftdpy.c:484: for each function it appears in.)
make: *** [xftdpy.o] Error 1
make: *** Waiting for unfinished jobs....
!!! ERROR: x11-libs/xft-2.0.1-r1 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! Xft2 make failed
|
This error also occurs on emerging of xft-2.0.1.ebuild
I have the latest xfree and freetype versions installed (4.2.1-r2 and 2.1.3-r2, respectively). xft-2.0-r1 compiles fine. Any ideas? Thanks
Weijia |
|
Back to top |
|
|
sa Guru
Joined: 10 Jun 2002 Posts: 450
|
Posted: Thu Jan 09, 2003 2:28 am Post subject: |
|
|
hmm, weird.
I find that FC_RGBA_UNKNOWN is defined in /usr/include/fontconfig/fontconfig.h on line 112
which should be included via
xftdpy.c->"xftint.h"->"Xft.h"-> <fontconfig/fontconfig.h>
can you check for this file, mabey its not there or its the wrong version?
hth,
sa |
|
Back to top |
|
|
weijia n00b
Joined: 14 Sep 2002 Posts: 57
|
Posted: Thu Jan 09, 2003 4:08 am Post subject: |
|
|
Thanks for the reply. FC_RGBA_UNKNOWN is defined as follows on line 112 in /usr/include/fontconfig/fontconfig.h
Code: |
#define FC_RGBA_UNKNOWN 0
|
Still getting the compile errors... |
|
Back to top |
|
|
foser Retired Dev
Joined: 28 Oct 2002 Posts: 154
|
Posted: Thu Jan 09, 2003 5:07 pm Post subject: |
|
|
Then there must be other fontconfig headers around, look for them, check which package they belong to and clean up that package (-c) or upgrade it if you can't. If you properly clean your system they shouldnt be around. _________________ Gentoo Gnome Desktop team |
|
Back to top |
|
|
synic n00b
Joined: 11 Jan 2003 Posts: 49 Location: SLC, Utah
|
Posted: Sat Jan 11, 2003 7:46 am Post subject: Any solution? |
|
|
Have you found any solution to this problem? I get the same error.
Thanks |
|
Back to top |
|
|
foser Retired Dev
Joined: 28 Oct 2002 Posts: 154
|
Posted: Sat Jan 11, 2003 4:10 pm Post subject: |
|
|
read my post, that _is_ the solution. _________________ Gentoo Gnome Desktop team |
|
Back to top |
|
|
weijia n00b
Joined: 14 Sep 2002 Posts: 57
|
Posted: Mon Jan 13, 2003 8:23 pm Post subject: |
|
|
Thanks for the help foser. I looked around and realized that there was an old fontconfig.h located in /usr/local/include/fontconfig
deleting this fontconfig folder seems to have fixed the problem.
Weijia |
|
Back to top |
|
|
rob3rt n00b
Joined: 18 Apr 2002 Posts: 12 Location: Prague, Czech Republic
|
Posted: Sat Jul 26, 2003 12:00 pm Post subject: fontconfig issue |
|
|
I found out, there was no fotnconfig.h on my computer. Strange I know, especialy when emerge -s fontconfig whos everything ok. Anyway after reemerging fontconfig, I can compile xft-2.0.1-r2. bye _________________ Smol Robert
robert.smol<at>stereoit.com |
|
Back to top |
|
|
|