* [9fans] page (gs) not working anymore
@ 2001-02-09 15:22 William Staniewicz
0 siblings, 0 replies; 3+ messages in thread
From: William Staniewicz @ 2001-02-09 15:22 UTC (permalink / raw)
To: 9fans
When I run this I now get the following:
term% page file.ps
reading through postscript...
postnote 321: sys: write on closed pipe pc=0x00014e04
I don't know what this means.
I think this relates to a problem with 'gs' specifically
because the 'page' works fine with .gif and .jpg files.
It was working normally before but I think I messed things
up when I did a 'mk install' in '/sys/src/cmd'. When I did
this I got some note about running out of swap space
and the whole thing froze up. I had to reboot the system
then.
I ran 'mk install', then 'mk clean' in '/sys/src/cmd/gs'
to see if that would help put things together but it
didn't help. Ideas?
-Bill
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] page (gs) not working anymore
@ 2001-02-10 16:38 William Staniewicz
0 siblings, 0 replies; 3+ messages in thread
From: William Staniewicz @ 2001-02-10 16:38 UTC (permalink / raw)
To: 9fans
Thank you. I ended up following your instructions as
quoted below. Ghostscript is now back and running
so the ps to pdf is possible now as you provided.
-Bill
> You should be able to do
>
> mount -c /srv/kfs /n/kfs
> disk/kfscmd allow
> wrap/inst -F -r /n/kfs /dist/plan9.9gz /386/bin/gs
>
> to get the original ghostscript binary back.
> If you didn't download the plan9.9gz file during
> the install, it won't be in /dist, so you'll
> have to substitute the correct path.
>
> Russ
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] page (gs) not working anymore
@ 2001-02-09 18:22 Russ Cox
0 siblings, 0 replies; 3+ messages in thread
From: Russ Cox @ 2001-02-09 18:22 UTC (permalink / raw)
To: 9fans
I ran 'mk install', then 'mk clean' in '/sys/src/cmd/gs'
to see if that would help put things together but it
didn't help. Ideas?
Do those backwards: run mk clean and then mk install
(and then mk clean again), and gs should come back.
Assuming gs was messed up, running mk install would
have just installed the messed-up binary (or done
nothing, if it were already there).
Of course, if you don't have enough memory to
compile gs, doing it again won't change that.
You should be able to do
mount -c /srv/kfs /n/kfs
disk/kfscmd allow
wrap/inst -F -r /n/kfs /dist/plan9.9gz /386/bin/gs
to get the original ghostscript binary back.
If you didn't download the plan9.9gz file during
the install, it won't be in /dist, so you'll
have to substitute the correct path.
Russ
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-02-10 16:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-09 15:22 [9fans] page (gs) not working anymore William Staniewicz
2001-02-09 18:22 Russ Cox
2001-02-10 16:38 William Staniewicz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).