diegotricolor
(usa CentOS)
Enviado em 23/10/2015 - 13:17h
Olá, preciso de ajuda para instalação do módulo mod_qos em meu apache.
Debian 8 Jessie
Apache/2.4.10
Realizei o download e usei o seguinte comando inicialmente:
apache2# apxs2 -i -c mod_qos.c
/usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-static i586-linux-gnu-gcc -std=gnu99 -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -c -o mod_qos.lo mod_qos.c && touch mod_qos.slo
mod_qos.c: In function 'qos_hp_cc':
mod_qos.c:5422:23: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'long int' [-Wformat=]
apr_psprintf(r->pool, "%"APR_TIME_T_FMT, remaining > 0 ? remaining : 0));
^
/usr/share/apr-1.0/build/libtool --silent --mode=link --tag=disable-static i586-linux-gnu-gcc -std=gnu99 -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -o mod_qos.la -rpath /usr/lib/apache2/modules -module -avoid-version mod_qos.lo
/usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/share/apr-1.0/build/libtool' mod_qos.la /usr/lib/apache2/modules
/usr/share/apr-1.0/build/libtool --mode=install install mod_qos.la /usr/lib/apache2/modules/
libtool: install: install .libs/mod_qos.so /usr/lib/apache2/modules/mod_qos.so
libtool: install: install .libs/mod_qos.lai /usr/lib/apache2/modules/mod_qos.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/lib/apache2/modules
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib/apache2/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
chmod 644 /usr/lib/apache2/modules/mod_qos.so
Ok até aí dentro do esperado, porém quando efetuo o make no diretório, resulta o seguinte erro:
root@debian:/home/diego/Downloads/mod_qos-11.17/tools# make
cd . && automake-1.14 --foreign
configure.ac:11: error: required file './compile' not found
configure.ac:11: 'automake --add-missing' can install 'compile'
Makefile:287: recipe for target 'Makefile.in' failed
make: *** [Makefile.in] Error 1
Já atualizei o automake, baixei milhões de libs, não sei mais como proceder, se alguém tiver alguma solução ficarei extremamente grato, pois é de suma importância instalar esse módulo no meu server o quanto antes...
Obrigado desde já