PHP5 unter Ubuntu

D

DoctorDrunk

Jungspund
Hi!

Ich versuche gerade ein LAMP-System nach diesem HowTo aufzusetzen. Apache2 installieren hat noch 1a geklappt, aber dann in dem Abschnitt wo erklärt wird, wie man PHP5 installiert komme ich nicht weiter. Ich bekomme bei "./configure" immer folgendes:
sebastian@ubuntu:~/php5_src/php-5.0.3 $ ./configure --enable-memory-limit --enable-force-cgi-redirect --enable-track-vars --with-pcre-regex --with-mysql --without-sqlite --without-mm --enable-fastcgi --prefix=/home/sebastian/php5
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... exit 0;
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for mawk... mawk
checking for bison... bison -y
checking bison version... 1.875 (ok)
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 2420: lex: command not found
configure: error: cannot find output from lex; giving up
Was bedeutet das? Was mache ich falsch? Wie mache ich es richtig? *g*

Wäre schön, wenn mir jemand helfen kann! ;)
 
Nächstes Problem (für mich ist es ein! ;) ):
Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
configure: error: xml2-config not found. Please check your libxml2 installation.
apt-get sagt mir:
root@ubuntu:/home/sebastian # apt-get install libxml2
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut... Fertig
libxml2 ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 16 nicht aktualisiert.
Also am nicht installiert sein kanns diesmal schonmal nicht liegen... *g*

Edit: apt-cache search libxml ergibt:
root@ubuntu:/home/sebastian # apt-cache search libxml
docbook-xml - standard XML documentation system, for software and systems
libcroco3 - a generic Cascading Style Sheet (CSS) parsing and manipulation toolkit
libneon24 - An HTTP and WebDAV client library
libneon23 - An HTTP and WebDAV client library [old version]
libcroco3-dev - a generic Cascading Style Sheet (CSS) parsing and manipulation toolkit
libxml-dev - Development files for the GNOME XML library
libxml-parser-perl - Perl module for parsing XML files
libxml1 - GNOME XML library
libxmltok1 - XML Parser Toolkit, runtime libraries
libxmltok1-dev - XML Parser Toolkit, developer libraries
libxml2 - GNOME XML library
libxml2-dev - Development files for the GNOME XML library
libxml2-doc - Documentation for the GNOME XML library
libxml2-python2.3 - Python 2.3 bindings for the GNOME XML library
libxml2-utils - XML utilities
hmm...
 
Zuletzt bearbeitet:
Wenn irgendwelche Libs nicht gefunden werden, hast du meist das <libname>-dev Paket nicht installiert. Die braucht man nämlich, wenn man Programme mit diesen Bibliotheken erstellen will. Ohne -dev sind für Runtime, *-dev ist zum kompilieren.
 

Ähnliche Themen

configure schlägt bei X fehl

Zugriff Ubuntu 16.04. auf Freigabe 18.04. LTS nicht möglich

Samba 4 Gast Zugang unter Ubuntu funktioniert nicht

NagiosGrapher 1.7.1 funktioniert nicht

Windows clients können nicht mehr auf lange laufendes System zugreifen

Zurück
Oben