++ ./configure 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 for mkoctfile... mkoctfile retrieving compile and link flags from mkoctfile checking for F77_FUNC... yes checking for octave... octave checking for OCTAVE_VERSION in Octave... 3.0.1 checking for octave_config_info('canonical_host_type') in Octave... i486-pc-linux-gnu checking for octave_config_info('SHLEXT') in Octave... so checking whether ln -s works... yes checking for ranlib... ranlib checking for strip... strip checking for java... java checking for javac... javac checking for jar... jar checking for Java version... 1.6.0_12 configure: creating ./config.status config.status: creating Makeconf "$prefix" is /usr/local "$exec_prefix" is ${prefix} octave commands will install into the following directories: m-files: /usr/share/octave/3.0.1/site/m/octave-forge oct-files: /usr/lib/octave/3.0.1/site/oct/i486-pc-linux-gnu/octave-forge binaries: /usr/lib/octave/3.0.1/site/exec/i486-pc-linux-gnu alternatives: m-files: /usr/share/octave/3.0.1/site/octave-forge-alternatives/m oct-files: /usr/lib/octave/3.0.1/site/octave-forge-alternatives/oct/i486-pc-linux-gnu shell commands will install into the following directories: binaries: ${exec_prefix}/bin man pages: ${datarootdir}/man libraries: ${exec_prefix}/lib headers: ${prefix}/include octave-forge is configured with octave: octave (version 3.0.1) mkoctfile: mkoctfile for Octave 1 java: yes find . -name NOINSTALL -print # shows which toolboxes won't be installed ++ make make[1]: Entering directory `/tmp/Oct/JH/java-1.2.6/src' if [ "Xi386X" = "XX" ]; then \ mkoctfile -DHAVE_OCTAVE_30 -v -DJAVAPKG_BUILD -I/usr/lib/jvm/java-6-sun-1.6.0.12/include -I/usr/lib/jvm/java-6-sun-1.6.0.12/include/linux -o __java__.oct __java__.cc ; \ else \ mkoctfile -DHAVE_OCTAVE_30 -v -DJAVAPKG_BUILD -DJAVA_ARCH=\\\"i386\\\" -DJAVA_HOME=\\\"/usr/lib/jvm/java-6-sun-1.6.0.12\\\" -I/usr/lib/jvm/java-6-sun-1.6.0.12/include -I/usr/lib/jvm/java-6-sun-1.6.0.12/include/linux -o __java__.oct __java__.cc ; \ fi g++ -c -I/usr/include -I/usr/lib/jvm/java-6-sun-1.6.0.12/include -I/usr/lib/jvm/java-6-sun-1.6.0.12/include/linux -fPIC -I/usr/include/octave-3.0.1 -I/usr/include/octave-3.0.1/octave -mieee-fp -O2 -g -I/usr/lib/jvm/java-6-sun-1.6.0.12/include -I/usr/lib/jvm/java-6-sun-1.6.0.12/include/linux -DHAVE_OCTAVE_30 -DJAVAPKG_BUILD -DJAVA_ARCH=\"i386\" -DJAVA_HOME=\"/usr/lib/jvm/java-6-sun-1.6.0.12\" __java__.cc -o __java__.o __java__.cc: In function 'std::string get_module_path(const std::string&, bool)': __java__.cc:226: error: no match for call to '(std::string) ()' __java__.cc: In function 'std::string initial_class_path()': __java__.cc:265: error: no match for call to '(std::string) ()' __java__.cc: In function 'void initialize_jvm()': __java__.cc:384: warning: deprecated conversion from string constant to 'char*' __java__.cc:410: error: no match for call to '(std::string) ()' __java__.cc: In function 'octave_value get_array_elements(JNIEnv*, _jobject*, const octave_value_list&)': __java__.cc:611: 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:633: warning: deprecated conversion from string constant to 'char*' __java__.cc: In function 'octave_value box(JNIEnv*, _jobject*, _jclass*)': __java__.cc:782: warning: deprecated conversion from string constant to 'char*' __java__.cc:847: warning: deprecated conversion from string constant to 'char*' __java__.cc: In function 'int unbox(JNIEnv*, const octave_value&, jobject_ref&, jclass_ref&)': __java__.cc:987: warning: deprecated conversion from string constant to 'char*' __java__.cc:1051: warning: deprecated conversion from string constant to 'char*' __java__.cc: In function 'int java_event_hook()': __java__.cc:1116: 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:1695: 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:1720: 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:1745: 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:1766: 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:1786: 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:1812: 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:1834: warning: deprecated conversion from string constant to 'char*' make[1]: *** [__java__.oct] Error 1 make[1]: Leaving directory `/tmp/Oct/JH/java-1.2.6/src' make: *** [build] Error 2