Hello All,
I have been trying to install JikesRVM as part of my project work(on fedora core 6), which in turn requires installing GNU classpath. As it is specified in installation guide(for installing classpath), I could able to execute "./configure" , but when it comes to executing "gmake", its giving some error. I am adding the execution history as an attachment. Anybody, please tell how to overcome this problem.
Thanks in advance.
rsr.
[root@localhost classpath-0.93-generics]# ls aclocal.m4 ChangeLog-2004 config.log doc install-sh m4 native THANKYOU AUTHORS ChangeLog-2005 config.status examples java Makefile NEWS TODO autogen.sh ChangeLog.gnujaxp.1 config.sub external javax Makefile.am org tools autom4te.cache ChangeLog.gnujaxp.2 configure gnu lib Makefile.in README vm BUGS ChangeLog.libxmlj configure.ac HACKING libtool mauve-classpath resource ChangeLog compile COPYING include LICENSE missing scripts ChangeLog-2003 config.guess depcomp INSTALL ltmain.sh mkinstalldirs sun [root@localhost classpath-0.93-generics]# ./configure checking build system type... i686-redhat-linux-gnu checking host system type... i686-redhat-linux-gnu checking target system type... i686-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking alsa/asoundlib.h usability... yes checking alsa/asoundlib.h presence... yes checking for alsa/asoundlib.h... yes checking for snd_seq_open in -lasound... yes checking dssi.h usability... no checking dssi.h presence... no checking for dssi.h... no checking whether ln -s works... yes checking for a BSD-compatible install... /usr/bin/install -c checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for a sed that does not truncate output... /bin/sed checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... f95 checking whether we are using the GNU Fortran 77 compiler... yes checking whether f95 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for f95 option to produce PIC... -fPIC checking if f95 PIC flag -fPIC works... yes checking if f95 static flag -static works... yes checking if f95 supports -c -o file.o... yes checking whether the f95 linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... gcc -E checking __attribute__((,,))... yes checking __attribute__((unused))... yes checking for ANSI C header files... (cached) yes checking size of void *... 4 checking whether byte ordering is bigendian... no checking for unistd.h... (cached) yes checking for sys/types.h... (cached) yes checking sys/config.h usability... no checking sys/config.h presence... no checking for sys/config.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking asm/ioctls.h usability... yes checking asm/ioctls.h presence... yes checking for asm/ioctls.h... yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking sys/utime.h usability... no checking sys/utime.h presence... no checking for sys/utime.h... no checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking crt_externs.h usability... no checking crt_externs.h presence... no checking for crt_externs.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking magic.h usability... yes checking magic.h presence... yes checking for magic.h... yes checking sys/event.h usability... no checking sys/event.h presence... no checking for sys/event.h... no checking sys/epoll.h usability... yes checking sys/epoll.h presence... yes checking for sys/epoll.h... yes checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking for ftruncate... yes checking for fsync... yes checking for select... yes checking for gethostname... yes checking for socket... yes checking for strerror... yes checking for fork... yes checking for pipe... yes checking for execve... yes checking for open... yes checking for close... yes checking for lseek... yes checking for fstat... yes checking for read... yes checking for readv... yes checking for write... yes checking for writev... yes checking for htonl... yes checking for memset... yes checking for htons... yes checking for connect... yes checking for getsockname... yes checking for getpeername... yes checking for bind... yes checking for listen... yes checking for accept... yes checking for recvfrom... yes checking for send... yes checking for sendto... yes checking for setsockopt... yes checking for getsockopt... yes checking for time... yes checking for mktime... yes checking for gethostbyname_r... yes checking for localtime_r... yes checking for strerror_r... yes checking for fcntl... yes checking for mmap... yes checking for munmap... yes checking for mincore... yes checking for msync... yes checking for madvise... yes checking for getpagesize... yes checking for sysconf... yes checking for lstat... yes checking for readlink... yes checking for inet_aton... yes checking for inet_addr... yes checking for inet_pton... yes checking for getifaddrs... yes checking for kqueue... no checking for kevent... no checking for epoll_create... yes checking for readdir_r... yes checking for magic_open in -lmagic... yes checking whether struct sockaddr_in6 is in netinet/in.h... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for tm_gmtoff in struct tm... yes checking for an ANSI C-conforming const... yes checking for __attribute__... yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... /bin/sh: ./config.rpath: No such file or directory done checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for X... libraries , headers checking for gethostbyname... yes checking for connect... (cached) yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XTestQueryExtension in -lXtst... yes checking for pkg-config... /usr/bin/pkg-config checking for gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... yes checking GTK_CFLAGS... -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 checking GTK_LIBS... -pthread -L/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgthread-2.0 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 checking for freetype2... yes checking FREETYPE2_CFLAGS... -I/usr/include/freetype2 checking FREETYPE2_LIBS... -lfreetype checking for pangoft2... yes checking PANGOFT2_CFLAGS... -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include checking PANGOFT2_LIBS... -L/lib -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 checking for XRenderQueryExtension in -lXrender... yes checking for XRRQueryExtension in -lXrandr... yes checking for gconf-2.0 >= 2.11.2... yes checking GCONF_CFLAGS... -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include checking GCONF_LIBS... -pthread -L/lib -lgconf-2 -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 checking for gdk-2.0 >= 2.8... yes checking GDK_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 checking GDK_LIBS... -L/lib -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 checking for MSG_NOSIGNAL... yes checking for SO_NOSIGPIPE ... no checking for mozilla-plugin... checking for firefox-plugin... yes checking MOZILLA_CFLAGS... -I/usr/include/firefox-1.5.0.7/java -I/usr/include/firefox-1.5.0.7/plugin -I/usr/include/firefox-1.5.0.7 -I/usr/include/firefox-1.5.0.7/xpcom -I/usr/include/firefox-1.5.0.7/string -I/usr/include/nspr4 checking MOZILLA_LIBS... -L/usr/lib/firefox-1.5.0.7 -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -ldl checking for glib-2.0... yes checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include checking GLIB_LIBS... -L/lib -lglib-2.0 checking for gcjh... /usr/bin/gcjh checking jni_md.h support... yes checking for gcjx... no checking for ecj... /usr/bin/ecj checking whether to enable maintainer-specific portions of Makefiles... no checking for mkdir... /bin/mkdir checking for cp... /bin/cp checking for date... /bin/date checking for find... /usr/bin/find checking for zip... /usr/bin/zip checking for fastjar... /usr/bin/fastjar checking for stdint types... stdint.h (shortcircuit) make use of stdint.h in include/config-int.h (assuming C99 compatible system) configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/api/Makefile config.status: creating external/Makefile config.status: creating external/sax/Makefile config.status: creating external/w3c_dom/Makefile config.status: creating external/relaxngDatatype/Makefile config.status: creating external/jsr166/Makefile config.status: creating gnu/classpath/Configuration.java config.status: creating gnu/java/security/Configuration.java config.status: creating include/Makefile config.status: creating native/Makefile config.status: creating native/fdlibm/Makefile config.status: creating native/jawt/Makefile config.status: creating native/jni/Makefile config.status: creating native/jni/classpath/Makefile config.status: creating native/jni/java-io/Makefile config.status: creating native/jni/java-lang/Makefile config.status: creating native/jni/java-net/Makefile config.status: creating native/jni/java-nio/Makefile config.status: creating native/jni/java-util/Makefile config.status: creating native/jni/gtk-peer/Makefile config.status: creating native/jni/gconf-peer/Makefile config.status: creating native/jni/qt-peer/Makefile config.status: creating native/jni/xmlj/Makefile config.status: creating native/jni/midi-alsa/Makefile config.status: creating native/jni/midi-dssi/Makefile config.status: creating native/jni/native-lib/Makefile config.status: creating native/plugin/Makefile config.status: creating resource/Makefile config.status: creating resource/META-INF/services/java.util.prefs.PreferencesFactory config.status: creating scripts/Makefile config.status: creating scripts/classpath.spec config.status: creating lib/Makefile config.status: creating lib/gen-classlist.sh config.status: creating lib/copy-vmresources.sh config.status: creating tools/Makefile config.status: creating examples/Makefile config.status: creating examples/Makefile.jawt config.status: creating examples/Makefile.java2d config.status: creating tools/gappletviewer config.status: creating tools/gjarsigner config.status: creating tools/gkeytool config.status: creating tools/gjar config.status: creating tools/gnative2ascii config.status: creating tools/gserialver config.status: creating tools/grmiregistry config.status: creating tools/gtnameserv config.status: creating tools/gorbd config.status: creating tools/grmid config.status: creating tools/grmic config.status: creating include/config.h config.status: include/config.h is unchanged config.status: linking ./include/jni_md-x86-linux-gnu.h to include/jni_md.h config.status: executing depfiles commands config.status: executing include/config-int.h commands config.status: creating include/config-int.h : _CLASSPATH_INCLUDE_CONFIG_INT_H config.status: include/config-int.h is unchanged config.status: executing gappletviewer commands config.status: executing gjarsigner commands config.status: executing gkeytool commands config.status: executing gjar commands config.status: executing gnative2ascii commands config.status: executing gserialver commands config.status: executing grmiregistry commands config.status: executing gtnameserv commands config.status: executing gorbd commands config.status: executing grmid commands config.status: executing grmic commands config.status: executing gen-classlist commands config.status: executing copy-vmresources commands [root@localhost classpath-0.93-generics]# gmake Making all in lib gmake[1]: Entering directory `/home/raju/project2/jikesrvm-2.9.0/components/classpath/93/classpath-0.93-generics/lib' true top_builddir=.. top_srcdir=.. /bin/sh ./gen-classlist.sh standard Adding java source files from srcdir '..'. Adding java source files from VM directory ../vm/reference /usr/bin/ecj -1.5 -warn:-deprecation,serial,typeHiding,unchecked,unused,varargsCast -proceedOnError -bootclasspath '' -classpath ../vm/reference:..:../external/w3c_dom:../external/sax:../external/relaxngDatatype:../external/jsr166:.:: -d . @classes incorrect classpath: ---------- 1. ERROR in ../gnu/java/net/protocol/http/HTTPURLConnection.java (at line 0) /* HTTPURLConnection.java -- ^ Internal compiler error java.lang.OutOfMemoryError: Java heap space ---------- Exception in thread "main" java.lang.OutOfMemoryError: Java heap space gmake[1]: *** [compile-classes] Error 1 gmake[1]: Leaving directory `/home/raju/project2/jikesrvm-2.9.0/components/classpath/93/classpath-0.93-generics/lib' gmake: *** [all-recursive] Error 1 [root@localhost classpath-0.93-generics]#