I installed ESP Ghostscript-8.15.1 and GSview-4.7 as per BLFS
subversion and gsview refused to load the ghostscript library,
complaining about the library version. It turns out that gsview
expects the version in the form "100*MAJOR+MINOR" (eg. 815) but the
library reports it in the form "10000*MAJOR+100*MINOR+MICRO"
(eg. 81501).
My quick-fix was to hack gsview to divide the version by 100 (patch
attached), but I doubt it's the right thing to do. What's the clean
way to fix this?
Cheers,
Jeremy Henty
diff -ur gsview-4.7/src/cdll.c gsview-4.7_new/src/cdll.c
--- gsview-4.7/src/cdll.c 2002-02-10 03:46:38.000000000 +0000
+++ gsview-4.7_new/src/cdll.c 2006-02-06 19:24:00.000000000 +0000
@@ -104,7 +104,7 @@
gsdll_cleanup(dll);
return_error(-1);
}
- dll->revision_number = rv.revision;
+ dll->revision_number = rv.revision / 100;
if ( (dll->revision_number < GS_REVISION_MIN) ||
(dll->revision_number > GS_REVISION_MAX) ) {
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page