You are not logged in.

#1 2003-09-24 19:21:16

linfocito
Member
From: Gurupi - TO, Brasil
Registered: 2003-05-18
Posts: 82

Ghostscript doesn't find gs_init.ps [FXx]

Every time I try to use gs (directly or to print files) it doesn't work and complain:

"ESP Ghostscript 7.07.1: Can't find initialization file gs_init.ps."

and I can't find that file neither. Shouldn't ghostscript package install it?


"...archoholism is a hard disease to cure..."
Archlinux Brasil

Offline

#2 2003-09-24 22:24:14

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Ghostscript doesn't find gs_init.ps [FXx]

well i don't use the ghostscript in official because i don't use cups. i did, however, rebuild the ghostscript-lprng package in unofficial last night (before you go and install that it will not work with cups) and this is what i get when i run a search for that file:

sarah@ArchLinux:~/Arch/unofficial/games/prboom> locate gs_init.ps
/usr/share/ghostscript/7.07/lib/gs_init.ps

you may wish to run a "pacman -Ql ghostscript" if it does not list the needed file i would first try removing ghostscript with the command:

pacman -Rd ghostscript

then remove the package from /var/cache/pacman/pkg then:

pacman -S ghostscript

perhaps your copy might have been corrupted during download.

if you still have problems after that compare the official ghostscript PKGBUILD to the ghostscript-lprng PKGBUILD. perhaps there are differences that make the official version not build properly. make any changes and rebuild with makepkg.

if there are no differences rebuild anyway to see if the build was just bad.

anyway if you pin t down to a definite bug in the official package please file a bug report so that it may be fixed.


AKA uknowme

I am not your friend

Offline

#3 2003-09-25 05:40:14

hApy
Member
From: Victoria, BC
Registered: 2003-04-13
Posts: 194
Website

Re: Ghostscript doesn't find gs_init.ps [FXx]

yeah I'm just running into this today as well --- the /usr/share/ghostscript/7.05/lib directory is very sparse in the non-lprng version

Hapy.

Offline

#4 2003-09-25 05:44:49

hApy
Member
From: Victoria, BC
Registered: 2003-04-13
Posts: 194
Website

Re: Ghostscript doesn't find gs_init.ps [FXx]

in fact the directory should be /usr/share/ghostscript/7.07/lib, I would think

Hapy.

Offline

#5 2003-09-25 14:39:30

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Ghostscript doesn't find gs_init.ps [FXx]

yes it should be 7.07


AKA uknowme

I am not your friend

Offline

#6 2003-09-25 15:35:11

linfocito
Member
From: Gurupi - TO, Brasil
Registered: 2003-05-18
Posts: 82

Re: Ghostscript doesn't find gs_init.ps [FXx]

I didn't figure out the cause of the problem. The fact is that the non-lprng ghostscript pkg just built a few parts of /usr/share/ghostscript (I think it's on pupose, once it's made to be used with cups).

Anyway, I'm giving up cups. Just started to install pdq and try to adapt (ghostscript, psutils, a2ps, etc)-lprng to it.


"...archoholism is a hard disease to cure..."
Archlinux Brasil

Offline

#7 2003-09-25 16:42:33

morphus
Member
From: Braunschweig
Registered: 2003-08-06
Posts: 145

Re: Ghostscript doesn't find gs_init.ps [FXx]

I just had the same problems as above; so I built the package in /usr/abs/system/ghostscript und reinstalled gv and now another problem occurs when I try to view a *.ps file with gv:

Error: /invalidfont in findfont
*snip*
ESP Ghostscript 7.07.1: Unrecoverable error, exit code 1

Any suggestion?

Offline

#8 2003-09-25 17:14:11

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Ghostscript doesn't find gs_init.ps [FXx]

try rebuilding gv.


AKA uknowme

I am not your friend

Offline

#9 2003-09-25 17:51:32

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: Ghostscript doesn't find gs_init.ps [FXx]

There was a bug in the ghostscript build.  I should have a working version up later today.  Sorry, all.

Offline

#10 2003-09-25 18:03:22

morphus
Member
From: Braunschweig
Registered: 2003-08-06
Posts: 145

Re: Ghostscript doesn't find gs_init.ps [FXx]

Thanks smile


btw. I just tried to build gv with abs, but another failure occured. I just leave it for now until the new ghostscript-package is ready.

Edit:
So finally gv is working now. It was a problem with finding the right fonts in ghostscript. If you type gs -h you see what directories he is searching for the fonts. So I created the Folder /usr/usr/share/ghostscript/fonts and copied all the files from the folder /usr/share/ghostscript/7.07/lib to the above mentioned.

btw. is this a typo in the config: /usr/usr/...? could be the problem at all...

Offline

Board footer

Powered by FluxBB