[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compiling java package on linux
From: |
Thomas Weber |
Subject: |
Re: compiling java package on linux |
Date: |
Mon, 9 Nov 2009 21:20:47 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Sun, Nov 08, 2009 at 08:11:13PM -0800, nikorey wrote:
>
> Just install 3.2.2 from the package manager on ubuntu 9.10 and had not
> problems. Now I am trying to install the java package and I get the
> following error:
>
> octave:2> pkg -verbose install java-1.2.6.tar.gz
<snip>
> __java__.cc: In member function ‘void JVMArgs::read_java_opts(const
> std::string&)’:
> __java__.cc:106: error: ‘cerr’ is not a member of ‘std’
> __java__.cc: In member function ‘void JVMArgs::update()’:
> __java__.cc:137: error: ‘cout’ is not a member of ‘std’
> __java__.cc: In function ‘void initialize_jvm()’:
> __java__.cc:384: warning: deprecated conversion from string constant to
> ‘char*’
Please post the output of
gcc --version
I suspect a 4.4 version, which doesn't include quite some header files
by default.
Thomas