Troubleshooting Image Conversion

From WeBWorK_wiki
Revision as of 16:35, 21 February 2008 by Sam (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

General troubleshooting

  • Verify that $netpbm_prefix is set correctly in global.conf. The correct value is usually either /usr/bin or /usr/local/bin.
  • Make sure that the following Netpbm utilities are installed in the directory given by $netpbm_prefix.
    • giftopnm
    • ppmtopgm
    • pnmtops
    • pnmtopng
    • pngtopnm

Inappropriate ioctl for device

This error is somewhat mysterious, but in at least one case it was caused by the Netpbm tools using shared libraries instead of statically linked libraries. If this case applies to you, you may need to recompile Netpbm and tell it to use statically linked libraries:

Do you want libnetpbm to be statically linked or shared?
static or shared [shared] ==> static