Re: [Sablevm-developer] building from CVS
Brought to you by:
egagnon
From: Etienne M. G. <eti...@uq...> - 2003-02-11 02:02:03
|
On Mon, Feb 10, 2003 at 04:41:23PM -0500, David Paul BELANGER wrote: > > Do you have any idea what might be wrong in my setting? >=20 > Yes, define LIBFFIBUG (a cpp macro) and it will compile with the work > around for the ppc and libffi. Ah! Of course. This was it.=20 So, I got SableVm to run on my new and nice PowerBook machine. Super!!! :-)))) > Note that if it is defined on x86, it will not work and it will produce > the same error so it should be defined only when compiling on ppc. I will investigate the libffi calling convention keeping an eye on the libffi bur reply message. Thanks a lot for your good work. It is great to have SableVM running well on PPC. I'll now start working on getting inline-threading working. Etienne > David >=20 > > I am compiling using the attached script. > >=20 > > Etienne > >=20 > >=20 > >=20 > > David Paul BELANGER wrote: > > >Thanks for the info. > > > > > >I just run "make indent" to produce a new patch (ver 1.2). > > >The only difference between 1.1 and 1.2 is the indentation. > > > > > >David > > > > > > > > >On Mon, Feb 10, 2003 at 01:08:24AM -0500, Etienne M. Gagnon wrote: > > > > > >>Hi David, > > >> > > >>You need to run: > > >> > > >>aclocal ; libtoolize ; autoconf ; autoheader ; automake --foreign -a > > >> > > >>It is also interesting to generate TAGS file using etags: > > >> > > >>... # build commands > > >>make ; make install > > >>etags -R > > >> > > >>To indent your code: > > >> > > >>make indent > > >> > > >>Etienne > > >> > > >> > > >>On Sun, Feb 09, 2003 at 11:16:35PM -0500, David Paul BELANGER wrote: > > >> > > >>>Hello, > > >>> > > >>>I'm trying to build SableVM from CVS but I'm not sure how to generate > > >>>the configure script (last time I cheated and copy it from the > > >>>release...). > > >>> > > >>>I am not at all familiar with the autoconf/automake process. Readin= g on > > >>>the web didn't help. > > >>> > > >>>I tried running autoconf and I got: > > >>>ibou:~/tmp21/sablevm/sablevm> autoconf > > >>>configure.ac:9: error: possibly undefined macro: AM_INIT_AUTOMAKE > > >>> If this token and others are legitimate, please use > > >>> m4_pattern_allow. > > >>> See the Autoconf documentation. > > >>>configure.ac:11: error: possibly undefined macro: > > >>>AM_CONFIG_HEADER > > >>>configure.ac:31: error: possibly undefined macro: > > >>>AC_DISABLE_STATIC > > >>>configure.ac:122: error: possibly undefined macro: > > >>>AC_LIBTOOL_DLOPEN > > >>>configure.ac:123: error: possibly undefined macro: > > >>>AM_PROG_LIBTOOL > > >>>ibou:~/tmp21/sablevm/sablevm>=20 > > >>> =20 > > >>>My version of autoconf is 2.50. > > >>> > > >>>My system is Debian GNU/Linux/PPC. > > >>> > > >>>What commands do I need to run and in what order? > > >>> > > >>>Thanks, > > >>>David > > >>> > > >>>--- > > >>> > > >>>David B?langer > > >>>Graduate Student > > >>>School of Computer Science > > >>>McGill University > > >>>Office: MC226 > > >>> > > >>>Web page: http://www.cs.mcgill.ca/~dbelan2/ > > >>>Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt > > >>> > > >>> > > >>> > > >>>------------------------------------------------------- > > >>>This SF.NET email is sponsored by: > > >>>SourceForge Enterprise Edition + IBM + LinuxWorld =3D Something 2 Se= e! > > >>>http://www.vasoftware.com > > >>>_______________________________________________ > > >>>Sablevm-developer mailing list > > >>>Sab...@li... > > >>>https://lists.sourceforge.net/lists/listinfo/sablevm-developer > > >> > > >>--=20 > > >>Etienne M. Gagnon, Ph.D. http://www.info.uqam.ca/~egagnon/ > > >>SableVM: http://www.sablevm.org/ > > >>SableCC: http://www.sablecc.org/ > > > > > > > >=20 > > --=20 > > Etienne M. Gagnon, Ph.D. http://www.info.uqam.ca/~egagnon/ > > SableVM: http://www.sablevm.org/ > > SableCC: http://www.sablecc.org/ >=20 > > VERSION=3D1.0.5 > >=20 > > rm -rf /home/egagnon/work > >=20 > > cd /home/egagnon/sablepath-libs > > make distclean > > /home/egagnon/sablevm/r > > aclocal ; libtoolize ; autoconf ; autoheader ; automake --foreign -a > > ./configure \ > > --prefix=3D/home/egagnon/work \ > > --enable-debugging-features > > make ; make install ; etags -R > >=20 > > cd /home/egagnon/sablepath-classes > > rm classes > > mkdir /home/egagnon/work/lib/sablevm/classes-$VERSION > > ln -s /home/egagnon/work/lib/sablevm/classes-$VERSION classes > > find -type f | grep -v CVS | grep \\.java$ | xargs jikes -g -d classes \ > > -bootclasspath src:classes -classpath src:classes -sourcepath src > > find resource -type f | grep -v CVS | cut -d\/ -f2- | \ > > awk '{print "cp resource/" $0 " classes/" $0 }' | sh > > chmod -R a+rX classes/* > >=20 > > cd /home/egagnon/sablevm/ > > make distclean > > /home/egagnon/sablevm/r > > aclocal ; libtoolize ; autoconf ; autoheader ; automake --foreign -a > > ./configure \ > > --prefix=3D/home/egagnon/work \ > > --enable-debugging-features > > make ; make install ; etags -R >=20 >=20 > --=20 >=20 > --- >=20 > David B?langer > Graduate Student > School of Computer Science > McGill University > Office: MC226 >=20 > Web page: http://www.cs.mcgill.ca/~dbelan2/ > Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt >=20 >=20 --=20 Etienne M. Gagnon, Ph.D. http://www.info.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/ |