Page 1 of 1

php 4.3.1 ./configure bricht ab

Posted: 2004-03-13 03:59
by flancrest
Habe heute versucht, meine PHP-Version auf 4.3.1 upzudaten. OS SuSe 8.1.
Beim ./configure kommt jedoch folgende Fehlermeldung:

...checking lex output file root... ./configure: line 2482: lex: command not found
configure error: cannot find output from lex: giving up

Re: php 4.3.1 ./configure bricht ab

Posted: 2004-03-13 10:40
by Joe User
flex installiert?

Re: php 4.3.1 ./configure bricht ab

Posted: 2004-03-13 11:07
by flancrest
Nein, war nicht installiert. Habe flex und bison nachinstalliert. ./configure läuft durch. Nun bricht er beim make mit der Fehlermeldung

/bin/sh: line 1: rec2: command not found
make: *** [/install/php-4.3.1/ext/standard/url_scanner_ex.c] Error 127


ab

Re: php 4.3.1 ./configure bricht ab

Posted: 2004-03-13 12:07
by arty
Warum installierst du überhaupt PHP 4.3.1 statt 4.3.4?

bye
arty

Re: php 4.3.1 ./configure bricht ab

Posted: 2004-03-13 12:09
by flancrest
Habe über einige Problem mit 4.3.4 gelesen, da dachte ich mir, ich nehme lieber die 4.3.1. Sollte ich doch lieber die 4.3.4 installieren?

Re: php 4.3.1 ./configure bricht ab

Posted: 2004-03-14 09:35
by arty
Hi,

bei PHP sollte man immer die neueste stabile Version installieren.

bye
arty

Re: php 4.3.1 ./configure bricht ab

Posted: 2004-03-14 11:05
by flancrest
Habe nun die 4.3.4 installiert, hat ohne Probleme geklappt. Allerdings funktionert die gd-library nicht, obwohl ich sie beim ./configure mit --enable-gd angegeben hat. Woran könnte das liegen?

Re: php 4.3.1 ./configure bricht ab

Posted: 2004-03-14 11:44
by arty
Hi,

sorry, die ./configure Option ist

Code: Select all

--with-gd
bye
arty

Re: php 4.3.1 ./configure bricht ab

Posted: 2004-03-14 11:49
by flancrest
Ok, danke! Aber nun bringt er beim ./configure den Fehler "libpng.(a|so) not found"

Re: php 4.3.1 ./configure bricht ab

Posted: 2004-03-14 11:54
by flancrest
Habe beim ./configure nun --with-gd=/usr angegeben. configure klappt nun, beim make bricht er mit "undefined reference to gdFreeFontCache" ab!

Re: php 4.3.1 ./configure bricht ab

Posted: 2004-03-14 12:09
by arty
Hi,

Code: Select all

--with-gd
sollte eigentlich reichen.

bye
arty

Re: php 4.3.1 ./configure bricht ab

Posted: 2004-03-14 12:13
by flancrest
Bei --with-gd bringt er aber die obige Fehlermeldung: libpng.(a|so) not found!

Ich habe zusätzlich zu php-4.3.4 auch noch gd-2.0.22 installiert, da mir dies von einem Bekannten empfohlen wurde. Sollte da vielleicht das Problem liegen, da doch in der php-Version gd schon enthalten ist?

Re: php 4.3.1 ./configure bricht ab

Posted: 2004-03-14 14:22
by arty
Hast du libPNG installiert?

GD standalone musst du nicht installieren, da es ja in PHP mit drinnen ist.

bye
arty

Re: php 4.3.1 ./configure bricht ab

Posted: 2004-03-16 16:04
by flancrest
Die Header-Files waren nicht installiert. ./configure läuft nun durch. Beim make bricht er allerdings ab mit Fehlermeldung

"undefined Reference to 'gdImageBoundsSafe'" und

"undefined Reference to 'gdFreeFontCache'"

Re: php 4.3.1 ./configure bricht ab

Posted: 2004-03-16 17:55
by arty
Hi,

deinstalliere mal das GD und probiers nochmal.

bye
arty

Re: php 4.3.1 ./configure bricht ab

Posted: 2004-03-16 18:51
by flancrest
Hab die gd deinstalliert, weiterhin Abbruch von make mit den oben genannten Fehlern.

Re: php 4.3.1 ./configure bricht ab

Posted: 2004-03-16 22:17
by arty
config.cache gelöscht?

bye
arty

Re: php 4.3.1 ./configure bricht ab

Posted: 2004-03-16 22:22
by Joe User
arty wrote:config.cache gelöscht?
Ich würde eher mit einem sauberem, sprich frischem, Sorcetree neuanfangen...