LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-10-2012, 08:33 PM   #1
VisionIncision
Member
 
Registered: Dec 2011
Location: London, UK
Distribution: Slackware64 14
Posts: 98

Rep: Reputation: Disabled
Fontconfig problem with Mathematica 8


Hi all,
So I downloaded a trial version of Mathematica 8, and cannot get it to work on Slackware64 14.00. I am sure its font related as GNUPlot also moans about font issues.

When trying to start Mathematica from the terminal:-

Code:
mktemp: cannot create temp file /tmp/fontsXXXXX: Invalid argument
/usr/local/bin/mathematica: line 218: ${TMP_FONTCONFIG_FILE}: ambiguous redirect
Fontconfig warning: no <cachedir> elements found. Check configuration.
Fontconfig warning: adding <cachedir>/var/cache/fontconfig</cachedir>
Fontconfig warning: adding <cachedir>~/.fontconfig</cachedir>
Any insight would be great.
 
Old 10-11-2012, 04:40 AM   #2
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by VisionIncision View Post
Hi all,
So I downloaded a trial version of Mathematica 8, and cannot get it to work on Slackware64 14.00. I am sure its font related as GNUPlot also moans about font issues.
Probably that's a different problem. For gnuplot you can use the full path to a font file to specify a font.


Quote:
Originally Posted by VisionIncision View Post
When trying to start Mathematica from the terminal:-

Code:
mktemp: cannot create temp file /tmp/fontsXXXXX: Invalid argument
/usr/local/bin/mathematica: line 218: ${TMP_FONTCONFIG_FILE}: ambiguous redirect
Fontconfig warning: no <cachedir> elements found. Check configuration.
Fontconfig warning: adding <cachedir>/var/cache/fontconfig</cachedir>
Fontconfig warning: adding <cachedir>~/.fontconfig</cachedir>
Any insight would be great.
It may be helpful to insert a "set -x" (without quotes) to the beginning of the script "/usr/local/bin/mathematica".
 
Old 10-12-2012, 04:05 AM   #3
VisionIncision
Member
 
Registered: Dec 2011
Location: London, UK
Distribution: Slackware64 14
Posts: 98

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by guanx View Post
Probably that's a different problem. For gnuplot you can use the full path to a font file to specify a font.



It may be helpful to insert a "set -x" (without quotes) to the beginning of the script "/usr/local/bin/mathematica".
Unfortunately, nothing happens. Thanks anyway.
 
Old 10-12-2012, 04:11 AM   #4
Petri Kaukasoina
Member
 
Registered: Mar 2007
Posts: 241

Rep: Reputation: 86
Quote:
Originally Posted by VisionIncision View Post

Code:
mktemp: cannot create temp file /tmp/fontsXXXXX: Invalid argument
There seems to be a mistake in that script: one X is missing. Look for 'mktemp /tmp/fontsXXXXX' and add the sixth X to that.
 
1 members found this post helpful.
Old 10-12-2012, 04:29 AM   #5
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by Petri Kaukasoina View Post
There seems to be a mistake in that script: one X is missing. Look for 'mktemp /tmp/fontsXXXXX' and add the sixth X to that.
Very sharp eyes!

Quote:
Originally Posted by VisionIncision View Post
Unfortunately, nothing happens. Thanks anyway.
In *nix if "nothing happens" then everything is successful.
 
Old 10-12-2012, 04:51 AM   #6
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,407

Rep: Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853
Quote:
Originally Posted by Petri Kaukasoina View Post
There seems to be a mistake in that script: one X is missing. Look for 'mktemp /tmp/fontsXXXXX' and add the sixth X to that.
yupz, looks like an error in Mathematica's launch scripts: changing that in line 202 of the Mathematica one fixed launching it here.
 
Old 10-16-2012, 04:17 PM   #7
VisionIncision
Member
 
Registered: Dec 2011
Location: London, UK
Distribution: Slackware64 14
Posts: 98

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
yupz, looks like an error in Mathematica's launch scripts: changing that in line 202 of the Mathematica one fixed launching it here.
Sorry, I know its been a while, but BRILLIANT!!!!

Thank you.
 
  


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
fatal error: fontconfig/fontconfig.h: No such file or directory bogzab Slackware 3 11-07-2011 03:13 PM
Problem in installing Mathematica 5.2 on FC5 somitras Linux - Software 2 03-22-2007 09:19 AM
Problem with Mathematica 5.2 and Maple 10.06 suses Linux - Software 0 03-15-2007 10:13 PM
problem with fontconfig adilturbo Linux - Newbie 0 06-24-2006 08:59 PM
Another problem........fontconfig-2.2.2 / fontconfig-2.2.94 xonner Linux - Software 2 04-28-2004 10:13 PM


All times are GMT -5. The time now is 04:12 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration