Configure ausführen Error!

Apache, Lighttpd, nginx, Cherokee
Post Reply
techneo
Posts: 146
Joined: 2002-08-31 17:32
Location: Berlin
Contact:
 

Configure ausführen Error!

Post by techneo »

Ich habe folgenden Fehler und update nicht jeden Tag PHP5...smile
Wer kann mir sagen was ich falsch machen?

Dies ist meine Liste von PHP 4.3.4 unter Suse 9.2 und Apache 2:

Code: Select all

./configure 

	--prefix=/usr 
	--datadir=/usr/share/php 
	--mandir=/usr/share/man 
	--bindir=/usr/bin 
	--libdir=/usr/share 
	--includedir=/usr/include 
	--sysconfdir=/etc --with-_lib=lib 
	--with-config-file-path=/etc 
	--with-exec-dir=/usr/lib/php/bin 
	--disable-debug 
	--enable-inline-optimization 
	--enable-memory-limit 
	--enable-magic-quotes 
	--enable-safe-mode 
	--enable-sigchild 
	--disable-ctype 
	--disable-session 
	--without-mysql 
	--disable-cli 
	--without-pear 
	--with-openssl 
	--with-apxs2=/usr/sbin/apxs2-prefork i586-suse-linux
Vielen Dank
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
 

Re: Configure ausführen Error!

Post by captaincrunch »

Ich habe folgenden Fehler und update nicht jeden Tag PHP5...smile
Wer kann mir sagen was ich falsch machen?
Du verschweigst uns die Fehlermeldung...
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
techneo
Posts: 146
Joined: 2002-08-31 17:32
Location: Berlin
Contact:
 

Re: Configure ausführen Error!

Post by techneo »

Fehler:

Code: Select all

Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path... /usr/bin/xml2-config
configure: error: libxml2 version 2.6.11 or greater required.
blnsnoopy26
Posts: 660
Joined: 2002-10-19 14:01
 

Re: Configure ausführen Error!

Post by blnsnoopy26 »

DIGIMan wrote:Fehler:

Code: Select all

configure: error: libxml2 version 2.6.11 or greater required.
ne höhere libxml version installieren .... steht ja schon alles da.
techneo
Posts: 146
Joined: 2002-08-31 17:32
Location: Berlin
Contact:
 

Re: Configure ausführen Error!

Post by techneo »

Habe ich auch schon gemerkt nur wie updatet man libxml2 auf dem Server unter Suse9. Ich habe das mal vor 4 Jahren gemacht und habe es bis heute nicht gebraucht!

Vielen dank im Voraus!
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Configure ausführen Error!

Post by Joe User »

Code: Select all

rpm -ivh paket.rpm
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
techneo
Posts: 146
Joined: 2002-08-31 17:32
Location: Berlin
Contact:
 

Re: Configure ausführen Error!

Post by techneo »

Ich habe folgendes gemacht, kann aber keine rpm finden!

Donload
# wget http://xmlsoft.org/sources/libxml2-2.6.23.tar.gz
Auspacken
# tar xfvz libxml2-2.6.23.tar.gz

bin nun im Verzeichnis aber kein Paket vorhanden?
hmmm, was mache ich denn falsch?
chris76
Posts: 1878
Joined: 2003-06-27 14:37
Location: Germering
 

Re: Configure ausführen Error!

Post by chris76 »

DIGIMan wrote:Ich habe folgendes gemacht, kann aber keine rpm finden!

Donload
# wget http://xmlsoft.org/sources/libxml2-2.6.23.tar.gz
Auspacken
# tar xfvz libxml2-2.6.23.tar.gz

bin nun im Verzeichnis aber kein Paket vorhanden?
hmmm, was mache ich denn falsch?
Du hast dir auch die Sources runtergeladen und kein rpm oder so!
Gruß Christian

BofH excuses: YOU HAVE AN I/O ERROR -> Incompetent Operator error
techneo
Posts: 146
Joined: 2002-08-31 17:32
Location: Berlin
Contact:
 

Re: Configure ausführen Error!

Post by techneo »

So habe mal die rpm ausprobiert aber irgendwas macht er anscheinend nicht? ist denn die Datei richtig ider brauche ich eine andere für Suse9

Code: Select all

DIGISERVER1:~ # rpm -ivh libxml2-2.6.23-1.i386.rpm
warning: libxml2-2.6.23-1.i386.rpm: V3 DSA signature: NOKEY, key ID de95bc1f
Preparing...                ########################################### [100%]
        file /usr/bin/xmlcatalog from install of libxml2-2.6.23-1 conflicts with file from package libxml2-2.6.7-28.7
        file /usr/bin/xmllint from install of libxml2-2.6.23-1 conflicts with file from package libxml2-2.6.7-28.7
        file /usr/lib/libxml2.so.2 from install of libxml2-2.6.23-1 conflicts with file from package libxml2-2.6.7-28.7
        file /usr/share/man/man1/xmlcatalog.1.gz from install of libxml2-2.6.23-1 conflicts with file from package libxml2-2.6.7-28.7
        file /usr/share/man/man1/xmllint.1.gz from install of libxml2-2.6.23-1 conflicts with file from package libxml2-2.6.7-28.7
        file /usr/share/man/man3/libxml.3.gz from install of libxml2-2.6.23-1 conflicts with file from package libxml2-2.6.7-28.7
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Configure ausführen Error!

Post by Joe User »

DIGIMan wrote:ist denn die Datei richtig ider brauche ich eine andere für Suse9
Nein. Ja.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
techneo
Posts: 146
Joined: 2002-08-31 17:32
Location: Berlin
Contact:
 

Re: Configure ausführen Error!

Post by techneo »

So habe es soweit hinbekommen und auch schon make install augeführt, aber dort macht er jetzt einen Fehler:

Code: Select all

DIGISERVER1:~/php-5.1.1 # make install
Installing PHP SAPI module:       apache2handler
/usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/share/apache2/build/libtool' libphp5.la /usr/lib/apache2-prefork
/usr/share/apache2/build/libtool --mode=install cp libphp5.la /usr/lib/apache2-prefork/
cp .libs/libphp5.so /usr/lib/apache2-prefork/libphp5.so
cp .libs/libphp5.lai /usr/lib/apache2-prefork/libphp5.la
libtool: install: warning: remember to run `libtool --finish /root/php-5.1.1/libs'
chmod 755 /usr/lib/apache2-prefork/libphp5.so
apxs:Error: Config file /etc/apache2/httpd2-prefork.conf not found.
make: *** [install-sapi] Error 1
Was will er denn jetzt, soll ich sapi installieren oder findet er nicht die httpd2-prefork.conf Datei?
braindead
Posts: 250
Joined: 2002-10-22 09:49
Location: vorm Rechner
 

Re: Configure ausführen Error!

Post by braindead »

apxs:Error: Config file /etc/apache2/httpd2-prefork.conf not found

rat mal ;)

ich würde sagen er findet die httpd2-prefork.conf net ...
techneo
Posts: 146
Joined: 2002-08-31 17:32
Location: Berlin
Contact:
 

Re: Configure ausführen Error!

Post by techneo »

Das war mir auch schon klar, sie existiert nicht nur was ich nicht verstehe wieso braucht er diese? PHP 4.3.4 hat diese doch auch nicht gebraucht und woher bekomme ich diese?

Habe Apache 2 drauf und der hat nur eine httpd.conf!

Um weitere Ratschläge wäre ich dankbar um das problem zu lösen...
braindead
Posts: 250
Joined: 2002-10-22 09:49
Location: vorm Rechner
 

Re: Configure ausführen Error!

Post by braindead »

ln -s httpd.conf httpd-prefork.conf
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Configure ausführen Error!

Post by Joe User »

Wenn Du mal die Suchfunktion nutzen würdest, wüsstest Du, dass Du einen Symlink setzen musst. Auch Dein xmllib2-Problem wurde hier bereits vor etlichen Monaten abgehandelt...
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
techneo
Posts: 146
Joined: 2002-08-31 17:32
Location: Berlin
Contact:
 

Re: Configure ausführen Error!

Post by techneo »

So habe ich gemacht, aber jetzt geht es weiter:

Code: Select all

DIGISERVER1:~/php-5.1.1 # make install
Installing PHP SAPI module:       apache2handler
/usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/share/apache2/build/libtool' libphp5.la /usr/lib/apache2-prefork
/usr/share/apache2/build/libtool --mode=install cp libphp5.la /usr/lib/apache2-prefork/
cp .libs/libphp5.so /usr/lib/apache2-prefork/libphp5.so
cp .libs/libphp5.lai /usr/lib/apache2-prefork/libphp5.la
libtool: install: warning: remember to run `libtool --finish /root/php-5.1.1/libs'
chmod 755 /usr/lib/apache2-prefork/libphp5.so
apxs:Error: Activation failed for custom /etc/apache2/httpd2-prefork.conf file..
apxs:Error: At least one `LoadModule' directive already has to exist..
make: *** [install-sapi] Error 1
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Configure ausführen Error!

Post by Joe User »

Du bist seit knapp dreieinhalb Jahren hier aktiv und erwartest ernsthaft, dass wir Dir jede Fehlermeldung vorlesen? Sorry, so nicht!

/me: Beim nächsten Versuch > /dev/null
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
braindead
Posts: 250
Joined: 2002-10-22 09:49
Location: vorm Rechner
 

Re: Configure ausführen Error!

Post by braindead »

Sach mal ... du kannst lesen oder?

apxs:Error: At least one `LoadModule' directive already has to exist..

du weißt auch wie man unter linux in eine Datei guckt oder?

Dann los los, und wenn net google.de ...
techneo
Posts: 146
Joined: 2002-08-31 17:32
Location: Berlin
Contact:
 

Re: Configure ausführen Error!

Post by techneo »

So Problem habe ich soweit gelöst und noch einige Einstellungen gemacht, damit PHP 5.1.1 läuft. Seite Seiten funktionieren auch, aber mein Script mit Skin geht nicht da er die Variable

{ command }

nicht mehr verarbeiten kann. Unter PHP 4 lauft mein Script. Muß ich etwas einstellen? Ich kenne PHP5 noch nicht und weis auch nicht nach was ich suchen soll...

Besten Dank

P.S. Klar suche ich immer erst im Forum, ich kenne es schon fast auswendeig, aber meine Probleme sind nicht immer identig mit den Antworten oder Lösungen hier! Sorry
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Configure ausführen Error!

Post by Joe User »

Kompatibilitätsmodus aktiviert?
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Post Reply