Non.Je fait quoi ? je dis oui et/ou je
supprime les paquets inutiles ?
Pour php, regarde ses dépendances et installe les.
Non.Je fait quoi ? je dis oui et/ou je
supprime les paquets inutiles ?
Code : Tout sélectionner
#!/bin/sh
#Optimisation pour la compilation
export CC="gcc"
export CFLAGS="-02"
#Config des sources pour l'env
./configure --prefix=/usr/local \
--enable-dav \
--enable-rewrite \
--enable-so \
--enable-proxy \
--enable-proxy-http \
--enable-cache \
--enable-mem-cache \
Code : Tout sélectionner
Making all in srclib
make[1]: entrant dans le répertoire « /usr/local/src/httpd-2.2.11/srclib »
Making all in pcre
make[2]: entrant dans le répertoire « /usr/local/src/httpd-2.2.11/srclib/pcre »
make[3]: entrant dans le répertoire « /usr/local/src/httpd-2.2.11/srclib/pcre »
/usr/share/apr-1.0/build/libtool --silent --mode=compile gcc -pthread -02 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/local/src/httpd-2.2.11/srclib/pcre -I. -I/usr/local/src/httpd-2.2.11/os/unix -I/usr/local/src/httpd-2.2.11/server/mpm/prefork -I/usr/local/src/httpd-2.2.11/modules/http -I/usr/local/src/httpd-2.2.11/modules/filters -I/usr/local/src/httpd-2.2.11/modules/proxy -I/usr/local/src/httpd-2.2.11/include -I/usr/local/src/httpd-2.2.11/modules/generators -I/usr/local/src/httpd-2.2.11/modules/mappers -I/usr/local/src/httpd-2.2.11/modules/database -I/usr/include/apr-1.0 -I/usr/include/postgresql -I/usr/include/mysql -I/usr/local/src/httpd-2.2.11/modules/proxy/../generators -I/usr/local/src/httpd-2.2.11/modules/ssl -I/usr/local/src/httpd-2.2.11/modules/dav/main -prefer-non-pic -static -c maketables.c && touch maketables.lo
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[3]: *** [maketables.lo] Erreur 1
make[3]: quittant le répertoire « /usr/local/src/httpd-2.2.11/srclib/pcre »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /usr/local/src/httpd-2.2.11/srclib/pcre »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /usr/local/src/httpd-2.2.11/srclib »
make: *** [all-recursive] Erreur 1
Code : Tout sélectionner
#export CC="gcc"
#export CFLAGS="-02"Avec le commentage ça marche, en revanche PHP bloque toujoursconfigure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal).
BUG.am: `install.sh' is an anachronism; use `install-sh' instead
automake: no `Makefile.am' found for any configure output
Code : Tout sélectionner
ls -l /usr/local/bin/Code : Tout sélectionner
find / -name apachectl 2>/dev/nullDe quels dossiers parles tu ?En revanche, c'est normal que ça ait créé un tas de
dossier je dois peut les supprimer ?
Code : Tout sélectionner
#!/bin/sh
export OPTIM=-02
./configure --prefix=/usr/local \
--with-apxs2=/usr/local/bin/apxs \
--with-inifile=/usr/local/etc/php.ini \
--with-zlib --enable-pdo=shared --with-pdo-pgsql=shared --with-pgsql=shared
Bien sûr, make et make install plantent derrière ^^,loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... i686-pc-linux-gnu
checking target 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 how to run the C preprocessor... gcc -E
checking for icc... no
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 whether ln -s works... yes
checking for system library directory... lib
checking whether to enable runpaths... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for bison... no
checking for byacc... no
checking for bison version... invalid
configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 (found: none).
checking for flex... lex
checking for yywrap in -ll... no
checking for working const... yes
configure: warning: flex versions supported for regeneration of the Zend/PHP parsers: 2.5.4 (found: none)
checking for re2c... no
configure: warning: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking whether to force non-PIC code in shared modules... yes
checking whether /dev/urandom exists... yes
checking for pthreads_cflags... -pthread
checking for pthreads_lib...
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking whether to enable Apache charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS...
Sorry, I cannot run apxs. Possible reasons follow:
1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)
The output of /usr/local/bin/apxs follows:
./configure: line 6699: /usr/local/bin/apxs: No such file or directory
configure: error: Aborting
apxs fait parti de apache, tu as compilé apache, tu as apxs, maintenant il faut explicitement donner le path d'apxs au configure de php.j'ai déjà compiler et installer apache2.2.11 d'après le tutoriel
de stopher, je dit pas que ça s'est passé comme sur
des roulettes, mais ça s'est passé...
Je parle de apxs(1/2) car il est mentionné et parce que l'on
m'en parle, moi je croyait que c'était un site de jeux au début![]()
et apt-get ne connait pas ces paquets :/
Simple question : ça veut dire quoi mano (compiler à la) ?
Par avance merci de votre aide
Tu es sûr de vouloir faire du sysadmin ?Je parle de apxs(1/2) car il est mentionné et parce que l'on
m'en parle, moi je croyait que c'était un site de jeux au début![]()
Procure toi un dictionnaire de latin…Simple question : ça veut dire quoi mano (compiler à la) ?
C'est quand tu compiles en chantant : http://www.deezer.com/track/9841 ou http://www.deezer.com/track/907864Simple question : ça veut dire quoi mano (compiler à la) ?
Code : Tout sélectionner
#!/bin/sh
export OPTIM=-02
./configure --prefix=/usr/local \
--with-apxs2=/usr/local/bin/apxs \ # ici
--with-inifile=/usr/local/etc/php.ini \
--with-zlib
--enable-pdo=shared
--with-pdo-pgsql=shared
--with-pgsql=shared