Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] 64-bit build problem with 5.09.0

Date2008-09-26 20:06
FromMichael Gogins
SubjectRe: [Cs-dev] 64-bit build problem with 5.09.0
The wrapper messages are warnings, not errors, ignore them. The final message about the jar is an error and means something is awry with SConstruct or your build environment. Can you run jar from the command line? If not, make sure you can. You may have a Java runtime environment, but not the Java SDK which is what you need here.

Hope this helps,
Mike

-----Original Message-----
>From: Dave Phillips 
>Sent: Sep 26, 2008 12:08 PM
>To: Csound Developers 
>Subject: [Cs-dev] 64-bit build problem with 5.09.0
>
>Greetings,
>
>I use the following options for scons :
>
>    scons useDouble=1 install=1 buildPythonOpcodes=1 buildInterfaces=1 
>buildJavaWrapper=1 dynamicCsoundLibrary=1 Word64=1
>
>And this error occurs :
>
>Generating wrappers...
>./H/csound.h:340: Warning(451): Setting a const char * variable may leak 
>memory.
>interfaces/cs_glue.hpp:507: Warning(473): Returning a pointer or 
>reference in a director method is not recommended.
>interfaces/CppSound.hpp:80: Warning(813): Warning for CppSound proxy: 
>Base CsoundFile ignored. Multiple inheritance is not supported in Java.
>: 'SConsEnvironment' object has no 
>attribute 'Jar':
>  File "/home/dlphilp/src/Csound5.09.0/SConstruct", line 1295:
>    jcsndJar = csoundJavaWrapperEnvironment.Jar(
>
>
>JAVA_HOME is set to /home/dlphilp/jdk1.6/.
>
>Am I missing something obvious ?
>
>Best,
>
>dp
>
>
>-------------------------------------------------------------------------
>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>Build the coolest Linux based applications with Moblin SDK & win great prizes
>Grand prize is a trip for two to an Open Source event anywhere in the world
>http://moblin-contest.org/redirect.php?banner_id=100&url=/
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-09-26 21:11
FromDave Phillips
SubjectRe: [Cs-dev] 64-bit build problem with 5.09.0
Michael Gogins wrote:
> The final message about the jar is an error and means something is awry with SConstruct or your build environment. Can you run jar from the command line? If not, make sure you can. You may have a Java runtime environment, but not the Java SDK which is what you need here.
Ah, thank you, Michael. The jar binary was not in the path, the compiler 
is happy now.

Thanks also to Steven and Victor, sorry for the confusion.

Best,

dp

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net