[TYPO3-linux] GhostScript not recognised by Typo3

Darryl Krause DarrylK at ywam.no
Sat Feb 24 01:21:56 CET 2007


Hi all!

I have Typo3 running on a shared server with a hosting company. They
have both ImageMagick 6.2.6 and GhostScript 7.05.6 installed. However I
am still getting failure of the Read PDF and Read AI tests in the
install tool.

Here are some details:
===
Typo3 4.1.0 RC2 (have also tested with 4.0.2)
Apache 2.0.59
PHP 5.2.0
===

Current configuration (Image Processing):
===
ImageMagick enabled: 1
ImageMagick path: /usr/local/bin/ (6.0.6)
ImageMagick path/LZW: ()
Version 5/GraphicsMagick flag: im5
GDLib enabled: 1
GDLib using PNG: 0
GDLib 2 enabled: 2.0.33
IM5 effects enabled: 1 (Blurring/Sharpening with IM 5+)
Freetype DPI: 96 (Should be 96 for Freetype 2)
Mask invert: 1 (Should be set for some IM versions approx. 5.4+)
File Formats: gif,jpg,jpeg,tif,bmp,pcx,tga,png,pdf,ai
===
(Note: Have also tested with "Version 5/GM flag": "im6" , though the
install tool Basic Configuration seems to set it to "im5" by default.)


Here are some observations:

The install tool shows IM (convert, composite and identify) as being
available both at /usr/bin/ and /usr/local/bin/
But testing with "whereis" only show results for /usr/local/bin/

The install tool identifies the versions as 6.0.6
But "convert -version" etc. show version to be 6.2.6

While IM is installed at /usr/local/bin/
GM is only available at /usr/bin/
(Note: Setting the install tool "ImageMagick path" to /usr/bin/ gave the
same results as for /usr/local/bin/ even though IM is not there.)

The Install Tool test for Read PDF is attempting to use the "identify"
command.
Shouldn't that be "convert"? (The install tool of my other site tests
"convert" for PDF Read.)

Running the same "identify" test in the shell works OK...
===
$ identify
/home/.../typo3/sysext/install/imgs/pdf_from_imagemagick.pdf[0]

/home/.../typo3/sysext/install/imgs/pdf_from_imagemagick.pdf[0]=>/home/.
../typo3/sysext/install/imgs/pdf_from_imagemagick.pdf PDF 595x842
595x842+0+0 DirectClass 1mb
===

And trying a "convert" operation also gives successful results...
===
$ convert -geometry 170x136! -colorspace RGB -quality 70
/home/.../typo3/sysext/install/imgs/pdf_from_imagemagick.pdf[0]
/home/.../typo3temp/pics/install_read_pdf_a.jpg
===
(the file install_read_pdf_a.jpg is correctly created)

It seems that IM 6.2.6 does not have a "delegates.mgk" file, but instead
uses "delegates.xml". Would this effect Typo3?

Testing "echo $MAGICK_HOME" gives no result, so IM is obviously
following one of the default paths for configuration, delegates, etc.


I have been working with this on and off for several weeks now. I have
read heaps of documentation and lists, etc. I have learnt heaps along
the way but still cannot get this to work.

Any input would be greatly appreciated!!!

Thanks in advance,
-Darryl Krause


More information about the TYPO3-linux mailing list