View Single Post

   
  #7 (permalink)  
Old 02-18-2008, 11:33 AM
Skyname
 
Posts: n/a
Default Re: Please help me with HP710C, CUPS and Slack9.0 :(

>> sh: line1nm2ppa: command not found
>> ESP Ghostscript 7.05.6: Can't find initialization file gs_init.ps

>
>> but i have got this file (gs_init.ps) in
>> /usr/share/ghostscript/7.05/lib directory

>
> look at the error above it!
> it can not find the command "pnm2ppa"


Yes, yesterday, finally I installed pnm2ppa (thanks to Beej Jorgensen)
now, when i am trying to print, cups's error.log shows me only the second
error about GS_INIT.PS

>> Search path:
>> . : NONE/share/ghostscript/7.05/lib : NONE/share/ghostscript/fonts :

>
> okay, this is exactly what i got the first time that i compiled
> ghostscript. for some reason the configure script isn't doing what
> it's supposed to do. pay attention to the path: NONE/blah/blah/...
> notice the "NONE" ? [0]
> doesn't this look like a non existing path ?
> i thought so.


YES, exactly, i noticed this THING and i even tries to correct this thing
by:
"export GS_LIB=/usr/share/ghostscript/7.05/lib"
then "gs -h" showed me the search path including this from GS_LIB, but it
didn't help . I tried to set LD_LIBRARY_PATH, and GS_FONTPATH but
nothing happened

> now, you may have re-installed the ghostscript package, but your
> previously compiled ghostscript binary is still sitting in
> /usr/local/bin, which will be executed before /usr/bin, where your
> package ghostscript binary sits.


oh, than i have to check it...

> now it's up to you, either remove the one you compiled, and use the
> slackwarepackage, but you'll need to figure out what other packages
> it needs (this is why i compiled my own, it was linked against alot
> of things i did not want to install)


i did a full install of slack so maybe it won't need anything else

> or, you can remove the package, and recompile from source, this
> tiome, giving the configure script the correct parameters, and
> feeding it a reasonable value for "datadir"


Yes, i Did this i used this command:
"./configure --prefix=/usr" - and the ghostscript directory showed like
from package but when i tried "gs -h" there was "path: NONE/blah/blah/..."
again
i tried even
"./configure --prefix=/usr --with-fontpath=/usr/ghostscript/fonts" - cause
i had this directory when i installed the package, but it didn't fix the
problem.

> give it a go, and your printer should start to spit out your prints


i will fight for my right tooooooo priiiiiiiinnnteerrrr hehe

> [0] have a look in your ghostscript source dir now,
> you'll notice that there is a directory called "NONE" which holds
> part of the installation


yeah i even tried to rename it to USR - didn't help


Okey, now i am going to erase all the GS files :-E, pray for my Slack
I will post soon

THANKS for help !!!!!! This means a lot to me.
Bye !
Reply With Quote