Thread: [Sablevm-developer] building from CVS
Brought to you by:
egagnon
From: David P. B. <db...@CS...> - 2003-02-10 04:16:38
|
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. Reading 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=E9langer 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 |
From: Etienne M. G. <eti...@uq...> - 2003-02-10 06:13:04
|
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. Reading 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> > > 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 = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Sablevm-developer mailing list > Sab...@li... > https://lists.sourceforge.net/lists/listinfo/sablevm-developer -- Etienne M. Gagnon, Ph.D. http://www.info.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/ |
From: David P. B. <db...@CS...> - 2003-02-10 18:59:05
|
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, >=20 > You need to run: >=20 > aclocal ; libtoolize ; autoconf ; autoheader ; automake --foreign -a >=20 > It is also interesting to generate TAGS file using etags: >=20 > ... # build commands > make ; make install > etags -R >=20 > To indent your code: >=20 > make indent >=20 > Etienne >=20 >=20 > On Sun, Feb 09, 2003 at 11:16:35PM -0500, David Paul BELANGER wrote: > >=20 > > Hello, > >=20 > > 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...). > >=20 > > I am not at all familiar with the autoconf/automake process. Reading= on > > the web didn't help. > >=20 > > 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. > >=20 > > My system is Debian GNU/Linux/PPC. > >=20 > > What commands do I need to run and in what order? > >=20 > > Thanks, > > David > >=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 > > ------------------------------------------------------- > > This SF.NET email is sponsored by: > > SourceForge Enterprise Edition + IBM + LinuxWorld =3D Something 2 See= ! > > http://www.vasoftware.com > > _______________________________________________ > > Sablevm-developer mailing list > > Sab...@li... > > https://lists.sourceforge.net/lists/listinfo/sablevm-developer >=20 > --=20 > Etienne M. Gagnon, Ph.D. http://www.info.uqam.ca/~egagnon/ > SableVM: http://www.sablevm.org/ > SableCC: http://www.sablecc.org/ --=20 --- David B=E9langer 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 |
From: Prof. E. M. G. <eti...@uq...> - 2003-02-10 20:09:19
Attachments:
build-debug
|
Hi David. I tried to get SableVM running on my PowerBook (Debian stable(mostly) + testing(libc6)), using your older non-reflection patch yesterday. It didn't work. I just tried again applying your latest patch ver1.2 to a plain CVS snapshot of sablevm/sablepath-libs/sablepath-classes and I get the same failure: $ sablevm -Y HelloWorld java/lang/ExceptionInInitializerError $ Do you have any idea what might be wrong in my setting? I am compiling using the attached script. Etienne 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. Reading 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> >>> >>>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 = Something 2 See! >>>http://www.vasoftware.com >>>_______________________________________________ >>>Sablevm-developer mailing list >>>Sab...@li... >>>https://lists.sourceforge.net/lists/listinfo/sablevm-developer >> >>-- >>Etienne M. Gagnon, Ph.D. http://www.info.uqam.ca/~egagnon/ >>SableVM: http://www.sablevm.org/ >>SableCC: http://www.sablecc.org/ > > -- Etienne M. Gagnon, Ph.D. http://www.info.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/ |
From: David P. B. <db...@CS...> - 2003-02-10 21:41:25
|
On Mon, Feb 10, 2003 at 02:56:26PM -0500, Prof. Etienne M. Gagnon wrote: > Hi David. >=20 > I tried to get SableVM running on my PowerBook (Debian stable(mostly) += =20 > testing(libc6)), using your older non-reflection patch yesterday. It=20 > didn't work. >=20 > I just tried again applying your latest patch ver1.2 to a plain CVS=20 > snapshot of sablevm/sablepath-libs/sablepath-classes and I get the same= =20 > failure: >=20 > $ sablevm -Y HelloWorld > java/lang/ExceptionInInitializerError > $ >=20 > 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. It will work if you set CPPFLAGS before calling configure. CPPFLAGS=3D'-DLIBFFIBUG' export CPPFLAGS then ./configure etc. 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. David > 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 generat= e > >>>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/ > 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 --- David B=E9langer 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 |
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/ |