Hi

>> the nekoml does not seems to be install properly on my system, trying to
>> use it result in :
>> /nekoml: error while loading shared libraries: libneko.so: wrong ELF
>> class: ELFCLASS64
> 
> Seems strange
> Looks like your nekoml binary is compiled in 32Bit and is trying to load
> libneko which is 64Bit (I guess).

hm... I'll search if I can find anything strange in my paths.


>> the version is 1.8.1-6ubuntu1 installed using apt-get.
>> os : lubuntu 11.10 x64
>> 
>> 
>> I also tryed to compile the nekovm thinking it might be a bug since it's
>> not the last version but also encounter an error :
>> ../bin/neko nekoml -nostd neko/Main.nml nekoml/Main.nml core/*.nml -pack
>> ../bin/nekoml.std
>> ../bin/neko: symbol lookup error: ../bin/zlib.ndll: undefined symbol:
>> deflateInit_
> 
> Seems like you don't have libz installed ?
> Any warnings when you are compiling zlib.ndll ?

zlib is installed.
I do not have the choice to skip it like other libs. 



here is the comple build stack I have :

$ make
mkdir bin 2>/dev/null
make: [createbin] Erreur 1 (ignorée)
(cd src; LD_LIBRARY_PATH=../bin: NEKOPATH=../boot:../bin ../bin/neko nekoml 
-nostd neko/Main.nml nekoml/Main.nml)
(cd src; LD_LIBRARY_PATH=../bin: NEKOPATH=../boot:../bin ../bin/neko nekoc 
-link ../boot/nekoc.n neko/Main)
neko/Main
IO
String
List
Array
Core
Buffer
Int32
neko/Printer
neko/Ast
Lexer
LexEngine
Hashtbl
neko/Binast
neko/Compile
Map
neko/Bytecode
neko/Xml
Xml
neko/Console
neko/Parser
neko/Lexer
Reflect
Stack
neko/Linker
neko/Doc
Sys
Args
(cd src; LD_LIBRARY_PATH=../bin: NEKOPATH=../boot:../bin ../bin/neko nekoc 
-link ../boot/nekoml.n nekoml/Main)
nekoml/Main
IO
String
List
Array
Core
Buffer
Int32
neko/Printer
neko/Ast
Lexer
LexEngine
Hashtbl
nekoml/Type
neko/Compile
Map
neko/Bytecode
Reflect
nekoml/Neko
nekoml/Typer
nekoml/Ast
nekoml/Match
Set
nekoml/Parser
nekoml/Lexer
neko/Lexer
neko/Parser
neko/Binast
neko/Xml
Xml
Sys
Zip
Stack
Args
(cd src; LD_LIBRARY_PATH=../bin: NEKOPATH=../boot:../bin ../bin/neko nekoc 
tools/install.neko)
(cd src; LD_LIBRARY_PATH=../bin: NEKOPATH=../boot:../bin ../bin/neko 
tools/install )
cp ../boot/nekoc.n ../bin
cp ../boot/nekoml.n ../bin
../bin/neko nekoc tools/test.neko
cp tools/test.n ../bin
../bin/neko nekoc tools/nekoboot.neko
../bin/neko nekoml -nostd -p tools Tools.nml
../bin/neko nekoc -link tools/nekotools.n Tools
Tools
tools/nekoboot
Sys
List
Array
Core
String
Buffer
IO
Int32
WebServer
Hashtbl
Lexer
LexEngine
Stack
Reflect
Args
Net
cp tools/nekotools.n ../bin
../bin/neko tools/nekoboot ../bin/nekoc.n
../bin/neko tools/nekoboot ../bin/nekoml.n
../bin/neko tools/nekoboot ../bin/nekotools.n
Compiling zlib...
gcc -O3 -fPIC -pthread  -c -I../../vm -I/usr/include zlib.c
gcc -shared -L../../bin -pthread -lneko 
-L/media/SATA2_7200/dev/nekovm/nekovm-read-only/src -L/usr/lib -L/usr/lib/mysql 
-L/usr/local/lib -L/usr/local/lib/mysql -L/opt/local/lib -L/opt/local/lib/mysql 
-L/opt/local/lib/mysql5/mysql  -o ../../bin/zlib.ndll -lz zlib.o  
Compiling sqlite...
The file sqlite3.h provided when installing Sqlite 3 was not found
Please enter a valid include path to look for it
Or 's' to skip this library
> s
Compiling mod_neko...
The file httpd.h provided when installing Apache 1.3.x was not found
Please enter a valid include path to look for it
Or 's' to skip this library
> s
Compiling mod_tora...
The file httpd.h provided when installing Apache 1.3.x was not found
Please enter a valid include path to look for it
Or 's' to skip this library
> s
Compiling mod_tora2...
The file httpd.h provided when installing Apache 2.2.x was not found
Please enter a valid include path to look for it
Or 's' to skip this library
> s
Compiling mod_neko2...
The file httpd.h provided when installing Apache 2.2.x was not found
Please enter a valid include path to look for it
Or 's' to skip this library
> s
Compiling ui...
The file gtk/gtk.h provided when installing GTK+2.0 was not found
Please enter a valid include path to look for it
Or 's' to skip this library
> s
Compiling regexp...
gcc -O3 -fPIC -pthread  -c -I../../vm -I/usr/include regexp.c
gcc -shared -L../../bin -pthread -lneko 
-L/media/SATA2_7200/dev/nekovm/nekovm-read-only/src -L/usr/lib -L/usr/lib/mysql 
-L/usr/local/lib -L/usr/local/lib/mysql -L/opt/local/lib -L/opt/local/lib/mysql 
-L/opt/local/lib/mysql5/mysql  -o ../../bin/regexp.ndll -lpcre regexp.o  
Compiling mysql5...
gcc -O3 -fPIC -pthread -Imy_proto -I../common -c -I../../vm ../common/sha1.c
gcc -O3 -fPIC -pthread -Imy_proto -I../common -c -I../../vm ../common/socket.c
gcc -O3 -fPIC -pthread -Imy_proto -I../common -c -I../../vm my_proto/my_proto.c
my_proto/my_proto.c: In function ‘myp_read_packet’:
my_proto/my_proto.c:138:3: attention : incompatible implicit declaration of 
built-in function ‘free’ [enabled by default]
my_proto/my_proto.c: In function ‘myp_begin_packet’:
my_proto/my_proto.c:178:3: attention : incompatible implicit declaration of 
built-in function ‘free’ [enabled by default]
my_proto/my_proto.c: In function ‘myp_write’:
my_proto/my_proto.c:195:3: attention : incompatible implicit declaration of 
built-in function ‘free’ [enabled by default]
gcc -O3 -fPIC -pthread -Imy_proto -I../common -c -I../../vm my_proto/my_api.c
gcc -O3 -fPIC -pthread -Imy_proto -I../common -c -I../../vm mysql.c
gcc -shared -L../../bin -pthread -lneko 
-L/media/SATA2_7200/dev/nekovm/nekovm-read-only/src -L/usr/lib -L/usr/lib/mysql 
-L/usr/local/lib -L/usr/local/lib/mysql -L/opt/local/lib -L/opt/local/lib/mysql 
-L/opt/local/lib/mysql5/mysql  -o ../../bin/mysql5.ndll sha1.o socket.o 
my_proto.o my_api.o mysql.o  
Compiling mysql...
The file mysql.h provided when installing MySQL 4.+ was not found
Please enter a valid include path to look for it
Or 's' to skip this library
> s
../bin/neko nekoml -nostd neko/Main.nml nekoml/Main.nml core/*.nml -pack 
../bin/nekoml.std
../bin/neko: symbol lookup error: ../bin/zlib.ndll: undefined symbol: 
deflateInit_
Called from tools/install.neko line 411
Uncaught exception - Error 32512 : aborted
make: *** [libs] Erreur 1

____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth



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

Reply via email to