LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-13-2008, 06:46 PM   #1
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,296

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
Font error when starting slcreator.


I get the following error when I launch slcreator from the command line.

Quote:
slcreator
Fontconfig warning: no <cachedir> elements found. Check configuration.
Fontconfig warning: adding <cachedir>/var/cache/fontconfig</cachedir>
Fontconfig warning: adding <cachedir>~/.fontconfig</cachedir>
The GUI does launch. I see a small box for each character that should be present for the various buttons and menus.

I though for a while this may have somthing to do with Gambas. But I can not find a solution. I installed these Gambas packages using URPMI.

Quote:
gambas-runtime

gambas-gb-qt

gambas-gb-qt-ext

gambas-gb-sdl
I'm running Mandriva 2008.1 ( Spring ). All other programs do not have problems with fonts.

I did some googling, but have not found a solution.

Suggestions anyone?
 
Old 12-16-2008, 01:06 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637

Rep: Reputation: Disabled
Did you check the permissions of the directories, where it wants to install its file(s)?
 
Old 12-16-2008, 09:34 AM   #3
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,296

Original Poster
Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
Thank-you for the reply.

I looked at the permissions for slcreator. This file is a script, and installed to /usr/bin. Directory permissions are rwxr-xr-x, so I think that should be O.K. I did find a reference in the documentation, that the user has to have write access to /tmp. I do, I tested it by writing a test file with gedit.

I installed the Gambas packages using URPMI, so I believe any pre-req stuff for Gambas should be taken care of. Now slcreator is a script. It has a config file here -->
Quote:
/home/cliff/.gambas/slcreator.conf
The file has a few things in it, but nothing I can associate with fonts.

Any fonts I have installed were either part of the original system install, or I added them after the fact using URPMI. So, URPMI seems to look after pre-reqs with out problems.

I had a look through the README files that came with the package. Most of that info has to do with compiling Gambas.

This thing seems to fail looking for what ever font it wants. That whole mechanism is complex, and is working for any other app I have installed. For what ever reason it can not find the cache-dir. They exist on this system.

Any other thoughts?
 
Old 12-16-2008, 09:39 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637

Rep: Reputation: Disabled
No, I didn't mean slcreator itself but the parent-directories above the to be created fontcaches, i.e. "/var/cache/fontconfig" and "/var/cache" as well as "~/.fontconfig" (in case that is a directory). Just to be on the secure side look at ~ as well.

What goups and users have slcreator and gambas?
 
Old 12-16-2008, 09:55 AM   #5
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,296

Original Poster
Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
Here are the directory permissions -

Quote:
cliff@duelie> ls -ld /var/cache/fontconfig
drwxr-xr-x 2 root root 4096 2008-12-14 19:56 /var/cache/fontconfig/
cliff@duelie> ls -ld /var/cache
drwxr-xr-x 13 root root 4096 2008-08-07 16:45 /var/cache/
cliff@duelie> ls -ld /var
drwxr-xr-x 17 root root 4096 2008-08-05 07:08 /var/
cliff@duelie> ls -ld ~/.fontconfig
drwxrwxr-x 2 cliff cliff 4096 2008-12-15 14:02 /home/cliff/.fontconfig/
Not sure what you are asking here.
Quote:
What goups and users have slcreator and gambas?
Gambas and slcreator are programs. There are no users for either.

I tried running slcreator as root, same problem, no cachedir elements found. Just little boxes instead of letters.

Last edited by camorri; 12-16-2008 at 09:57 AM.
 
Old 12-17-2008, 01:31 AM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637

Rep: Reputation: Disabled
I'm fumbling in the dark here. Still, just to be on the secure side issue a "chmod 777 /var/cache/fontconfig", "chmod 777 /var/cache" and "chmod 777 ~/.fontconfig" and try again. Don't forget to reset to the original values after the test.

Even though Gambas and slcreator are programs, they are still registered for a user and belong to a group. Just issue a "ll Gambas" and "ll slcreator" and have a look. Maybe, just maybe that will give us a clue.

Sorry that I can't come up with anything more substantial.
 
Old 12-17-2008, 09:51 AM   #7
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,296

Original Poster
Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
O.K. I have tried chmod 777 on the directories you suggested. Slcreator still fails the same way.

Gambas is a group of files located in /usr/lib/gambas. I Chmoded it also, with no change.

Gambas components and Slcreator are user root and group root. ASAIK, that is normal for programs installed by root.

I'm in the dark too. My best guess right now is that this has something to do with the .rpm file I installed for slcreator. It was a rpm, so I would guess it was compiled for some version of red hat or fedora. There may be some difference in those systems how they go looking for fonts.

I think what I'll try next is to get the source for slcreator, and compile it on my mandy system. That should keep me out of trouble for a while....

Thank-you for your help. I'll update this thread with the results.
 
  


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
X11 not starting, font problem? helloworldlinux Linux - Newbie 3 06-09-2007 07:05 PM
slcreator can't start phoenixenigma Linux - Software 1 03-05-2006 12:21 AM
Problem starting x window - font server jcolon Linux - Software 3 06-22-2005 05:45 PM
Finally got KDE 3.2.2 installed, but now have a font error when starting Konsole blk96gt Slackware 5 08-03-2004 01:29 AM
Starting font server after installing fonts. darksky *BSD 0 09-03-2003 06:38 PM

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

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