I needed to install GTK2 to run eclipse.. With my desktop this went smoothly and less thatn 30 mins I got everything fixed. But now with my laptop I used same sources, configured them, make and make installs went through without errors, but now when I try to launch eclipse i get: "No fonts found, this propably means that the fontconfig library is not correctly configured. You may need to edit the fonts.conf" I have fonts installed, Ihave installed: pkgconfig Xft (Xft2) fontconfig 2.1 glib 2.2.0 atk-1.2.0 Pango-1.2.0 gtk+-2.2.0 Any ideas how to get this working ? Pete
On Tue, 31 Dec 2002 16:55:18 +0200
p p
I needed to install GTK2 to run eclipse.. With my desktop this went smoothly and less thatn 30 mins I got everything fixed. But now with my laptop I used same sources, configured them, make and make installs went through without errors, but now when I try to launch eclipse i get: "No fonts found, this propably means that the fontconfig library is not correctly configured. You may need to edit the fonts.conf"
I have fonts installed,
Ihave installed:
pkgconfig Xft (Xft2) fontconfig 2.1 glib 2.2.0 atk-1.2.0 Pango-1.2.0 gtk+-2.2.0
Any ideas how to get this working ?
Isn''t there a "setfontsdir" script in the fc_2.1/fontconfig directory? Maybe try copying the /etc/fonts/fonts.conf from the desktop to the laptop, assuming the fonts are the same? I just upgraded to gtk2.2 going on my desktop. I had to fight with it, and reinstall a couple of times, but finally it took. I don't know how I did it. I better backup now. :-) I got your same error somewhere along the way. My big stumbling block was not installing the packages in the precise order specified by the gtk install page. Glib2.2 , then pango, then atk, the gtk2. And pango needed libiconv and the fontconfig package. And pkg-config needed to be upgraded first, so that meant syncing the /usr/lib/pkgconfig directory with the newer /usr/local/lib/pkgconfig. Why does it have to be so hard? -- use Perl; #powerful programmable prestidigitation
On Tue, 31 Dec 2002 12:14:01 -0500
zentara
through without errors, but now when I try to launch eclipse i get: "No fonts found, this propably means that the fontconfig library is not correctly configured. You may need to edit the fonts.conf"
I have fonts installed,
Any ideas how to get this working ?
Isn''t there a "setfontsdir" script in the fc_2.1/fontconfig directory?
Hi again, I played around some more to try and recreate the error, and I somehow got a fix for you. Don't ask me how or why, these are the steps I took. I did recreate the problem with the message appearing "you may need to edits the fonts.conf". 1. Made a ".fonts.conf" in my homedir containing: <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <dir>/usr/X11R6/lib/X11/fonts/truetype</dir> </fontconfig> 2. Went to the fcpackage.2_1 source directory, and as root ran the 2 scripts "fc-cache" and "fc-list". Then when I started my app (Pan-13.3) I didn't get the error and had Truetype fonts. :-) I guess before the problem got solved for me, because yast2 went and reinstalled the older versions of the glib2 and gtk2 in /usr/lib, while I thought I was using the 2.2 versions installed in /usr/local/lib. Anyways when I removed the libs from /usr/lib to force using the 2.2 versions, I got the "fonts.conf error" until I did the above steps. HTH -- use Perl; #powerful programmable prestidigitation
zentara wrote:
On Tue, 31 Dec 2002 12:14:01 -0500 zentara
wrote: through without errors, but now when I try to launch eclipse i get: "No fonts found, this propably means that the fontconfig library is not correctly configured. You may need to edit the fonts.conf"
I have fonts installed,
Any ideas how to get this working ?
Isn''t there a "setfontsdir" script in the fc_2.1/fontconfig directory?
Hi again, I played around some more to try and recreate the error, and I somehow got a fix for you. Don't ask me how or why, these are the steps I took. I did recreate the problem with the message appearing "you may need to edits the fonts.conf".
1. Made a ".fonts.conf" in my homedir containing:
<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <dir>/usr/X11R6/lib/X11/fonts/truetype</dir> </fontconfig>
2. Went to the fcpackage.2_1 source directory, and as root ran the 2 scripts "fc-cache" and "fc-list".
Then when I started my app (Pan-13.3) I didn't get the error and had Truetype fonts. :-)
I guess before the problem got solved for me, because yast2 went and reinstalled the older versions of the glib2 and gtk2 in /usr/lib, while I thought I was using the 2.2 versions installed in /usr/local/lib.
Anyways when I removed the libs from /usr/lib to force using the 2.2 versions, I got the "fonts.conf error" until I did the above steps.
HTH
Hi Those scripts did the trick for me. Thanks alot. If this list would have same system than forums.java.sun.com, I'd award you with bag full of duke dollars :-) P_
participants (2)
-
p p
-
zentara