4images Forum & Community

General / Allgemeines => Chit Chat => Topic started by: Wuestenfuchs_82 on December 26, 2005, 01:14:14 AM

Title: Thumbnailer Problem
Post by: Wuestenfuchs_82 on December 26, 2005, 01:14:14 AM
Hallo Leute,
zuert einmal Hallo von meiner Seite aus. Ich bin neu hier.

Ich habe ein Problem bei der Inbetriebnahme der Auto-Thumbnailer bzw. der Auto-Image-Resizer.
ICh weiss das es sich hirbei evebtuell um ein Linux spezifisches Problem handelt, aber ich habe schon an anderen Stellen nach Lösungen gesucht und hoffe nun das mir hier jemand helfen kann.

Mein Problem ist fogendes:

ICh habe mir die Dateien von ImageMAgick und von GD runtergeladen. Dann hab ich ./configure ausgeführt.
Sah eigentlich ganz gut aus.
Wenn ich dann aber 'make' mache kommt eine für undefinierbare Fehlermeldung, egal ob bei ImageMAgick oder GD.

Bei ImageMAgick hab ich schon convert --version probiert, da kommt eine Ausgabe mit Versionsnummer usw. also sieht aus also on es installed wäre aber in der AdminOberfläche kommt immer der Fehler das kein Modul ausgewählt wurde oder nicht richtig installiert sei.

Kann mir da jemand von euch helfen, bin schon fast am verzeifeln, will endlich meine gallery richtig ins netz stellen.

Danke

Title: Re: Thumbnailer Problem
Post by: Wuestenfuchs_82 on December 26, 2005, 01:14:44 AM
...
Title: Re: Thumbnailer Problem
Post by: V@no on December 26, 2005, 07:27:18 AM
Sorry for english responce, but since you have shell access, recompile PHP with --with-gd option. In fact, if I'm not misstaken, PHP compiles with GD enabled by default...
and you dont need install GD libriary separatly, PHP comes with it.


P.S. this topic is not related to 4images itself, moving to chit-chat.
Title: Re: Thumbnailer Problem
Post by: TheOracle on December 26, 2005, 02:58:36 PM
Quote

and you dont need install GD libriary separatly, PHP comes with it.


I beg to differ. From a certain PHP version point, it is the case - not from older versions (not even PHP v4.3.10 is being compiled by default with GD Library v2). ;)
Title: Re: Thumbnailer Problem
Post by: V@no on December 26, 2005, 08:15:31 PM
I beg to differ. From a certain PHP version point, it is the case - not from older versions (not even PHP v4.3.10 is being compiled by default with GD Library v2). ;)
that's true, I just asumed that if one would recompile php, why would use an old version? ;)
Title: Re: Thumbnailer Problem
Post by: TheOracle on December 26, 2005, 08:35:12 PM
Quote

that's true, I just asumed that if one would recompile php, why would use an old version?


Because not all Web Hosting Services would consider to upgrade into a newer version due to commercial web sites. ;)
Title: Re: Thumbnailer Problem
Post by: Wuestenfuchs_82 on December 26, 2005, 09:39:43 PM
Hi Guys,

thx for the answers. i think i got the problem. I took a look at my "phpinfo();" and my php is installed "--without-gd".

As I know my problem now, i have a new problem --> how can i fix this.
Yes,... I  can recompile my PHP but i dont really know how to do this. I have Fedora Core 4 installed. Where do i Find my PHP folder, to do a ./configure, make, make install???

I think just downloading phh tarball and extracting it isnt the way to do it, right??

THX for helping

greets
Title: Re: Thumbnailer Problem
Post by: TheOracle on December 26, 2005, 09:42:00 PM
Quote

and my php is installed "--without-gd".


And there you go. ;)

Quote

I  can recompile my PHP but i dont really know how to do this.


My suggestion would be to go on PHP's web site and take a look at their installation manual.

Quote

I think just downloading phh tarball and extracting it isnt the way to do it, right??


That is a very typical question actually. The real question is, does your OS allow this type of functionnality - period. A good way to seek the answer would be by using Google's search engine. ;)
Title: Re: Thumbnailer Problem
Post by: V@no on December 26, 2005, 10:00:55 PM
Well, tell you the truth, I dont know where PHP is installed by FC4 installation process, the only thing I know it split the installation into many different places (i.e. libriaries are placed in one /usr/lib/ directory, php.ini in /etc/ and extensions somewhere else...(real path could be different)) So, because of that, my suggestion to you download fresh .gz package from php.net, unpack it and type ./configure --help to get list of avalable paramaters. Then type ./configure and wait untill it finish, then scroll up (I see you are using Putty, which suppors scroll) and look for the features that are not enabled by default but you would like the be enable, then search for the needed paramater string from the list you've got in first step and add it to the config:
./configure --with-gd --with-somethingelse

anyways, as TheOracle said, you should look in the installation guide that you can find at php.net documentation

P.S. dont worry about messing up the system, untill you run "make install" nothing will be moved out of the source directory ;) and you can experiment
P.P.S. before each run ./configure script, run make clean otherwise it will use previously cached configs.

Good luck.
Title: Re: Thumbnailer Problem
Post by: Wuestenfuchs_82 on December 26, 2005, 10:20:07 PM
thx for ur fast answers.
Think it would be the best way to install / compile new. The problem i have now is to, i dont know, include it to apache or whatever, so that it can be used by the websites.
Do i include it in httpd.conf or in php.ini??

I did download new .gz and extracted it, did ./configure --with-gd --with-gif...whatever, make, make install; but the phpinfo(); shows the old stuff. So i must do something to include(?) the new php!!???

THX & greets
Title: Re: Thumbnailer Problem
Post by: TheOracle on December 26, 2005, 10:24:36 PM
Quote

Do i include it in httpd.conf or in php.ini??


php.ini

Quote

I did download new .gz and extracted it, did ./configure --with-gd --with-gif...whatever, make, make install; but the phpinfo(); shows the old stuff. So i must do something to include(?) the new php!!???


By following the manufacturer's official installation's documentation, your answers will be there. ;)