Linux : Installation de Apache 2.4.3 ?

Arno59 Messages postés 4600 Date d'inscription   Statut Contributeur Dernière intervention   -  
jeanbi Messages postés 15119 Date d'inscription   Statut Contributeur Dernière intervention   -
Bonjour,

Je souhaites installé la dernière version de Apache : 2.4.3 sous Linux :
http://httpd.apache.org/docs/2.4/install.html

J'ai lu la doc et j'ai récupéré APR : apr-1.4.6.tar.gz


/usr/local/httpd-2.4.3# ls
ABOUT_APACHE     BuildBin.dsp   docs            libhttpd.dsp   README
acinclude.m4     buildconf      emacs-style     LICENSE        README.platforms
Apache-apr2.dsw  CHANGES        httpd.dsp       Makefile.in    ROADMAP
Apache.dsw       config.layout  httpd.spec      Makefile.win   server
apache_probes.d  config.log     include         modules        
ap.d             config.nice    INSTALL         NOTICE         support
build            configure      InstallBin.dsp  NWGNUmakefile  test
BuildAll.dsp     configure.in   LAYOUT          os             VERSIONING


Décompression de apr-1.4.6.tar.gz
Le contenu de srclib

apr apr-util

/usr/local/httpd-2.4.3# ./configure --prefix=/usr/local/httpd-2.4.3
Impossible de compiler ?
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
configure: 
configure: Configuring Apache Portable Runtime library...
configure: 
checking for APR... yes
  setting CC to "gcc"
  setting CPP to "gcc -E"
  setting CFLAGS to " -g -O2 -pthread"
  setting CPPFLAGS to " -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE"
  setting LDFLAGS to " "
configure: 
configure: Configuring Apache Portable Runtime Utility library...
configure: 
checking for APR-util... sed: can't read ./srclib/apr-util/include/apu_version.h: No such file or directory
configure: error: failed to find major version of bundled APU


Comment recompiler proprement ?
A voir également:

1 réponse

jeanbi Messages postés 15119 Date d'inscription   Statut Contributeur Dernière intervention   2 184
 
bonjour,
il serait plus simple de l'installer à partir des depots non , le moyen age c'est fini depuis longtemps sous linux .
a+
0