Pb compilation APR-0.9.4.tar.gz

Fermé
nouabi Messages postés 143 Date d'inscription lundi 5 juin 2006 Statut Membre Dernière intervention 16 juillet 2010 - 1 juil. 2008 à 10:31
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 - 8 sept. 2008 à 22:21
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

3 réponses

nouabi Messages postés 143 Date d'inscription lundi 5 juin 2006 Statut Membre Dernière intervention 16 juillet 2010 8
8 sept. 2008 à 14:30
help me pleaz, j'y arrive toujour pas ....

merci
0
lami20j Messages postés 21331 Date d'inscription jeudi 4 novembre 2004 Statut Modérateur, Contributeur sécurité Dernière intervention 30 octobre 2019 3 569
8 sept. 2008 à 14:42
Salut,

il n'y a pas un fichier README ou INSTALL dans l'arborescence?!
0
bob031 Messages postés 8158 Date d'inscription samedi 7 août 2004 Statut Membre Dernière intervention 1 septembre 2014 473
8 sept. 2008 à 22:21
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]$
0