Hi,

while setting my system up after a complete re-install I had two
problems with neko (both cvs and the tar ball). Before I wiped my hard
disk it always worked well, I have no idea what changed (apart from
the missing lib, obviously):


[EMAIL PROTECTED] ~/.neko/neko $ make
mkdir bin 2>/dev/nul
/bin/sh: /dev/nul: Permission denied
make: [createbin] Error 1 (ignored)
cc -Wall -O3 -fPIC -fomit-frame-pointer -I vm -DCOMPACT_TABLE -pthread
-o libs/std/sys.o -c libs/std/sys.c
libs/std/sys.c: In function `sys_cpu_time':
libs/std/sys.c:365: error: `CLK_TCK' undeclared (first use in this function)
libs/std/sys.c:365: error: (Each undeclared identifier is reported only once
libs/std/sys.c:365: error: for each function it appears in.)
make: *** [libs/std/sys.o] Error 1

(Solution: Replaced CLK_TCK with 1000000l, which isn't really a
solution, but made it compile)



gcc -shared -L../../bin -lneko -L/usr/lib -L/usr/local/lib
-L/usr/local/lib/mysql  -o ../../bin/regexp.ndll -lpcre regexp.o
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lpcre
collect2: ld returned 1 exit status
Called from tools/install.neko line 284
Uncaught exception - Error 256 : aborted
make: *** [libs] Error 1

(Solution: I didn't have libpcre yet, installed it, works)


Just so you know...

Mark

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

Reply via email to