Bonjour à tous.
Je cherche a crée un .deb de rsyslog 4.8 pour pouvoir l’installer sur une Lenny.
Voila le processus de création que j’effectue :
Dans mon répertoire rsyslog-4.8.0
[code]dh_make -e adresse@mail
Choix de l’option single
edition du fichier debian/control
Source: rsyslog
Section: admin
Priority: extra
Maintainer: root adresse@mail
Build-Depends: debhelper (>= 7), autotools-dev, libc6 (>= 2.7-1), zlib1g (>= 1:1.1.4), lsb-base (>= 3.2-14)
Standards-Version: 3.7.3
Package: rsyslog4
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Rsyslog with /etc/rsyslog.conf and /etc/init.d/rsyslog
debuild -k0xidkey -S -sa --lintian-opts -i
pbuilder build rsyslog_4.8.0-1.dsc[/code]
Et voila l’erreur que j’obtiens :
In file included from stream.h:72,
from obj.h:50,
from rsyslog.h:483,
from rsyslog.c:63:
zlibw.h:28:18: error: zlib.h: No such file or directory
In file included from stream.h:72,
from obj.h:50,
from rsyslog.h:483,
from rsyslog.c:63:
zlibw.h:32: error: expected ')' before 'strm'
zlibw.h:33: error: expected ';' before 'int'
In file included from obj.h:50,
from rsyslog.h:483,
from rsyslog.c:63:
stream.h:123: error: expected specifier-qualifier-list before 'Bytef'
make[3]: *** [librsyslog_la-rsyslog.lo] Error 1
make[3]: Leaving directory `/tmp/buildd/rsyslog-4.8.0/runtime'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/rsyslog-4.8.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/rsyslog-4.8.0'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
pbuilder: Failed autobuilding of package
-> Aborting with an error
-> unmounting dev/pts filesystem
-> unmounting proc filesystem
-> cleaning the build env
-> removing directory /var/cache/pbuilder/build//7529 and its subdirectories
~
zlib1g-dev est installe.
Je suis sur une version 5.0.10 de debian.
Merci d’avance
Sky