in debian
gs version 10.00.0
x11 device is not loaded
it seems it is seen, because strace gives:
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/ghostscript/10.00.0/X11.so", O_RDONLY|O_CLOEXEC) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
but then, it is not diplayed in the devices' list.
Any idea?
thx
If the x11 device isn't listed when you do gs --help then the binary hasThx,
been built without X11 support.
If you want X11 then you're going to have to build from source yourself,
with the X development libraries available. Or bug the package
maintainer about it; it's entirely possible there is a good reason why
they built a Ghostscript package without X11 support.
try:
apt install ghostscript-x
apt install ghostscript-x
thanks, but already done
in that case you should use reportbug to send debian a bug report that
the ghostscript-x fails to work for the 10.0.0 version(s).
and you should try out the 'display' device until they fix the x11
devices.
thanks
in that case you should use reportbug to send debian a bug report that
the ghostscript-x fails to work for the 10.0.0 version(s).
already done weeks ago, no answer
and you should try out the 'display' device until they fix the x11
devices.
this device gives nothing, in the docs they talk about gtk, but maybe that require a compilation with different configuration, other distributions have/had ghostscript-gtk, or gsx ; they are not in debian
What devices do you actually see when you do "gs --help" ?I installed the 9.56 version (from old packages, and big use of LD_LIBRARY_PATH ...)
in version 10 'gs -h' is missing the x11 device, that is used by gvand the dvi previewer.
What puzzle me is that the X11.so is found and opened (verified with strace) but then the x11 device is not reported, I'd like to know what went wrong.
In debian a maintainer is currently missing, and maybe they have more important bugs to look after.
Well you can always build Ghostscript from source yourself.Yes I'm going to do that, any advice for building a minimal gs with x11 support?
ldd X11.soWhat puzzle me is that the X11.so is found and opened (verified with strace) but then the x11 device is not reported, I'd like to know what went wrong.The person who built the binary either specifically excluded X support
with a build option, or did not have the required development libraries available on their system when they ran autotools, and so the X support could not be built in.
Yes I'm going to do that, any advice for building a minimal gs with x11 support?In debian a maintainer is currently missing, and maybe they have more important bugs to look after.Well you can always build Ghostscript from source yourself.
In article <0293ef51-165a-4b37-af71-0f48ec1ef3f8n@googlegroups.com>, rbmarmor@gmail.com says...
Well you can always build Ghostscript from source yourself.Yes I'm going to do that, any advice for building a minimal gs with x11 support?
Sorry that's not really my field, I'm not the build maintainer. I just
do ./autogen.sh followed by make or make debug. You can delete
directories for features you don't want (Leptonica, Tesseract, maybe
others). If you want to use system shared libraries (FreeType, OpenJPEG
etc) then you need to set options but I know nothing about that.
Ken
in debian"/usr/lib/x86_64-linux-gnu/ghostscript/10.00.0/X11.so",
gs version 10.00.0
x11 device is not loaded
it seems it is seen, because strace gives:
openat(AT_FDCWD,
read(4,"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"...,
but then, it is not diplayed in the devices' list.
Any idea?
thx
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (0 / 16) |
Uptime: | 109:22:11 |
Calls: | 6,701 |
Calls today: | 1 |
Files: | 12,232 |
Messages: | 5,348,534 |