R

Richard Vickery richard.vickeryrv at gmail.com
Tue Oct 23 01:48:09 UTC 2012


another attempt

> > install.packages("rJava")
Error: unexpected '>' in ">"
> Installing package(s) into
‘/home/richard/R/i686-redhat-linux-gnu-library/2.15’
Error: unexpected symbol in "Installing package"
> (as ‘lib’ is unspecified)
Error: unexpected input in "(as �"
> trying URL 'http://cran.stat.sfu.ca/src/contrib/rJava_0.9-3.tar.gz'
Error: unexpected symbol in "trying URL"
> Content type 'application/x-gzip' length 537153 bytes (524 Kb)
Error: unexpected symbol in "Content type"
> opened URL
Error: unexpected symbol in "opened URL"
> ==================================================
Error: unexpected '==' in "=="
> downloaded 524 Kb
Error: unexpected numeric constant in "downloaded 524"
>
> * installing *source* package ‘rJava’ ...
Error: unexpected '*' in "*"
> ** package ‘rJava’ successfully unpacked and MD5 sums checked
Error: unexpected '^' in "**"
> checking for gcc... gcc -m32 -std=gnu99
Error: unexpected 'for' in "checking for"
> checking for C compiler default output file name... a.out
Error: unexpected 'for' in "checking for"
> checking whether the C compiler works... yes
Error: unexpected symbol in "checking whether"
> checking whether we are cross compiling... no
Error: unexpected symbol in "checking whether"
> checking for suffix of executables...
Error: unexpected 'for' in "checking for"
> checking for suffix of object files... o
Error: unexpected 'for' in "checking for"
> checking whether we are using the GNU C compiler... yes
Error: unexpected symbol in "checking whether"
> checking whether gcc -m32 -std=gnu99 accepts -g... yes
Error: unexpected symbol in "checking whether"
> checking for gcc -m32 -std=gnu99 option to accept ISO C89... none needed
Error: unexpected 'for' in "checking for"
> checking how to run the C preprocessor... gcc -m32 -std=gnu99 -E
Error: unexpected symbol in "checking how"
> checking for grep that handles long lines and -e... /usr/bin/grep
Error: unexpected 'for' in "checking for"
> checking for egrep... /usr/bin/grep -E
Error: unexpected 'for' in "checking for"
> checking for ANSI C header files... yes
Error: unexpected 'for' in "checking for"
> checking for sys/wait.h that is POSIX.1 compatible... yes
Error: unexpected 'for' in "checking for"
> checking for sys/types.h... yes
Error: unexpected 'for' in "checking for"
> checking for sys/stat.h... yes
Error: unexpected 'for' in "checking for"
> checking for stdlib.h... yes
Error: unexpected 'for' in "checking for"
> checking for string.h... yes
Error: unexpected 'for' in "checking for"
> checking for memory.h... yes
Error: unexpected 'for' in "checking for"
> checking for strings.h... yes
Error: unexpected 'for' in "checking for"
> checking for inttypes.h... yes
Error: unexpected 'for' in "checking for"
> checking for stdint.h... yes
Error: unexpected 'for' in "checking for"
> checking for unistd.h... yes
Error: unexpected 'for' in "checking for"
> checking for string.h... (cached) yes
Error: unexpected 'for' in "checking for"
> checking sys/time.h usability... yes
Error: unexpected symbol in "checking sys"
> checking sys/time.h presence... yes
Error: unexpected symbol in "checking sys"
> checking for sys/time.h... yes
Error: unexpected 'for' in "checking for"
> checking for unistd.h... (cached) yes
Error: unexpected 'for' in "checking for"
> checking for an ANSI C-conforming const... yes
Error: unexpected 'for' in "checking for"
> checking whether time.h and sys/time.h may both be included... yes
Error: unexpected symbol in "checking whether"
> configure: checking whether gcc -m32 -std=gnu99 supports static inline...
Error: unexpected symbol in "configure: checking whether"
> yes
Error: object 'yes' not found
> checking whether setjmp.h is POSIX.1 compatible... yes
Error: unexpected symbol in "checking whether"
> checking whether sigsetjmp is declared... yes
Error: unexpected symbol in "checking whether"
> checking whether siglongjmp is declared... yes
Error: unexpected symbol in "checking whether"
> checking Java support in R... present:
Error: unexpected symbol in "checking Java"
> interpreter : '/bin/java'
Error: object 'interpreter' not found
> archiver    : '/bin/jar'
Error: object 'archiver' not found
> compiler    : '/bin/javac'
Error: object 'compiler' not found
> header prep.: '/bin/javah'
Error: unexpected symbol in "header prep."
> cpp flags   : '-I/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6/jre/../include
-I/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6/jre/../include/linux'
Error: unexpected symbol in "cpp flags"
> java libs   : '-L/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6/jre/lib/i386
-L/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6/jre/lib/i386/client -ljvm'
Error: unexpected symbol in "java libs"
> checking whether JNI programs can be compiled...
Error: unexpected symbol in "checking whether"
> configure: error: Cannot compile a simple JNI program. See config.log for
details.
Error: unexpected symbol in "configure: error: Cannot compile"
>
> Make sure you have Java Development Kit installed and correctly
registered in R.
Error: unexpected symbol in "Make sure"
> If in doubt, re-run "R CMD javareconf" as root.
Error: unexpected 'in' in "If in"
>
> ERROR: configuration failed for package ‘rJava’
Error: unexpected symbol in "ERROR: configuration failed"
> * removing ‘/home/richard/R/i686-redhat-linux-gnu-library/2.15/rJava’
Error: unexpected '*' in "*"
> * restoring previous
‘/home/richard/R/i686-redhat-linux-gnu-library/2.15/rJava’
Error: unexpected '*' in "*"
> Warning in install.packages :
Error: unexpected 'in' in "Warning in"
>   installation of package ‘rJava’ had non-zero exit status
Error: unexpected symbol in "  installation of"
>
> The downloaded source packages are in
Error: unexpected symbol in "The downloaded"
> ‘/tmp/Rtmpz86WUb/downloaded_packages’
Error: unexpected input in "�"
> > library(JGR)
Error: unexpected '>' in ">"
> Loading required package: rJava
Error: unexpected symbol in "Loading required"
> Error : .onLoad failed in loadNamespace() for 'rJava', details:
Error: unexpected symbol in "Error : .onLoad failed"
>   call: dyn.load(file, DLLpath = DLLpath, ...)
Error: '...' used in an incorrect context
>   error: unable to load shared object
'/home/richard/R/i686-redhat-linux-gnu-library/2.15/rJava/libs/rJava.so':
Error: unexpected symbol in "  error: unable to"
>   libjvm.so: cannot open shared object file: No such file or directory
Error: unexpected symbol in "  libjvm.so: cannot open"
> Error: package ‘rJava’ could not be loaded
Error: unexpected input in "Error: package �"
> install.package(rJava)
Error: could not find function "install.package"
> install.packages("rJava")
Installing package(s) into
‘/home/richard/R/i686-redhat-linux-gnu-library/2.15’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
trying URL 'http://cran.stat.sfu.ca/src/contrib/rJava_0.9-3.tar.gz'
Content type 'application/x-gzip' length 537153 bytes (524 Kb)
opened URL
==================================================
downloaded 524 Kb

* installing *source* package ‘rJava’ ...
** package ‘rJava’ successfully unpacked and MD5 sums checked
checking for gcc... gcc -m32 -std=gnu99
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 -m32 -std=gnu99 accepts -g... yes
checking for gcc -m32 -std=gnu99 option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -m32 -std=gnu99 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... 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 for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
configure: checking whether gcc -m32 -std=gnu99 supports static inline...
yes
checking whether setjmp.h is POSIX.1 compatible... yes
checking whether sigsetjmp is declared... yes
checking whether siglongjmp is declared... yes
checking Java support in R... present:
interpreter : '/bin/java'
archiver    : '/bin/jar'
compiler    : '/bin/javac'
header prep.: '/bin/javah'
cpp flags   : '-I/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6/jre/../include
-I/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6/jre/../include/linux'
java libs   : '-L/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6/jre/lib/i386
-L/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6/jre/lib/i386/client -ljvm'
checking whether JNI programs can be compiled... configure: error: Cannot
compile a simple JNI program. See config.log for details.

Make sure you have Java Development Kit installed and correctly registered
in R.
If in doubt, re-run "R CMD javareconf" as root.

ERROR: configuration failed for package ‘rJava’
* removing ‘/home/richard/R/i686-redhat-linux-gnu-library/2.15/rJava’
* restoring previous
‘/home/richard/R/i686-redhat-linux-gnu-library/2.15/rJava’

The downloaded source packages are in
‘/tmp/Rtmp6R1lbj/downloaded_packages’
Warning message:
In install.packages("rJava") :
  installation of package ‘rJava’ had non-zero exit status

On Mon, Oct 22, 2012 at 6:39 PM, Richard Vickery <
richard.vickeryrv at gmail.com> wrote:

> sorry I mistakenly deleted the R discussion from my inbox. Here is what I
> get back:
>
> > install.packages("rJava")Installing package(s) into ‘/home/richard/R/i686-redhat-linux-gnu-library/2.15’
> (as ‘lib’ is unspecified)trying URL 'http://cran.stat.sfu.ca/src/contrib/rJava_0.9-3.tar.gz'Content type 'application/x-gzip' length 537153 bytes (524 Kb)opened URL==================================================downloaded 524 Kb
> * installing *source* package ‘rJava’ ...** package ‘rJava’ successfully unpacked and MD5 sums checkedchecking for gcc... gcc -m32 -std=gnu99
> 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 -m32 -std=gnu99 accepts -g... yes
> checking for gcc -m32 -std=gnu99 option to accept ISO C89... none needed
> checking how to run the C preprocessor... gcc -m32 -std=gnu99 -E
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/wait.h that is POSIX.1 compatible... 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 for string.h... (cached) yes
> checking sys/time.h usability... yes
> checking sys/time.h presence... yes
> checking for sys/time.h... yes
> checking for unistd.h... (cached) yes
> checking for an ANSI C-conforming const... yes
> checking whether time.h and sys/time.h may both be included... yes
> configure: checking whether gcc -m32 -std=gnu99 supports static inline...
> yes
> checking whether setjmp.h is POSIX.1 compatible... yes
> checking whether sigsetjmp is declared... yes
> checking whether siglongjmp is declared... yes
> checking Java support in R... present:
> interpreter : '/bin/java'
> archiver    : '/bin/jar'
> compiler    : '/bin/javac'
> header prep.: '/bin/javah'
> cpp flags   : '-I/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6/jre/../include -I/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6/jre/../include/linux'
> java libs   : '-L/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6/jre/lib/i386 -L/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.6/jre/lib/i386/client -ljvm'
> checking whether JNI programs can be compiled... configure: error: Cannot compile a simple JNI program. See config.log for details.
>
> Make sure you have Java Development Kit installed and correctly registered in R.
> If in doubt, re-run "R CMD javareconf" as root.
> ERROR: configuration failed for package ‘rJava’* removing ‘/home/richard/R/i686-redhat-linux-gnu-library/2.15/rJava’* restoring previous ‘/home/richard/R/i686-redhat-linux-gnu-library/2.15/rJava’Warning in install.packages :
>   installation of package ‘rJava’ had non-zero exit status
>
> The downloaded source packages are in
> 	‘/tmp/Rtmpz86WUb/downloaded_packages’> library(JGR)Loading required package: rJavaError : .onLoad failed in loadNamespace() for 'rJava', details:
>   call: dyn.load(file, DLLpath = DLLpath, ...)
>   error: unable to load shared object '/home/richard/R/i686-redhat-linux-gnu-library/2.15/rJava/libs/rJava.so':
>   libjvm.so: cannot open shared object file: No such file or directoryError: package ‘rJava’ could not be loaded
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20121022/7986e491/attachment.html>


More information about the devel mailing list