octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #32477] Java package 1.2.7 won't install on Oc


From: Chansup Byun
Subject: [Octave-bug-tracker] [bug #32477] Java package 1.2.7 won't install on Octave 3.4.0
Date: Mon, 14 Feb 2011 15:09:44 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 (CK-MLL) Firefox/3.6.12

URL:
  <http://savannah.gnu.org/bugs/?32477>

                 Summary: Java package 1.2.7 won't install on Octave 3.4.0
                 Project: GNU Octave
            Submitted by: cbalways
            Submitted on: Mon 14 Feb 2011 03:09:43 PM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: Chansup Byun
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.4.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I tried to install a java package,  java-1.2.7.tar.gz, on Octave 3.4.0
installation but it failed with the following error:


# octave 
GNU Octave, version 3.4.0
Copyright (C) 2011 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.
 
Octave was configured for "x86_64-unknown-linux-gnu".
 
Additional information about Octave is available at http://www.octave.org.
 
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
 
Read http://www.octave.org/bugs.html to learn how to submit bug reports.
 
For information about changes from previous versions, type `news'.
 
warning: function
/usr/local/octave/3.4.0/share/octave/packages/strings-1.0.7/strtrim.m shadows
a core library function
warning: function
/usr/local/octave/3.4.0/share/octave/packages/specfun-1.0.9/erfcx.m shadows a
built-in function
warning: function
/usr/local/octave/3.4.0/share/octave/packages/statistics-1.0.10/prctile.m
shadows a core library function
warning: function
/usr/local/octave/3.4.0/share/octave/packages/statistics-1.0.10/fstat.m
shadows a core library function
octave:1> pkg install -auto -global java-1.2.7.tar.gz
__java__.cc:59: error: ‘int octave_refcount’ redeclared as different kind
of symbol
/usr/local/octave/3.4.0/include/octave-3.4.0/octave/../octave/oct-refcount.h:28:
error: previous declaration of ‘template<class T> class octave_refcount’
__java__.cc: In function ‘std::string get_module_path(const std::string&,
bool)’:
__java__.cc:223: error: ‘getcwd’ is not a member of ‘octave_env’
__java__.cc: In function ‘void initialize_jvm()’:
__java__.cc:385: warning: deprecated conversion from string constant to
‘char*’
__java__.cc: In function ‘octave_value get_array_elements(JNIEnv*,
__jobject*, const octave_value_list&)’:
__java__.cc:612: warning: deprecated conversion from string constant to
‘char*’
__java__.cc: In function ‘octave_value set_array_elements(JNIEnv*,
__jobject*, const octave_value_list&, const octave_value&)’:
__java__.cc:634: warning: deprecated conversion from string constant to
‘char*’
__java__.cc: In function ‘octave_value box(JNIEnv*, __jobject*,
__jclass*)’:
__java__.cc:783: warning: deprecated conversion from string constant to
‘char*’
__java__.cc:848: warning: deprecated conversion from string constant to
‘char*’
__java__.cc: In function ‘int unbox(JNIEnv*, const octave_value&,
jobject_ref&, jclass_ref&)’:
__java__.cc:988: warning: deprecated conversion from string constant to
‘char*’
__java__.cc:1052: warning: deprecated conversion from string constant to
‘char*’
__java__.cc:1054: error: missing template arguments before ‘++’ token
__java__.cc: In function ‘int java_event_hook()’:
__java__.cc:1117: warning: deprecated conversion from string constant to
‘char*’
__java__.cc: In member function ‘octave_value
octave_java::do_java_invoke(JNIEnv*, const std::string&, const
octave_value_list&)’:
__java__.cc:1696: warning: deprecated conversion from string constant to
‘char*’
__java__.cc: In static member function ‘static octave_value
octave_java::do_java_invoke(JNIEnv*, const std::string&, const std::string&,
const octave_value_list&)’:
__java__.cc:1721: warning: deprecated conversion from string constant to
‘char*’
__java__.cc: In static member function ‘static octave_value
octave_java::do_java_create(JNIEnv*, const std::string&, const
octave_value_list&)’:
__java__.cc:1746: warning: deprecated conversion from string constant to
‘char*’
__java__.cc: In member function ‘octave_value
octave_java::do_java_get(JNIEnv*, const std::string&)’:
__java__.cc:1767: warning: deprecated conversion from string constant to
‘char*’
__java__.cc: In static member function ‘static octave_value
octave_java::do_java_get(JNIEnv*, const std::string&, const std::string&)’:
__java__.cc:1787: warning: deprecated conversion from string constant to
‘char*’
__java__.cc: In member function ‘octave_value
octave_java::do_java_set(JNIEnv*, const std::string&, const
octave_value&)’:
__java__.cc:1813: warning: deprecated conversion from string constant to
‘char*’
__java__.cc: In static member function ‘static octave_value
octave_java::do_java_set(JNIEnv*, const std::string&, const std::string&,
const octave_value&)’:
__java__.cc:1835: warning: deprecated conversion from string constant to
‘char*’
make: *** [__java__.oct] Error 1
'make' returned the following error: make: Entering directory
`/tmp/oct-s3ldFY/java-1.2.7/src'
if [ "Xamd64X" = "XX" ]; then \
                        /usr/local/octave/3.4.0/bin/mkoctfile-3.4.0
-DHAVE_OCTAVE_34 -v -DJAVAPKG_BUILD -I/usr/lib/jvm/include
-I/usr/lib/jvm/include/linux -o __java__.oct __java__.cc ; \
            else \
                        /usr/local/octave/3.4.0/bin/mkoctfile-3.4.0
-DHAVE_OCTAVE_34 -v -DJAVAPKG_BUILD -DJAVA_ARCH=\\\"amd64\\\"
-DJAVA_HOME=\\\"/usr/lib/jvm\\\" -I/usr/lib/jvm/include
-I/usr/lib/jvm/include/linux -o __java__.oct __java__.cc ; \
            fi
g++ -c -fPIC -I/usr/local/octave/3.4.0/include/octave-3.4.0/octave/..
-I/usr/local/octave/3.4.0/include/octave-3.4.0/octave
-I/usr/local/octave/3.4.0/include -I/usr/include/freetype2 -g -O2
-I/usr/lib/jvm/include -I/usr/lib/jvm/include/linux -DHAVE_OCTAVE_34
-DJAVAPKG_BUILD -DJAVA_ARCH=\"amd64\" -DJAVA_HOME=\"/usr/lib/jvm\" __java__.cc
-o __java__.o
make: Leaving directory `/tmp/oct-s3ldFY/java-1.2.7/src'
error: called from `pkg>configure_make' in file
/usr/local/octave/3.4.0/share/octave/3.4.0/m/pkg/pkg.m near line 1332, column
9
error: called from:
error:   /usr/local/octave/3.4.0/share/octave/3.4.0/m/pkg/pkg.m at line 783,
column 5
error:   /usr/local/octave/3.4.0/share/octave/3.4.0/m/pkg/pkg.m at line 354,
column 9







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?32477>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]