[OpenBSD] compiler apache sous openBSD 3.8

compiler apache sous openBSD 3.8 [OpenBSD] - Linux et OS Alternatifs

Marsh Posté le 26-10-2005 à 15:06:40    

Bonjour,
 
J'ai besoin d'installer apache2 ( 2.1 si possible ) sous OpenBSD.
 
seulement quand je compil j'obtient ca :
 

Code :
  1. Making all in support
  2. /root/httpd-2.1.8-beta/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread    -D_POSIX_THREADS    -I/root/httpd-2.1.8-beta/srclib/pcre -I. -I/root/httpd-2.1.8-beta/os/unix -I/root/httpd-2.1.8-beta/server/mpm/prefork -I/root/httpd-2.1.8-beta/modules/http -I/root/httpd-2.1.8-beta/modules/filters -I/root/httpd-2.1.8-beta/modules/proxy -I/root/httpd-2.1.8-beta/include -I/root/httpd-2.1.8-beta/modules/generators -I/root/httpd-2.1.8-beta/modules/mappers -I/root/httpd-2.1.8-beta/srclib/apr/include -I/root/httpd-2.1.8-beta/srclib/apr-util/include -I/root/httpd-2.1.8-beta/srclib/apr-util/xml/expat/lib -I/root/httpd-2.1.8-beta/modules/proxy/../generators -I/root/httpd-2.1.8-beta/modules/ssl -I/root/httpd-2.1.8-beta/modules/dav/main -prefer-non-pic -static -c modules.c && touch modules.lo
  3. gcc -g -O2 -pthread    -D_POSIX_THREADS    -I/root/httpd-2.1.8-beta/srclib/pcre -I. -I/root/httpd-2.1.8-beta/os/unix -I/root/httpd-2.1.8-beta/server/mpm/prefork -I/root/httpd-2.1.8-beta/modules/http -I/root/httpd-2.1.8-beta/modules/filters -I/root/httpd-2.1.8-beta/modules/proxy -I/root/httpd-2.1.8-beta/include -I/root/httpd-2.1.8-beta/modules/generators -I/root/httpd-2.1.8-beta/modules/mappers -I/root/httpd-2.1.8-beta/srclib/apr/include -I/root/httpd-2.1.8-beta/srclib/apr-util/include -I/root/httpd-2.1.8-beta/srclib/apr-util/xml/expat/lib -I/root/httpd-2.1.8-beta/modules/proxy/../generators -I/root/httpd-2.1.8-beta/modules/ssl -I/root/httpd-2.1.8-beta/modules/dav/main -c /root/httpd-2.1.8-beta/server/buildmark.c
  4. /root/httpd-2.1.8-beta/srclib/apr/libtool --silent --mode=link gcc -g -O2 -pthread     -L/root/httpd-2.1.8-beta/srclib/apr-util/xml/expat/lib   -o httpd  modules.lo buildmark.o -export-dynamic server/libmain.la  modules/aaa/libmod_authn_file.la modules/aaa/libmod_authn_default.la modules/aaa/libmod_authz_host.la modules/aaa/libmod_authz_groupfile.la modules/aaa/libmod_authz_user.la modules/aaa/libmod_authz_default.la modules/aaa/libmod_auth_basic.la modules/filters/libmod_include.la modules/loggers/libmod_log_config.la modules/metadata/libmod_env.la modules/metadata/libmod_setenvif.la modules/http/libmod_http.la modules/http/libmod_mime.la modules/generators/libmod_status.la modules/generators/libmod_autoindex.la modules/generators/libmod_asis.la modules/generators/libmod_cgi.la modules/mappers/libmod_negotiation.la modules/mappers/libmod_dir.la modules/mappers/libmod_actions.la modules/mappers/libmod_userdir.la modules/mappers/libmod_alias.la modules/mappers/libmod_so.la  server/mpm/prefork/libprefork.la  os/unix/libos.la -lm /root/httpd-2.1.8-beta/srclib/pcre/libpcre.la /root/httpd-2.1.8-beta/srclib/apr-util/libaprutil-1.la /root/httpd-2.1.8-beta/srclib/apr-util/xml/expat/lib/libexpat.la /root/httpd-2.1.8-beta/srclib/apr/libapr-1.la -lpthread
  5. server/.libs/libmain.a(request.o)(.text+0x1685): In function `ap_directory_walk':
  6. /root/httpd-2.1.8-beta/server/request.c:982: warning: strcpy() is almost always misused, please use strlcpy()
  7. /root/httpd-2.1.8-beta/srclib/apr-util/.libs/libaprutil-1.so.2.1: warning: sprintf() is often misused, please use snprintf()
  8. /root/httpd-2.1.8-beta/srclib/apr-util/.libs/libaprutil-1.so.2.1: warning: strcat() is almost always misused, please use strlcat()


 
Je ne suis pas bilingue mais bon je comprend quand meme que pour des raisons de securité, l'equipe d'openbsd a décidé de reduire les risques de buffer overflow en interdisant les strcpy/sprintf/strcat ...
 
mais il ne s'agit que d'un warning ... ca ne devrait pas s'arreter ... si ?
 
existe il des ports non officiel de apache 2 ?

Reply

Marsh Posté le 26-10-2005 à 15:06:40   

Reply

Marsh Posté le 27-10-2005 à 16:10:37    

up ?

Reply

Marsh Posté le 27-10-2005 à 16:16:51    

tant que t'as pas d'erreurs, ca ne pose pas de problèmes les warnings, tu auras ton binaire

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed