Hello everyone,

I'm trying to recompile Rivet against Tcl8.6 under Debian by using the
Debian source package, but something goes wrong. Here's what I'm doing.

$ apt-get source libapache2-mod-rivet
$ cd libapache2-mod-rivet-2.1.1
$ vim debian/rules
* in rules, I change the following options
* TCL_VERSION=8.6
* and
* --with-tcl=/usr/lib/tcl8.6
* and
* --with-tclsh=/usr/bin/tcl8.6
$ dpkg-buildpackage -rfakeroot -b

compilation goes on until it tryies to build the rivet/apache-2/rivetCore.c
source. There, I get this error:

rivetCore.c: In function 'TestpanicCmd':
rivetCore.c:1459:5: error: format not a string literal and no format
arguments [-Werror=format-security]

If I just change the TCL_VERSION variable, without touching the configure
options, the .deb is built, but against Tcl8.5.

I also downloaded the sources right from the Rivet website and I compiled
them against Tcl8.6 by using the same configure options I found in
debian/rules, and it went well.

Could you give me some help? I'm almost sure I'm doing something wrong, but
I never recompiled from source packages, so I've no idea about what it is.

Thank you very much,

Marco Pallante

Reply via email to