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... :) |
Set up slackpkg and run it against a mirror. If you forgot to upgrade any packages, they will show up.
|
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/ |
I don't use slapt-get, I suggest you try "slackpkg update" && "slackpkg upgrade-all".
|
Any fonts you've installed in addition to the stock Slackware fonts?
|
I've installed lots of fonts on muy /.fonts/ directory, on my user account... but invoking gs as root get the same error...
|
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? |
Re your slaptget.rc
Quote:
Re Slackpkg: That seems like you have an old version of slackpkg. Are you running slackpkg 2.61? |
Yes, the slackpkg it's version 2.61...
|
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). |
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 |
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 |
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# |
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. |
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 |
Well... I find what seems to be the problem
I'm look al runnning gs on root acount, and one of the paths where gs looks for fonts was at a collection of fonts in my user account... deleting the dir ~/.fonts and ~/.fontconfig and fonts.dir, make that gs work normally again... Thank for the time that spend on my... Tranfuga |
All times are GMT -5. The time now is 08:41 AM. |