[comp.sys.acorn] GhostScript and Shared C Library

dahe@cl.cam.ac.uk (David Elworthy) (05/14/91)

I said in a posting yesterday that some people had had problems with
GhostScript. When they tried to start it, they got "shared C library out of
date". This message comes from the C "Stubs" library, which is the interface
to the CLib module - it checks that the version of the module loaded is
consistent with what it is expecting from it. GhostScript was developed with
the (unreleased) version 3.69 of CLib, and the corresponding Stubs. I had a
look round my hard discs and backup floppies yesterday, but I've been unable
to find an earlier version of Stubs, so I am unable to recompile it to work
with CLib 3.50 or 3.66.

If anyone wants to do this, there are some points to note. Firstly, the
makefile is *not* compatible with the standard Acorn version of make
(something I've only just discovered), so if this is all you have, you will
have to either fiddle with it, or just compile each source file individually.
Look at GLibVia and ILibVia to find the files which form the GLib and ILib
libraries (which you make with libfile). Then look at the target line for
!RunImage in the makefile to see what else you need to do the overall build.
(Off the top of my head, I *think* the files you will need to compile are gs.c,
gsmain.c, utrace.c, gp_arc.c, gdevarc.c and the WimpPlus files wimpc.c and
wimpio.c, but I would advise you to check this). Finally, I think a change is
necessary in gs.c for earlier version of Stubs. In the "main" function, the
call to wimpc_init must be moved to before any of the calls to gs_malloc, so
the heap is initialised at the right time.

I apologise again for the nuisance this has caused. When I upgraded, I simply
didn't expect or know that I would need earlier versions of things.

-- david elworthy

gtoal@castle.ed.ac.uk (G Toal) (05/15/91)

In article <1991May14.091627.14770@cl.cam.ac.uk> dahe@cl.cam.ac.uk (David Elworthy) writes:
 ...

David - have you posted the Acorn-specific diffs/new modules back
to the FSF yet? (I presume you've added stuff in a way that won't
blow any of the ports to other systems).  That way, upgrades to the
Generic parts of Ghostscript will happen automatically without you
having to rush around patching every time a new release comes out...

Graham

dhmyrdal@solan.unit.no (Dag H}kon Myrdal) (05/19/91)

In article <10260@castle.ed.ac.uk>, gtoal@castle.ed.ac.uk (G Toal) writes:
|> In article <1991May14.091627.14770@cl.cam.ac.uk> dahe@cl.cam.ac.uk (David Elworthy) writes:
|>  ...
|> 
|> David - have you posted the Acorn-specific diffs/new modules back
|> to the FSF yet? (I presume you've added stuff in a way that won't
|> blow any of the ports to other systems).  That way, upgrades to the
|> Generic parts of Ghostscript will happen automatically without you
|> having to rush around patching every time a new release comes out...
|> 
|> Graham


This is quite important, as ghostscript 2.22 is due to be released any
day now! (I've seen it - it's much better than the current version)

--
Dag Haakon Myrdal, student of electronics
--