Hi Gonzalo -

The initial 3.2.0 release of the Apache HTTPd filter doesn't support 2.4.x.
We're trying to get a new release cut, but you can find the patch here..

https://github.com/cosignweblogin/cosign/commit/3f84ca45b2945086135be119e763c4f265dfa46f

Liam

On Mon, Nov 16, 2015 at 10:13 AM, <g.fer.or...@unicyber.co.uk> wrote:

> Hi
>
>
>
> I am trying to compile cosign on ubuntu 14.04
>
> This is for cosign: 3.2.0
>
> ----
>
>  ./configure --enable-apache2=/usr/bin/apxs2
>
> make
>
> cd filters/apache2; make  all
>
> make[1]: Entering directory `/root/cosign-3.2.0/filters/apache2'
>
> /usr/bin/apxs2 -c  -I../../common  -I/usr/include -I../../libsnet
> -I../common  -L/usr/lib  -lnsl  -lssl -lcrypto   mod_cosign.c
> ../common/connect.c ../common/cookiefs.c ../common/sparse.c
> ../../common/argcargv.c ../../common/fbase64.c ../../common/mkcookie.c
> ../../common/rate.c ../../version.c ../../libsnet/snet.c
>
> /usr/share/apr-1.0/build/libtool --silent --mode=compile
> --tag=disable-static x86_64-linux-gnu-gcc -std=gnu99 -prefer-pic -pipe -g
> -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
> -Werror=format-security  -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT
> -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0
> -I/usr/include/apr-1.0 -I/usr/include -I../../common -I/usr/include
> -I../../libsnet -I../common  -c -o mod_cosign.lo mod_cosign.c && touch
> mod_cosign.slo
>
> mod_cosign.c: In function 'cosign_handler':
>
> mod_cosign.c:343:16: error: 'conn_rec' has no member named 'remote_ip'
>
>    r->connection->remote_ip, r->server );
>
>                 ^
>
> mod_cosign.c: In function 'cosign_auth':
>
> mod_cosign.c:531:16: error: 'conn_rec' has no member named 'remote_ip'
>
>
>
> ------
>
> Running apxs2 by itself:
>
> /usr/bin/apxs2 -c  -I../../common  -I/usr/include -I../../libsnet
> -I../common  -L/usr/lib  -lnsl  -lssl -lcrypto   mod_cosign.c
> ../common/connect.c ../common/cookiefs.c ../common/sparse.c
> ../../common/argcargv.c ../../common/fbase64.c ../../common/mkcookie.c
> ../../common/rate.c ../../version.c ../../libsnet/snet.c
>
> /usr/share/apr-1.0/build/libtool --silent --mode=compile
> --tag=disable-static x86_64-linux-gnu-gcc -std=gnu99 -prefer-pic -pipe -g
> -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
> -Werror=format-security  -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT
> -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0
> -I/usr/include/apr-1.0 -I/usr/include -I../../common -I/usr/include
> -I../../libsnet -I../common  -c -o mod_cosign.lo mod_cosign.c && touch
> mod_cosign.slo
>
> x86_64-linux-gnu-gcc: error: mod_cosign.c: No such file or directory
>
> x86_64-linux-gnu-gcc: fatal error: no input files
>
> compilation terminated.
>
> apxs:Error: Command failed with rc=65536
>
>
>
> Any further parameter should be used during the compilation?
>
> I went through the README and I have tried multiple things but I always
> get the same issue.
>
> Thanks!
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Presto, an open source distributed SQL query engine for big data, initially
> developed by Facebook, enables you to easily query your data on Hadoop in a
> more interactive manner. Teradata is also now providing full enterprise
> support for Presto. Download a free open source copy now.
> http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
> _______________________________________________
> Cosign-discuss mailing list
> Cosign-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cosign-discuss
>
>
------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a 
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
_______________________________________________
Cosign-discuss mailing list
Cosign-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cosign-discuss

Reply via email to