And than I enter "scons configure" and java was not found.
Can you tell me that I must include here /usr/include/java ?Checking for Java... not found
Guessing Java include path... /usr/include/java
I tryed jdk and jre to copy into. But same output!
Moderator: Moderators
Install free-java-sdk.. worked for me as far as I can rememberAgon wrote:Okay, I instaleld JDK and JRE version 1.6.
And than I enter "scons configure" and java was not found.Can you tell me that I must include here /usr/include/java ?Checking for Java... not found
Guessing Java include path... /usr/include/java
I tryed jdk and jre to copy into. But same output!
Thx. I will try it.Install free-java-sdk.. worked for me as far as I can remember
Agon, is it not on yast (you're using suse right?)? I just used "apt-get install free-java-sdk" on ubuntu.Agon wrote:Thx. I will try it.Install free-java-sdk.. worked for me as far as I can remember
Do you mean this: http://openjdk.java.net/ ?
Okay I finish here, sry af. But I have no time for trying to install a open jdk with big requires.
Maybe Lippy can do this. But I don´t want to install 100 of packages to install one package to compile one library.
Code: Select all
[Loaded com.sun.imageio.plugins.jpeg.JPEGImageWriterSpi from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded com.sun.imageio.spi.FileImageInputStreamSpi from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded com.sun.imageio.spi.FileImageOutputStreamSpi from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded com.sun.imageio.spi.InputStreamImageInputStreamSpi from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded com.sun.imageio.spi.OutputStreamImageOutputStreamSpi from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded com.sun.imageio.spi.RAFImageInputStreamSpi from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded com.sun.imageio.spi.RAFImageOutputStreamSpi from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded javax.imageio.spi.IIORegistry$1 from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded javax.imageio.ImageReader from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded javax.imageio.metadata.IIOMetadataFormat from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded javax.imageio.ImageTranscoder from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded javax.imageio.ImageWriter from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded javax.imageio.IIOException from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
javax.imageio.IIOException: Can't read input file!
[Loaded aflobby.CBattleWindow$2 from file:/usr/share/games/spring/aflobby.jar]
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
[Loaded aflobby.CBattleWindow$57 from file:/usr/share/games/spring/aflobby.jar]
[Loaded javax.swing.BufferStrategyPaintManager$BufferInfo from shared objects file]
[Loaded java.awt.Component$BltBufferStrategy from shared objects file]
[Loaded sun.awt.SubRegionShowable from shared objects file]
[Loaded java.awt.Component$BltSubRegionBufferStrategy from shared objects file]
javax.imageio.IIOException: Can't read input file!
javax.imageio.IIOException: Can't read input file!
[Loaded sun.reflect.GeneratedConstructorAccessor4 from __JVM_DefineClass__]
[Loaded sun.misc.Signal$1 from /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/rt.jar]
[Loaded java.io.DeleteOnExitHook from shared objects file]
Code: Select all
Exception in thread "Timer-4" java.lang.UnsatisfiedLinkError: aflobby.CUnitSyncJNIBindings.Init(ZI)I
at aflobby.CUnitSyncJNIBindings.Init(Native Method)
at aflobby.CSync.Setup(CSync.java:76)
at aflobby.LoginTask.run(JLoginPanel.java:20)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Code: Select all
# Somehow unitsync fails to build with mingw:
# "build\tools\unitsync\pybind.o(.text+0x129d): In function `initunitsync':
# pybind.cpp:663: undefined reference to `_imp__Py_InitModule4TraceRefs'"
# Figured this out: this means we're attempting to build unitsync with debugging
# enabled against a python version with debugging disabled.
if env['platform'] != 'windows':
Default(unitsync)
Code: Select all
Author: tvo
Date: 2007-06-09 20:43:17 +0200 (Sat, 09 Jun 2007)
New Revision: 3813
Modified:
trunk/tools/unitsync/javabind.cpp
Log:
* Fix java bindings on Linux (hopefully they still work on Windows)
Modified: trunk/tools/unitsync/javabind.cpp
===================================================================
--- trunk/tools/unitsync/javabind.cpp 2007-06-09 14:33:33 UTC (rev 3812)
+++ trunk/tools/unitsync/javabind.cpp 2007-06-09 18:43:17 UTC (rev 3813)
@@ -22,7 +22,7 @@
// JNIEXPORT doesn't define default visibility
#ifdef __GNUC__
-#pragma visibility(default)
+#pragma GCC visibility push(default)
#endif
DLL_EXPORT const char* __stdcall GetSpringVersion();