LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 10-30-2006, 02:01 PM   #1
RaVeN-dX
LQ Newbie
 
Registered: Oct 2006
Location: Belgium
Distribution: slackware 11
Posts: 2

Rep: Reputation: 0
Fontconfig Trouble


Hello, it's my first message in this forum and my english is not really nice catch this in your head

my problem is when i try to run firefox, gftp or a couple of other application i can see this:



Quote:
root@darkstar:~# gaim
Fontconfig error: Cannot load default config file
No fonts found; this probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page

root@darkstar:~# gftp
Fontconfig error: Cannot load default config file
No fonts found; this probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page

root@darkstar:~# firefox
Fontconfig error: Cannot load default config file
/usr/lib/firefox/run-mozilla.sh: line 131: 12468 Segmentation fault "$prog" ${1+"$@"}
after some head crush on my keyboard and help from google, i have install Fontconfig 2.4.1 from source, but this think don't fix the problem.

Quote:
root@darkstar:~/fontconfig-2.4.1# firefox
Fontconfig error: Cannot load default config file
/usr/lib/firefox/run-mozilla.sh: line 131: 12488 Segmentation fault "$prog" ${1+"$@"}
and when i try "export FONTCONFIG_PATH=/etc/fonts"

Quote:
root@darkstar:~# cd fontconfig-2.4.1
root@darkstar:~/fontconfig-2.4.1# export FONTCONFIG_PATH=/etc/fonts
root@darkstar:~/fontconfig-2.4.1# firefox
Firefox run fine, BUT only in the fontconfig-2.4.1 directory, and this bug reapair at next reboot or when i leave the directory !? why ?

If some one can help me, tanks
 
Old 10-31-2006, 03:17 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I am not sure how you can permanently resolve the fontconfig problem, but as a workaround, put
Code:
export FONTCONFIG_PATH=/etc/fonts
in your ~/.bash_profile, then log out and back in again.
 
Old 10-31-2006, 11:49 AM   #3
RaVeN-dX
LQ Newbie
 
Registered: Oct 2006
Location: Belgium
Distribution: slackware 11
Posts: 2

Original Poster
Rep: Reputation: 0
All right the problem is a miscompiled fontconfig

i juste changed some value line in fontconfig-2.4.1/src/Makefile

------SNIP-----------

....
sysconfdir = /etc
...
CONFDIR = ${sysconfdir}/fonts
...
INCLUDES = $(FREETYPE_CFLAGS) $(EXPAT_CFLAGS) -DFONTCONFIG_PATH='"$(CONFDIR)"' -I$(top_srcdir) -I$(top_srcdir)/src

-----------------

./configure; make; make install,

Now all work fine
 
  


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
installing GTK, tough fontconfig trouble jagerhans Linux - Software 3 04-06-2006 08:59 AM
where is fontconfig.pc darkleaf Debian 3 09-26-2004 01:13 PM
Another problem........fontconfig-2.2.2 / fontconfig-2.2.94 xonner Linux - Software 2 04-28-2004 10:13 PM
where is fontconfig.pc ? toships Linux - Newbie 5 02-28-2004 06:52 PM
xft.pc and/or fontconfig.pc rose_bud4201 Linux - Software 1 04-09-2003 01:19 AM

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

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