Alex,

I think we are almost there. I appreciate your help.

There are just a couple of discrepancies between your install.neko and
mine I think.

You said:
Modify src/tools/install.neko:
lines 86+ change /usr/local to /opt/local
lines 103+ /opt/local/lib


I think our line numbers may not be in sync

line numbers 86-87 have the below code

        "/usr/include",
        "/usr/local/include",

perhaps you meant to look for user/include instead of usr/local ?

line numbers 94-105 have the below code. I am not sure what to do with
your line 103.

libraries = $array(
        "/usr/lib",
        "/usr/local/lib",
        "/usr/local/lib/mysql",
);

exec = function(cmd) {
        $print(cmd,"\n");
        var ecode = command(cmd);
        if( ecode != 0 )
                $throw("Error "+ecode+" : aborted");
}

It doesn't have to be exactly the same, these arrays are iterated during install until a lib is found, so you can replace or add items. /usr/include and /usr/lib are used by OS X so I didn't touch them but /usr/local/... are non-standard under OS X (or so I am told) so I replaced them with /opt/local/...

But you can just add respectively /opt/local/include and /opt/local/ lib to the 2 arrays.

Alex

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

Reply via email to