Re: HELP:: difficulty while installing JIKESrvm 2.9.1- unable to confiure classpath 95

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 02 October 2007 07:49:16 deepak poola wrote:
> hello ,
>  i am unable to install jikes rvm, i need ur help in installing... the
> error while configuring the classpath is as follows
>
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> 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 ISO C89... none needed
> checking dependency style of gcc... gcc3
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/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 xlf... no
> checking for f77... no
> checking for frt... no
> checking for pgf77... no
> checking for cf77... no
> checking for fort77... no
> checking for fl32... no
> checking for af77... no
> checking for xlf90... no
> checking for f90... no
> checking for pgf90... no
> checking for pghpf... no
> checking for epcf90... no
> checking for gfortran... gfortran
> checking whether we are using the GNU Fortran 77 compiler... yes
> checking whether gfortran 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 gfortran option to produce PIC... -fPIC
> checking if gfortran PIC flag -fPIC works... yes
> checking if gfortran static flag -static works... yes
> checking if gfortran supports -c -o file.o... yes
> checking whether the gfortran 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 ISO C89... (cached) none needed
> checking dependency style of gcc... (cached) gcc3
> checking whether gcc and cc understand -c and -o together... yes
> 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 getloadavg... 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 inline... inline
> checking for __attribute__... yes
> checking how many arguments gethostbyname_r() takes... six
> 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... 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 cairo >= 1.1.8... yes
> checking CAIRO_CFLAGS... -I/usr/include/cairo -I/usr/include/freetype2
> -I/usr/include/libpng12
> checking CAIRO_LIBS... -lcairo
> checking for XRenderQueryExtension in -lXrender... yes
> checking for XRRQueryExtension in -lXrandr... yes
> checking for gconf-2.0 >= 2.6.0... 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 firefox-xpcom...
> 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 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 gcjh... no
> checking for javah... /opt/jdk1.6.0_02/bin/javah
> checking jni_md.h support... yes
> checking for ecj... no
> checking for javac... /opt/jdk1.6.0_02/bin/javac
> 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 tools/gjavah
> 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 gjavah commands
> config.status: executing gen-classlist commands
> config.status: executing copy-vmresources commands
>
>
> [root@localhost classpath-0.95]# gmake | tee out
> Making all in lib
> gmake[1]: Entering directory
> `/root/Desktop/jikes/jikesrvm-2.9.1/components/classpath/95/classpath-
> 0.95/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
> /opt/jdk1.6.0_02/bin/javac -bootclasspath '' -classpath
> ../vm/reference:..:../external/w3c_dom:../external/sax:../external/relaxngD
>atatype:../external/jsr166:.:: -d . @classes
>
>
> The system is out of resources.
> Consult the following stack trace for details.
> java.lang.OutOfMemoryError: Java heap space
>         at
> com.sun.tools.javac.util.Position$LineMapImpl.build(Position.java:139)
>
>         at com.sun.tools.javac.util.Position.makeLineMap(Position.java:63)
>         at com.sun.tools.javac.parser.Scanner.getLineMap(Scanner.java:1105)
>         at
> com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:512) at
> com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java
>
> :550)
>
>         at com.sun.tools.javac.main.JavaCompiler.parseFiles(
> JavaCompiler.java:801)
>         at com.sun.tools.javac.main.JavaCompiler.compile (JavaCompiler.java
>
> :727)
>
>         at com.sun.tools.javac.main.Main.compile(Main.java:353)
>         at com.sun.tools.javac.main.Main.compile(Main.java:279)
>         at com.sun.tools.javac.main.Main.compile(Main.java:270)
>         at com.sun.tools.javac.Main.compile(Main.java:69)
>         at com.sun.tools.javac.Main.main(Main.java:54)
> gmake[1]: *** [compile-classes] Error 3
> gmake[1]: Leaving directory `/root/Desktop/jikes/jikesrvm- 2.9.1
> /components/classpath/95/classpath-0.95/lib'
> gmake: *** [all-recursive] Error 1


The problem you're encountered is because javac doesn't have enough memory to 
build classpath.  It needs an option along the lines -J-mx384M to allocate 
more memory.  What's odd is that your build seems to be using Sun's JDK 1.6, 
while the JikesRVM build should have downloaded a copy of ecj for you and 
used that.  This problem doesn't occur when using ecj.

BTW, you probably shouldn't be doing normal actions such as this as root...

Cheers,
-- 
Andrew :)



[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux