fehler bei configure

Alles, was PHP betrifft, kann hier besprochen werden.

fehler bei configure

Postby ollidroll » 28. July 2003 08:08

Hai,
hoffe ihr könnt mir helfen:
Ich möchte PHP installieren, doch folgender Fehler kommt:
checking lex output file root... ./configure: line 2356: lex: command not found
configure: error: cannot find output from lex; giving up


Was heißt das?
Fehlt da irgendein Paket welches installiert werden müsste?

Folgende configure Anweisungen gebe ich mit:
./configure --prefix=/opt/lampp --disable-debug --enable-bcmath --enable-calendar --enable-ctype --enable-dbase --enable-discard-path --enable-exif --enable-filepro --enable-force-cgi-redirect --enable-ftp --enable-gd-imgstrttf --enable-gd-native-ttf --with-ttf --enable-magic-quotes --enable-memory-limit --enable-safe-mode --enable-shmop --enable-sigchild --enable-sysvsem --enable-sysvshm --enable-track-vars --enable-trans-sid --enable-versioning --enable-wddx --enable-yp --with-ftp --with-gdbm=/opt/lampp --with-jpeg-dir=/opt/lampp --with-png-dir=/opt/lampp --with-tiff-dir=/opt/lampp --with-freetype-dir=/opt/lampp --without-xpm --with-zlib=yes --with-zlib-dir=/opt/lampp --with-openssl=/opt/lampp --with-expat-dir=/opt/lampp --enable-xslt --with-xslt-sablot=/opt/lampp -with-ming=/opt/lampp --with-dom=/opt/lampp --with-ldap=/opt/lampp --with-ncurses=/opt/lampp --with-gd --with-imap-dir=/opt/lampp --with-imap-ssl --with-imap=/opt/lampp --with-gettext=/opt/lampp --with-mssql=/opt/lampp --with-oci8=/opt/lampp

Danke und Gruß
Olli
ollidroll
 
Posts: 45
Joined: 17. February 2003 10:41

Postby Oswald » 28. July 2003 11:23

Huhu Olli!

Jepp, Du musst noch das Paket flex installieren.

Lieben Gruß,
Oswald
User avatar
Oswald
Apache Friends
 
Posts: 2718
Joined: 26. December 2002 19:51
Location: Berlin, Germany
Operating System: Linux

Postby ollidroll » 28. July 2003 12:59

OK! War mir fast klar!
Möchte das jetzt aber doch anders machen! :wink:

Ich möchte in einer bestehenden lampp installation php austauschen (mir geht um Oracleunterstützung), also mit der Option "--with-oci8=/opt/lampp"
Wie gehe ich am besten vor?
Gibt es da eine Anleitung, oder so?
Ich gehe davon aus das ich dazu das "lampp-devel" Paket brauche!
Habe ich auch schon runtergeladen und entpackt!
Und nu? Wie gehe ich weiter vor?

Ich bitte um schnelle Hilfe!
Danke und Gruß
Olli
ollidroll
 
Posts: 45
Joined: 17. February 2003 10:41

Postby ollidroll » 28. July 2003 13:11

Bin schon etwas weiter:
jetzt kommt folgende Fehlermeldung:
checking for Oracle-OCI8 support... yes
checking Oracle Install-Dir... /opt/lampp
checking Oracle version... configure: error: Oracle-OCI8 needed libraries not found

checking for Oracle-OCI8 support... yes
checking Oracle Install-Dir... /opt/oralce
checking Oracle version... configure: error: Oracle-OCI8 needed libraries not found
Habe mal zwei verschiedene Pfadangaben probiert!
Muss das das Verz. hin, wo oracle installiert ist?

Fehlt da jetzt noch was?
Danke und Gruß
Olli
ollidroll
 
Posts: 45
Joined: 17. February 2003 10:41

Postby ollidroll » 28. July 2003 13:40

Ich pirsch mich ran:
Habe alles soweit gemacht!

Wenn ich jetzt eine phpDatei im Browser aufrufen will, fragt "er" mich ob ich die Datei Downloaden oder Öffnen will!

Woran liegt das denn nun wieder?

Gruß
Olli
ollidroll
 
Posts: 45
Joined: 17. February 2003 10:41

Postby Oswald » 28. July 2003 16:05

Huhu olli!

Hmm.. kann es sein, dass PHP nun in Deinem Apache ausgeschaltet ist?

Mach mal bitte folgendes:

lynx -mime_header http://localhost

Dadurch müsste er folgendes anzeigen:

Code: Select all
HTTP/1.1 200 OK
Date: Mon, 28 Jul 2003 15:12:50 GMT
Server: Apache/2.0.47 (Unix) mod_perl/1.99_08 Perl/v5.8.0 mod_ssl/2.0.47 OpenSSL/0.9.7 PHP/4.3.2 DAV/2
X-Powered-By: PHP/4.3.2
Connection: close
Content-Type: text/html; charset=ISO-8859-1

<html>
<head>
...
...


In der Zeile mit Server: steht da bei Dir auch PHP drin. So wie in meinem Beispiel?

Gruß,
Oswald
User avatar
Oswald
Apache Friends
 
Posts: 2718
Joined: 26. December 2002 19:51
Location: Berlin, Germany
Operating System: Linux


Return to PHP

Who is online

Users browsing this forum: No registered users and 12 guests