OK, so I have done as you said and here is my first error (which may
be causing all the others)

gcc -o bin/libneko.dylib vm/alloc.o vm/builtins.o vm/callback.o
vm/context.o vm/interp.o vm/load.o vm/objtable.o vm/others.o vm/hash.o
vm/module.o LIBNEKO_LIBS = -L/opt/local/lib -ldl -lgc -lm -dynamiclib
-single_module -install_name @executable_path/libneko.dylib
i686-apple-darwin8-gcc-4.0.1: LIBNEKO_LIBS: No such file or directory
i686-apple-darwin8-gcc-4.0.1: =: No such file or directory

Hank

On 6/10/06, Alex Drahon <[EMAIL PROTECTED]> wrote:
> 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)


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

Reply via email to