Thread: [Sablevm-developer] Trying to use raw source on ia64 - build-many problems
Brought to you by:
egagnon
From: Grzegorz P. <ga...@de...> - 2002-12-13 22:59:08
|
Hi! I finally got some time this evening and wanted to finalize the work on ia64 port. I wanted to do it other way round (I mean - not using debs) so I fetched all three archives, copied build and build-many scripts into the dir where archives reside. Then I ran: gadek@merulo:~/sable4$ ./build-many /home/gadek/sable4/local And I am getting this: gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I./include -DBOOT_CLASS_PATH=3D\"/home/gadek/sable4/local/lib/sablevm-debug/sablevm/cl= asses-1.0.5\" -DBOOT_LIBRARY_PATH=3D\"/home/gadek/sable4/local/lib/sablevm-= debug/sablevm\" -g -O2 -Wall -fno-gcse -Wno-unused -std=3Diso9899:1990 -ped= antic -O0 -Werror -W -fno-builtin -Wshadow -Wpointer-arith -Wbad-function-c= ast -Wundef -Wcast-align -Wwrite-strings -Wsign-compare -Wstrict-prototypes= -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wlong-long -= c libsablevm.c -MT libsablevm.lo -MD -MP -MF .deps/libsablevm.TPlo -fPIC -= DPIC -o libsablevm.lo In file included from libsablevm.c:33: types.h:240:24: error_bits.h: No such file or directory types.h:273:27: error_classes.h: No such file or directory types.h:302:32: error_init_methods.h: No such file or directory types.h:337:29: error_instances.h: No such file or directory libsablevm.c:36:26: global_alloc.h: No such file or directory libsablevm.c:41:22: cl_alloc.h: No such file or directory libsablevm.c:48:27: method_invoke.h: No such file or directory libsablevm.c:51:18: cast.c: No such file or directory libsablevm.c:53:18: util.c: No such file or directory libsablevm.c:57:28: error_throwing.c: No such file or directory libsablevm.c:58:26: global_alloc.c: No such file or directory libsablevm.c:66:27: method_invoke.c: No such file or directory libsablevm.c:70:22: cl_alloc.c: No such file or directory libsablevm.c:71:31: class_file_parser.c: No such file or directory libsablevm.c:72:24: splay_tree.c: No such file or directory libsablevm.c:77:30: native_interface.c: No such file or directory In file included from libsablevm.c:78: interpreter.c:165:33: instructions_switch.c: No such file or directory interpreter.c:431:54: instructions_preparation_switch_threaded.c: No such file or directory In file included from libsablevm.c:83: invoke_interface.c:184:21: vm_args.c: No such file or directory make[3]: *** [libsablevm.lo] Error 1 make[3]: Leaving directory `/home/gadek/sable4/sablevm-1.0.5/src/libsablevm' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/gadek/sable4/sablevm-1.0.5/src/libsablevm' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/gadek/sable4/sablevm-1.0.5/src' make: *** [install-recursive] Error 1 ln: creating symbolic link `/home/gadek/sable4/local/lib/sablevm-debug/sablevm' to `/home/gadek/sable4/local/lib/sablevm/debug-lib/sablevm': No such file or directory It seems that it cannot find error_bits.h. After taking closer look I found out that all error*.m4.* files didn't produce the resulting *.h and *.c files! Is this my fault somewhere? Hmm... after even more close look I can say that most of *.m4.* files didn't produce needed resulting *.h and *.c. So build didn't have much chances to be completed. I haven't used build-many script yet... Grzegorz B. Prokopski PS: Etienne - if you cold join the irc for a moment maybe... (especially if the anwer to the above isn't clear) |
From: Etienne M. G. <eti...@uq...> - 2002-12-14 06:30:18
|
On Fri, Dec 13, 2002 at 11:56:57PM +0100, Grzegorz Prokopski wrote: > Hi! > > I finally got some time this evening and wanted to finalize the > work on ia64 port. I wanted to do it other way round (I mean - not > using debs) so I fetched all three archives, copied build and > build-many scripts into the dir where archives reside. > Then I ran: > > gadek@merulo:~/sable4$ ./build-many /home/gadek/sable4/local > > And I am getting this: The build-many script is meant to decompress and compile the .tar.gz archives. For some reason, it seems the GNU m4 generated files are missing (yet they should be in the .tar.gz archives). If you want to build sablevm from a CVS snapshot, try instead: aclocal ; libtoolize ; autoconf ; autoheader ; automake --foreign -a =2E/configure \ --prefix=3D/home/egagnon/work \ --program-suffix=3D-debug \ --libdir=3D/home/egagnon/work/lib/sablevm-debug \ --enable-debugging-features \ --disable-signals-for-exceptions \ --with-gc=3Dcopying \ --with-obj-layout=3Dbidirectional \ --with-threading=3Dswitch make ; make install ; etags -R This builds a "debug" version. (You might want to look at Archie's patch to keep symbols around). Of course you might want to replace "/home/egagnon/work" by something more appropriate, and specify different configure options. Try "./configure --help" [after running "aclocal ; libtoolize ; autoconf ; autoheader ; automake --foreign -a"]. > PS: Etienne - if you cold join the irc for a moment maybe... > (especially if the anwer to the above isn't clear) I was watching exams all afternoon and evening (and busy answering students questions in the morning)... So, I didn't read your message soon enough. :( Have fun! Etienne --=20 Etienne M. Gagnon http://www.info.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/ |