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;

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).

I have managed to get Neko working with the apache2-mpm-prefork, but
not with the threaded version (apache2-mpm-worker).  Any ideas?

Cheers,
--
                                                   Jens Peter Secher
_DD6A 05B0 174E BFB2 D4D9 B52E 0EE5 978A FE63 E8A1 jpsecher gmail com_
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?

--
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to