LinuxQuestions.org
Help answer threads with 0 replies.
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 07-21-2007, 06:49 PM   #1
tranfuga
LQ Newbie
 
Registered: Jun 2004
Location: Urdinarrain
Distribution: Slackware - Debian
Posts: 12

Rep: Reputation: 0
Angry Ghostscript problem... HELP!!!!


Hi:

When trying to use gs, with any kind of parameters, even with no parameters get this:

Esteban@tranfuga:~/Ordenar/Himnario/listo$ /usr/bin/gs
ESP Ghostscript 815.04 (2007-03-14)
Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
CRIT: rangecheck in get
Operand stack:
PRIOR.ttf 0

Any have the same problem?
I've reinstalled espgs, remove and install it, install al the font's packages, but nothings seems to work...
Even compilatin from source espgs, get the same error..

I've run out of ideas...
I'm just upgrade to Slackware 12.0, non fresh install....

Thank for any help...
------------------------------------------------------------------------------------------------------------
Solution:
Delete ~/.fonts, ~/.fontconfig and .font.dir of the users directories after upgrade, and it will work...

Last edited by tranfuga; 07-22-2007 at 01:25 PM.
 
Old 07-22-2007, 04:54 AM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
Set up slackpkg and run it against a mirror. If you forgot to upgrade any packages, they will show up.
 
Old 07-22-2007, 08:46 AM   #3
tranfuga
LQ Newbie
 
Registered: Jun 2004
Location: Urdinarrain
Distribution: Slackware - Debian
Posts: 12

Original Poster
Rep: Reputation: 0
Doning:
slapt-get --update
slapt-get --upgrade
get no missing packages...
Shoud I try reinstall the sets?

My slaptget-rc:
EXCLUDE=^glibc.*,.*-[0-9]dl$,^devs$,aaa_elflibs,x86_64
SOURCE=http://slackware.osuosl.org/slackware-12.0/
SOURCE=http://software.jaos.org/slackpacks/12.0/
SOURCE=http://www.software-mirror.com/linuxpackages/Slackware-12.0/
SOURCE=http://lp.slackwaresupport.com/Slackware-12.0/
SOURCE=http://mirror.pacific.net.au/linux/slackware/slackware-12.0/

Last edited by tranfuga; 07-22-2007 at 08:55 AM.
 
Old 07-22-2007, 08:52 AM   #4
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
I don't use slapt-get, I suggest you try "slackpkg update" && "slackpkg upgrade-all".
 
Old 07-22-2007, 09:01 AM   #5
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
Any fonts you've installed in addition to the stock Slackware fonts?
 
Old 07-22-2007, 09:17 AM   #6
tranfuga
LQ Newbie
 
Registered: Jun 2004
Location: Urdinarrain
Distribution: Slackware - Debian
Posts: 12

Original Poster
Rep: Reputation: 0
I've installed lots of fonts on muy /.fonts/ directory, on my user account... but invoking gs as root get the same error...
 
Old 07-22-2007, 09:23 AM   #7
tranfuga
LQ Newbie
 
Registered: Jun 2004
Location: Urdinarrain
Distribution: Slackware - Debian
Posts: 12

Original Poster
Rep: Reputation: 0
about slackpkg, installing it, when I try to run slackpkg update get:

awk package not found! Please install awk before you run slackpkg,
as slackpkg cannot function without awk.

but
whereis awk:
awk: /bin/awk /usr/bin/awk /usr/X11R6/bin/awk /usr/bin/X11/awk /usr/X11/bin/awk /usr/libexec/awk /usr/share/awk /usr/man/man1/awk.1.gz /usr/share/man/man1/awk.1.gz /usr/X11/man/man1/awk.1.gz

Any Idea?
 
Old 07-22-2007, 10:03 AM   #8
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware 13.37
Posts: 573

Rep: Reputation: 59
Re your slaptget.rc
Quote:
Originally Posted by tranfuga
My slaptget-rc:
EXCLUDE=^glibc.*,.*-[0-9]dl$,^devs$,aaa_elflibs,x86_64
SOURCE=http://slackware.osuosl.org/slackware-12.0/
SOURCE=http://software.jaos.org/slackpacks/12.0/
SOURCE=http://www.software-mirror.com/linuxpackages/Slackware-12.0/
SOURCE=http://lp.slackwaresupport.com/Slackware-12.0/
SOURCE=http://mirror.pacific.net.au/linux/slackware/slackware-12.0/
IMHO, you really should only have one slackware mirror and the slapt-get mirror(jaos.org) in there. If you have sources of 3rd party packages in there you will get official packages getting overwritten and unwanted dependencies introduced. Rather keep the 3rd party mirrors commented out unless you are specifically checking for 3rd party package updates and then download the updates to them manually.

Re Slackpkg: That seems like you have an old version of slackpkg. Are you running slackpkg 2.61?

Last edited by Eternal_Newbie; 07-22-2007 at 10:17 AM.
 
Old 07-22-2007, 10:46 AM   #9
tranfuga
LQ Newbie
 
Registered: Jun 2004
Location: Urdinarrain
Distribution: Slackware - Debian
Posts: 12

Original Poster
Rep: Reputation: 0
Yes, the slackpkg it's version 2.61...
 
Old 07-22-2007, 10:55 AM   #10
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
What is the output of
Code:
ls -1 /var/log/packages/ | awk  -F - '{print $1}' | uniq -d
?
(attention, the letter after ls is a lowercase L).

Last edited by uselpa; 07-22-2007 at 10:58 AM.
 
Old 07-22-2007, 11:03 AM   #11
tranfuga
LQ Newbie
 
Registered: Jun 2004
Location: Urdinarrain
Distribution: Slackware - Debian
Posts: 12

Original Poster
Rep: Reputation: 0
root@tranfuga:/home/Esteban/Desktop# ls -l /var/log/packages/ | awk -F - '{print $1}' | uniq -d

root@tranfuga:/home/Esteban/Desktop#
whit an L lowercase on ls

Last edited by tranfuga; 07-22-2007 at 11:06 AM.
 
Old 07-22-2007, 11:19 AM   #12
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
Gosh, I'm so bad at awk... try
Code:
ls -1 /var/log/packages/ | sort | awk  -F '-' '{ printf("%s",$1); for(i=2;i<=(NF-3);i++) {printf("-%s",$i)} printf("\n") }' | uniq -d
And of course the '-1' after ls is a ONE not an L... (best is you just copy paste).
 
Old 07-22-2007, 11:26 AM   #13
tranfuga
LQ Newbie
 
Registered: Jun 2004
Location: Urdinarrain
Distribution: Slackware - Debian
Posts: 12

Original Poster
Rep: Reputation: 0
in that case:

ls -1 /var/log/packages/ | sort | awk -F '-' '{ printf("%s",$1); for(i=2;i<=(NF-3);i++) {printf("-%s",$i)} printf("\n") }' | uniq -d
get nothing...

but
root@tranfuga:/home/Esteban/Desktop# ls -1 /var/log/packages/ | awk -F - '{print $1}' | uniq -d
alsa
apr
aspell
dbus
font
gcc
gettext
gimp
glibc
hal
k3b
kernel
libwmf
man
net
openssl
poppler
qca
sysvinit
util
xf86
xine
xorg
root@tranfuga:/home/Esteban/Desktop#

Last edited by tranfuga; 07-22-2007 at 11:28 AM.
 
Old 07-22-2007, 11:31 AM   #14
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
If my awk script doesn't return anything then you don't have duplicate packages. Your script is wrong because there's a lot of packages (namely those you list) where the first field contains hyphens itself.

I'm running out of ideas as well.
 
Old 07-22-2007, 11:52 AM   #15
tranfuga
LQ Newbie
 
Registered: Jun 2004
Location: Urdinarrain
Distribution: Slackware - Debian
Posts: 12

Original Poster
Rep: Reputation: 0
after make slapt-get --dist-upgrade --remove-obsolete and free almost of 600Mb of installed packages, slackpkg started to work.. now it's downloading tk and tcl as well...
About the gs command, making a google search of that error, get any result except links to the PIOR.ttf font file to donwload. Even I install it on system, but the error persist...
If I compile ESP Ghostscript from sources, get the same error...
May be a bug?
Any one can reproduce the same error?

There is no duplicated packages and theres no packages from 11 version as well..
may be this help
Every time that I reinstall espgs package get the follow error:
cat: libfontconfig.so: No such file or directory
cat: libfontconfig.so.1: No such file or directory

the package is installed and libfontconfig.so and libfontconfig.so.1 exist in /usr/lib
in almost every package that I try to install get the same error

Last edited by tranfuga; 07-22-2007 at 11:53 AM.
 
  


Reply

Tags
ghostscript, slackware


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
Cups/Ghostscript Problem lman817 Linux - Software 3 06-10-2005 01:34 AM
Ghostscript starting problem satimis *BSD 3 06-14-2004 10:38 PM
GhostScript 7.05 polarcat Slackware 1 01-14-2003 06:44 PM
need ghostscript help!!! sarah_777 Linux - Newbie 7 05-09-2002 10:40 AM
Ghostscript Bill Moehring Linux - Newbie 0 08-23-2001 07:59 PM


All times are GMT -5. The time now is 08:23 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration