TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

TYPO3 Mailingliste: nicht fragen - lesen!

TYPO3 Mailingliste: nicht fragen - lesen!_RR_1-->
Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-linux@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 24.02.2007, 01:21
Darryl Krause
Gast
 
Beiträge: n/a
Standard [TYPO3-linux] GhostScript not recognised by Typo3

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
_______________________________________________
TYPO3-linux mailing list
TYPO3-linux (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/...fo/typo3-linux
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 26.02.2007, 16:24
Dimitri Tarassenko
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-linux] GhostScript not recognised by Typo3

Darryl,

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


No, it should not. Typo3 does not deal with either if these files directly. A things to check out : whether you are trying to execute these in a command line under the same credetials as Apache process when TYPO3 Installer runs them (test: get PHPshell and try them there). Most likely either the paths are set differently, or there are some security options like "hardened PHP" or SELinux that prevent apache from running gs process.

D.
_______________________________________________
TYPO3-linux mailing list
TYPO3-linux (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/...fo/typo3-linux
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #3  
Alt 19.03.2007, 16:07
Christian Tauscher
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-linux] GhostScript not recognised by Typo3

Darryl Krause schrieb:

> 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.


TYPO3 can't handle pdf, ps, ai etc directly. ImageMagick (GraphicsMagic)
is used to do so.

If you have installes IM or GM on your system and you can not read eg.
pdf's, so your IM/GM programm is not compiled/linked with ghostscript.
You need a different rpm or have to compile it yourself.

Hint on pdf Creation: GM/IM seems only to render the first level of your
pdf. PDF's have to be only single layered for propper preview.

Christian.
_______________________________________________
TYPO3-linux mailing list
TYPO3-linux (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/...fo/typo3-linux
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

Thema Autor Forum Antworten Letzter Beitrag
[TYPO3-german] Anbindung an LDAP Linux Server? dirvish typo3-german@lists.netfielders.de 0 20.02.2007 13:34
[TYPO3-linux] ImageMagick Problems - exec() disabled Sandy Matheson typo3-linux@lists.netfielders.de 2 08.02.2007 15:18
[TYPO3-linux] Install problems relating GD Kari Salovaara typo3-linux@lists.netfielders.de 2 03.02.2007 10:46
[TYPO3-install] configuring php.ini on shared virtual privateserver Linux oneilch typo3-install@lists.netfielders.de 0 23.12.2006 19:40
[TYPO3-linux] Tarballs and symlinks Toke Herkild typo3-linux@lists.netfielders.de 2 13.12.2006 10:23


Alle Zeitangaben in WEZ +1. Es ist jetzt 04:19 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Template-Modifikationen durch TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75