> Hi,
>
> I had to do the following to get Neko to compile on Arm, HPPA, IA64,
> and Sparc:
>
> diff -urNad neko-1.5.2~/vm/main.c neko-1.5.2/vm/main.c
> --- neko-1.5.2~/vm/main.c 2006-11-22 16:07:11.000000000 +0100
> +++ neko-1.5.2/vm/main.c 2007-01-08 23:48:27.124709909 +0100
> @@ -31,7 +31,7 @@
> # include <signal.h>
> #endif
>
> -static char *data = "##BOOT_POS\0\0\0\0##";
> +static char *data = "########BOOT_POS\0\0\0\0##";
> static FILE *self;
>
> static char *executable_path() {
> @@ -147,7 +147,7 @@
> #endif
>
> static int execute( neko_vm *vm, char **argv, int argc ) {
> - unsigned int data_pos = *(unsigned int*)(data+10);
> + unsigned int data_pos = *(unsigned int*)(data+16);
> char *exe = executable_path();
> value mload;
> int ret;
Thanks, patched.
> The result is that Neko now is in the normal Debian archive, although
> it will not make it into the Etch stable release (which hopefully
> happens next month).
Is something specific missing for it ?
> I have managed to get Neko working with the apache2-mpm-prefork, but
> not with the threaded version (apache2-mpm-worker). Any ideas?
Last time I looked, mod_neko was successfuly loaded but as soon as we
were calling the Boehm GC (used by libneko), Apache was getting stuck.
libgc should be MT-safe when appropriatly compiled, so I'm not sure what
is the problem here but that's something bewteen Apache and libgc so I
can't be much help there.
Nicolas
--
Neko : One VM to run them all
(http://nekovm.org)