[mod-lisp-devel] Re: mod_lisp installation problems

Marc Battyani marc.battyani at fractalconcept.com
Thu May 18 07:47:43 UTC 2006


Hi John,

[copied to the mod-lisp-devel mailing list]

> Alright, fair warning: I may be a bit of a newbie when it comes to this
> stuff, but I don't think I'm missing anything obvious.
>
> I recently wanted to try out the combination of running a local
> apache2.2 + mod_lisp + TBNL server on my Ubuntu box. I downloaded the
> apache source from their homepage, and compiled apache, starting
> with ./configure --enable-so to enable DSO support(that was my only
> configure option, perhaps more are needed?). I then checked that it
> work, and everything was going fine. I then downloaded the newest
> mod_lisp from your subversion repository, and tried to install it via
> your instructions, with the command 'axps -i -c mod_lisp2.c'.
>
> This however, gives me this output:
>
> j1p at ubuntu:~/hacking/lisp/web/mod_lisp$ sudo /usr/local/apache2/bin/apxs
> -c -i -a mod_lisp2.c
>
> /usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic
> -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2
> -pthread -I/usr/local/apache2/include  -I/usr/local/apache2/include
> -I/usr/local/apache2/include   -c -o mod_lisp2.lo mod_lisp2.c && touch
> mod_lisp2.slo
> mod_lisp2.c: In function 'open_lisp_socket':
> mod_lisp2.c:379: warning: passing argument 4 of 'apr_socket_create'
> makes integer from pointer without a cast
> mod_lisp2.c:379: error: too few arguments to function
> 'apr_socket_create'
> apxs:Error: Command failed with rc=65536
>
> Any ideas, it seems like its a problem in the mod_lisp2.c file itself,
> but I'm not experienced enough to fix it.

Are you using the latest mod_lisp2 version from the repository?
http://www.fractalconcept.com:8000/public/open-source/mod_lisp/mod_lisp2.c

There have been some changes in the Apache2 libraries recently (with Apache 
2.20 IIRC)

Marc





More information about the mod-lisp-devel mailing list