Pb compilation APR-0.9.4.tar.gz

Bonjour,

Il faut que j'installe apr-0.9.4.tar.gz sur un Ubuntu Server

Je télécharge
Je decompresse (tar xvzf ... )
Je compile (make ...)

Et la erreur :

make[2]: Leaving directory `/home/user/apr-0.9.4/file_io/unix'
make[1]: Leaving directory `/home/user/apr-0.9.4/file_io/unix'
Making all in network_io/unix
make[1]: Entering directory `/home/user/apr-0.9.4/network_io/unix'
make[2]: Entering directory `/home/user/apr-0.9.4/network_io/unix'
/bin/bash /home/user/apr-0.9.4/libtool --silent --mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE   -I../../include -I../../include/arch/unix -I../../include/arch/unix  -c sendrecv.c && touch sendrecv.lo
/bin/bash /home/user/apr-0.9.4/libtool --silent --mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE   -I../../include -I../../include/arch/unix -I../../include/arch/unix  -c sockets.c && touch sockets.lo
/bin/bash /home/user/apr-0.9.4/libtool --silent --mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE   -I../../include -I../../include/arch/unix -I../../include/arch/unix  -c sockopt.c && touch sockopt.lo
sockopt.c: In function 'apr_socket_opt_set':
sockopt.c:256: error: 'SCTP_NODELAY' undeclared (first use in this function)
sockopt.c:256: error: (Each undeclared identifier is reported only once
sockopt.c:256: error: for each function it appears in.)
make[2]: *** [sockopt.lo] Error 1
make[2]: Leaving directory `/home/user/apr-0.9.4/network_io/unix'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/apr-0.9.4/network_io/unix'
make: *** [all-recursive] Error 1



Quelqu'un peut-il m'aider ?

Merci d'avance

Nouabi
--

Proverbe Chinois : Casser un cruche vide sur votre tête, si ça sonne creux, n'en déduisez pas seule
que c'est la cruche qui est vide ... :-D
Configuration: Windows XP
Firefox 3.0

3 réponses

  • Votes
  • Date
  • Date décroissante
  1. Modérateur
    Salut,

    il n'y a pas un fichier README ou INSTALL dans l'arborescence?!
    1. salut,

      Je télécharge
      Je decompresse (tar xvzf ... )
      Je compile (make ...)


      pas de configure ?

      il n'y a pas un fichier README ou INSTALL dans l'arborescence?!

      si ! si !

      [redfox@mandriva apr-0.9.4]$ cat README.dev
      Apache Portable Runtime
      =======================

      If you are building APR from CVS, you need to use a slightly non-standard
      build process. You must have autoconf and libtool installed for this to
      work. There are three steps:

      1) ./buildconf
      2) ./configure
      3) make

      If you are building APR from a distribution tarball, buildconf will have
      already been run for you, and you therefore do not need to have either
      autoconf or libtool installed, and you do not need to run buildconf. Skip
      step one above and just run configure then make.
      [redfox@mandriva apr-0.9.4]$