Problemas na compilação do apache 2.4.33 no Debian Wheezy

1

Eu tenho problemas para compilar a última versão 2.4.33 do apache em um sistema Debian.

./configure --prefix=/usr/local/apache_2.4.33 --enable-suexec --with-suexec-caller=nobody --enable-module=so --with-suexec-docroot=/httpd --enable-rewrite --enable-ssl --with-mpm=prefork

Últimas linhas da saída do make:

/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99 -I/usr/local/include -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/home/user/install/httpd-2.4.33/os/unix -I/home/user/install/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/home/user/install/httpd-2.4.33/modules/aaa -I/home/user/install/httpd-2.4.33/modules/cache -I/home/user/install/httpd-2.4.33/modules/core -I/home/user/install/httpd-2.4.33/modules/database -I/home/user/install/httpd-2.4.33/modules/filters -I/home/user/install/httpd-2.4.33/modules/ldap -I/home/user/install/httpd-2.4.33/modules/loggers -I/home/user/install/httpd-2.4.33/modules/lua -I/home/user/install/httpd-2.4.33/modules/proxy -I/home/user/install/httpd-2.4.33/modules/session -I/home/user/install/httpd-2.4.33/modules/ssl -I/home/user/install/httpd-2.4.33/modules/test -I/home/user/install/httpd-2.4.33/server -I/home/user/install/httpd-2.4.33/modules/md -I/home/user/install/httpd-2.4.33/modules/arch/unix -I/home/user/install/httpd-2.4.33/modules/dav/main -I/home/user/install/httpd-2.4.33/modules/generators -I/home/user/install/httpd-2.4.33/modules/mappers -prefer-pic -c md_json.c && touch md_json.slo
md_json.c: In function ‘md_json_setb’:
md_json.c:279:5: warning: implicit declaration of function ‘json_boolean’ [-Wimplicit-function-declaration]
md_json.c:279:5: warning: passing argument 1 of ‘jselect_set_new’ makes pointer from integer without a cast [enabled by default]
md_json.c:217:21: note: expected ‘struct json_t *’ but argument is of type ‘int’
md_json.c: In function ‘md_json_geta’:
md_json.c:587:5: warning: implicit declaration of function ‘json_array_foreach’ [-Wimplicit-function-declaration]
md_json.c:587:39: error: expected ‘;’ before ‘{’ token
md_json.c: In function ‘md_json_itera’:
md_json.c:663:39: error: expected ‘;’ before ‘{’ token
md_json.c: In function ‘md_json_getsa’:
md_json.c:688:43: error: expected ‘;’ before ‘{’ token
md_json.c: In function ‘md_json_dupsa’:
md_json.c:711:43: error: expected ‘;’ before ‘{’ token
md_json.c: In function ‘md_json_readb’:
md_json.c:937:5: warning: implicit declaration of function ‘json_load_callback’ [-Wimplicit-function-declaration]
md_json.c:937:7: warning: assignment makes pointer from integer without a cast [enabled by default]
md_json.c: In function ‘md_json_readf’:
md_json.c:973:7: warning: assignment makes pointer from integer without a cast [enabled by default]
make[4]: *** [md_json.slo] Fehler 1
make[4]: Leaving directory '/home/user/install/httpd-2.4.33/modules/md'
make[3]: *** [shared-build-recursive] Fehler 1
make[3]: Leaving directory '/home/user/install/httpd-2.4.33/modules/md'
make[2]: *** [shared-build-recursive] Fehler 1
make[2]: Leaving directory '/home/user/install/httpd-2.4.33/modules'
make[1]: *** [shared-build-recursive] Fehler 1
make[1]: Leaving directory '/home/user/install/httpd-2.4.33'
make: *** [all-recursive] Fehler 1

Até 2.4.29 não há problemas de compilação neste sistema. Alguém pode ajudar?

    
por Gantow 27.03.2018 / 19:12

1 resposta

2

Você provavelmente está perdendo uma dependência para o módulo mod_md. Você tem libjansson-dev instalado?

    
por 27.03.2018 / 21:01