nice, seems you're getting the hang of it more and more
Thanks for the compliment, but I'd rather hit cows in the head with a sledge hammer ! This kinda sucks. Every step is a battle ...
Here's a wrapup, if there's ever anyone else out there who wants to create pdf's within Irix, a little free data for your viewing pleasure :
Adobe never made a Distiller for Irix. They made one for Sun and AIX but we got left on the doorstep in a basket.
Pstill worked for me but crashed if I tried to use Chinese fonts. It converted the demo files okay and maybe could have been tweaked to do dbcs or maybe it was just me. But I had already used ps2pdf a lot and it works well.
If you are happy with a waddling welfare Octane (she's one of the Butt sisters), then just grab ghostscript 8.51 from nekoware. It works.
I have personally been happy with an Octane free of the layer upon layer of klugey stuff added since 6.5.22. It's a lot of work but makes a much nicer computer. So this is what I did :
Ghostscript 8.71.1 builds right off the bat, no tricks needed. The main point is to set optimizing to -O1. This is what I used, plain-jane, shamelessly stolen from canavan
Code: Select all
setenv CC c99
setenv CFLAGS '-O1 -mips4 -DIRIX -I. -I/opt/homeboy/include'
setenv CXXFLAGS '-ptused -DIRIX -O1 -mips4 -I. -I/opt/homeboy/include'
setenv LDFLAGS '-L/opt/homeboy/lib -L/usr/lib32 -lm -rpath /opt/homeboy/lib'
Any criticisms of the environment are appreciated ...
then a configure, much of this I don't have but just in case, we disabled it anyhow
Code: Select all
./configure --prefix=/opt/homeboy --disable-contrib --disable-fontconfig --disable-cups
--disable-gtk --disable-cairo --without-libpaper --with-system-libtiff --without-pdftoraster
--without-ijs --without-jbig2dec --without-jasper --without-omni --disable-debug
I initially tried to restict the printer drivers - I don't own an Office Depot, drivers for every printer ever born aren't useful to me - but linking failed when I tried that. Since these are going to go away later anyhow, I surrendered, Dorothy. Try it at your own risk.
From this point it builds fine with MIPSPro 7.4.4. Probaly earlier ones too but I don't have an earlier one.
Did gmake install, then here's the trick part : you can go into /opt/homeboy/share/ and delete everything
under ghostscript. It will still create pdf's. It will still create pdf's with Chinese fonts
And you won't
have a bunch of phony pseudo-fonts cluttering up your computer. Or sudo-fonts, if you're a pseudo-Unix kinda guy/gal
There's some useless scripts in /bin, too. And a bunch of paths that don't exist in the main ghostscript executable. Maybe drag out the hex editor later ... or wait, there's another configure switch to try ... maybe another day.
Ran tests, pdf's so far seem good. Ghostscript alas does not have a < gmake uninstall >. Also, < gmake check > runs through whatever routine it has but reports nothing. If these guys built bridges I'd swim.
One further check, built mgv (motif ghostscript viewer) with no problems after
the ghostscript flab removal operation. And
, the odd thing is, it displays the chinese font test which < showps > complains about.
I need to install some CID dbcs font or another later, but for now, this is okay. xpdf segfaults if it can't find a suitable font but our customers all use Windows so I'm safe for now.
Maybe 9.16 some time in the future.
Oh. Attached is the Adobe ppd file which they suppply for Windows. They call it Distiller. I'm thinking of installing it under Impressario for creating plain ps files. I'm not that confident that a specific printer's ppd is the best way to create universal postscript files ... had to hunt for this sucker for an hour, so hope this saves someone some grief.
That's enough computing for this week. Hope y'all have a loverly Sunday
edit: Oh wait - I lied. 8.71.1 requires the foetz-fixes above. But they are documented earlier in the thread. It's a simple edit to four or five files. Brain-failure