Hozzászólások
Gentoo alatt Azureus egyszer csak nem akart futni, valami swt lib kellett volna neki. Nosza emerge dev-java/swt-3.2_pre1, amire ezt kaptam:
Unpacking src.zip to /var/tmp/portage/swt-3.2_pre1/work
* Applying swt-cairo-0.9.2.patch ...
[ ok ]
>>> Source unpacked.
Traceback (most recent call last):
File "/usr/bin/java-config", line 14, in ?
from java_config import jc_options
ImportError: No module named java_config
Traceback (most recent call last):
File "/usr/bin/java-config", line 14, in ?
from java_config import jc_options
ImportError: No module named java_config
* Building AWT library
cc -O -Wall -DSWT_VERSION=3201 -DLINUX -DGTK -I/include -I/include/linux -fpic -c -o swt_awt.o swt_awt.c
swt_awt.c:12:21: jawt_md.h: No such file or directory
swt_awt.c:17: error: syntax error before "jint"
swt_awt.c:18: error: syntax error before '*' token
swt_awt.c:19: warning: return type defaults to `int'
swt_awt.c: In function `Java_org_eclipse_swt_awt_SWT_1AWT_getAWTHandle':
swt_awt.c:20: error: `JAWT' undeclared (first use in this function)
swt_awt.c:20: error: (Each undeclared identifier is reported only once
swt_awt.c:20: error: for each function it appears in.)
swt_awt.c:20: error: syntax error before "awt"
swt_awt.c:21: error: `JAWT_DrawingSurface' undeclared (first use in this function)
swt_awt.c:21: error: `ds' undeclared (first use in this function)
swt_awt.c:22: error: `JAWT_DrawingSurfaceInfo' undeclared (first use in this function)
swt_awt.c:22: error: `dsi' undeclared (first use in this function)
swt_awt.c:23: error: `JAWT_X11DrawingSurfaceInfo' undeclared (first use in this function)
swt_awt.c:23: error: `dsi_x11' undeclared (first use in this function)
swt_awt.c:24: error: `jint' undeclared (first use in this function)
swt_awt.c:24: error: syntax error before "result"
swt_awt.c:27: error: `awt' undeclared (first use in this function)
swt_awt.c:27: error: `JAWT_VERSION_1_3' undeclared (first use in this function)
swt_awt.c:28: warning: implicit declaration of function `JAWT_GetAWT'
swt_awt.c:28: error: `env' undeclared (first use in this function)
swt_awt.c:29: error: `canvas' undeclared (first use in this function)
swt_awt.c:30: error: `NULL' undeclared (first use in this function)
swt_awt.c:31: error: `lock' undeclared (first use in this function)
swt_awt.c:32: error: `JAWT_LOCK_ERROR' undeclared (first use in this function)
swt_awt.c:34: error: syntax error before ')' token
swt_awt.c:35: error: `result' undeclared (first use in this function)
swt_awt.c:35: error: syntax error before "dsi_x11"
swt_awt.c: At top level:
swt_awt.c:47: error: syntax error before "void"
swt_awt.c:48: error: syntax error before '*' token
swt_awt.c:49: warning: return type defaults to `int'
swt_awt.c: In function `Java_org_eclipse_swt_awt_SWT_1AWT_setDebug':
swt_awt.c:50: error: `JAWT' undeclared (first use in this function)
swt_awt.c:50: error: syntax error before "awt"
swt_awt.c:51: error: `JAWT_DrawingSurface' undeclared (first use in this function)
swt_awt.c:51: error: `ds' undeclared (first use in this function)
swt_awt.c:52: error: `JAWT_DrawingSurfaceInfo' undeclared (first use in this function)
swt_awt.c:52: error: `dsi' undeclared (first use in this function)
swt_awt.c:53: error: `JAWT_X11DrawingSurfaceInfo' undeclared (first use in this function)
swt_awt.c:53: error: `dsi_x11' undeclared (first use in this function)
swt_awt.c:54: error: `jint' undeclared (first use in this function)
swt_awt.c:54: error: syntax error before "lock"
swt_awt.c:56: error: `awt' undeclared (first use in this function)
swt_awt.c:56: error: `JAWT_VERSION_1_3' undeclared (first use in this function)
swt_awt.c:57: error: `env' undeclared (first use in this function)
swt_awt.c:58: error: `frame' undeclared (first use in this function)
swt_awt.c:59: error: `NULL' undeclared (first use in this function)
swt_awt.c:60: error: `lock' undeclared (first use in this function)
swt_awt.c:61: error: `JAWT_LOCK_ERROR' undeclared (first use in this function)
swt_awt.c:63: error: syntax error before ')' token
swt_awt.c:64: warning: implicit declaration of function `XSynchronize'
swt_awt.c:64: error: `debug' undeclared (first use in this function)
make: *** [swt_awt.o] Error 1
!!! ERROR: dev-java/swt-3.2_pre1 failed.
!!! Function src_compile, Line 104, Exitcode 2
!!! Failed to build AWT support
!!! If you need support, post the topmost build error, NOT this status message.
Na ilyenkor mi van?
- A hozzászóláshoz be kell jelentkezni
Nem tudom mi van, csak azt tudom, hogy megpróbálnám feltenni az azureus-bin-t, vagy az swt függőségeit újratenném.
- A hozzászóláshoz be kell jelentkezni
[quote:fb23e81a77="popacsek"]Nem tudom mi van, csak azt tudom, hogy megpróbálnám feltenni az azureus-bin-t, vagy az swt függőségeit újratenném.
Azureus-bin volt fent, és eccercsak (2 hét utáni emerge sync után) nem indult. Ezután akartam azureust forrásból feltenni.
- A hozzászóláshoz be kell jelentkezni
[quote:e69d9a2536="flimo"]Gentoo alatt Azureus egyszer csak nem akart futni, valami swt lib kellett volna neki. Nosza emerge dev-java/swt-3.2_pre1, amire ezt kaptam:
Unpacking src.zip to /var/tmp/portage/swt-3.2_pre1/work
* Applying swt-cairo-0.9.2.patch ...
[ ok ]
>>> Source unpacked.
Traceback (most recent call last):
File "/usr/bin/java-config", line 14, in ?
from java_config import jc_options
ImportError: No module named java_config
Traceback (most recent call last):
File "/usr/bin/java-config", line 14, in ?
from java_config import jc_options
ImportError: No module named java_config
* Building AWT library
cc -O -Wall -DSWT_VERSION=3201 -DLINUX -DGTK -I/include -I/include/linux -fpic -c -o swt_awt.o swt_awt.c
swt_awt.c:12:21: jawt_md.h: No such file or directory
swt_awt.c:17: error: syntax error before "jint"
swt_awt.c:18: error: syntax error before '*' token
swt_awt.c:19: warning: return type defaults to `int'
swt_awt.c: In function `Java_org_eclipse_swt_awt_SWT_1AWT_getAWTHandle':
swt_awt.c:20: error: `JAWT' undeclared (first use in this function)
swt_awt.c:20: error: (Each undeclared identifier is reported only once
swt_awt.c:20: error: for each function it appears in.)
swt_awt.c:20: error: syntax error before "awt"
swt_awt.c:21: error: `JAWT_DrawingSurface' undeclared (first use in this function)
swt_awt.c:21: error: `ds' undeclared (first use in this function)
swt_awt.c:22: error: `JAWT_DrawingSurfaceInfo' undeclared (first use in this function)
swt_awt.c:22: error: `dsi' undeclared (first use in this function)
swt_awt.c:23: error: `JAWT_X11DrawingSurfaceInfo' undeclared (first use in this function)
swt_awt.c:23: error: `dsi_x11' undeclared (first use in this function)
swt_awt.c:24: error: `jint' undeclared (first use in this function)
swt_awt.c:24: error: syntax error before "result"
swt_awt.c:27: error: `awt' undeclared (first use in this function)
swt_awt.c:27: error: `JAWT_VERSION_1_3' undeclared (first use in this function)
swt_awt.c:28: warning: implicit declaration of function `JAWT_GetAWT'
swt_awt.c:28: error: `env' undeclared (first use in this function)
swt_awt.c:29: error: `canvas' undeclared (first use in this function)
swt_awt.c:30: error: `NULL' undeclared (first use in this function)
swt_awt.c:31: error: `lock' undeclared (first use in this function)
swt_awt.c:32: error: `JAWT_LOCK_ERROR' undeclared (first use in this function)
swt_awt.c:34: error: syntax error before ')' token
swt_awt.c:35: error: `result' undeclared (first use in this function)
swt_awt.c:35: error: syntax error before "dsi_x11"
swt_awt.c: At top level:
swt_awt.c:47: error: syntax error before "void"
swt_awt.c:48: error: syntax error before '*' token
swt_awt.c:49: warning: return type defaults to `int'
swt_awt.c: In function `Java_org_eclipse_swt_awt_SWT_1AWT_setDebug':
swt_awt.c:50: error: `JAWT' undeclared (first use in this function)
swt_awt.c:50: error: syntax error before "awt"
swt_awt.c:51: error: `JAWT_DrawingSurface' undeclared (first use in this function)
swt_awt.c:51: error: `ds' undeclared (first use in this function)
swt_awt.c:52: error: `JAWT_DrawingSurfaceInfo' undeclared (first use in this function)
swt_awt.c:52: error: `dsi' undeclared (first use in this function)
swt_awt.c:53: error: `JAWT_X11DrawingSurfaceInfo' undeclared (first use in this function)
swt_awt.c:53: error: `dsi_x11' undeclared (first use in this function)
swt_awt.c:54: error: `jint' undeclared (first use in this function)
swt_awt.c:54: error: syntax error before "lock"
swt_awt.c:56: error: `awt' undeclared (first use in this function)
swt_awt.c:56: error: `JAWT_VERSION_1_3' undeclared (first use in this function)
swt_awt.c:57: error: `env' undeclared (first use in this function)
swt_awt.c:58: error: `frame' undeclared (first use in this function)
swt_awt.c:59: error: `NULL' undeclared (first use in this function)
swt_awt.c:60: error: `lock' undeclared (first use in this function)
swt_awt.c:61: error: `JAWT_LOCK_ERROR' undeclared (first use in this function)
swt_awt.c:63: error: syntax error before ')' token
swt_awt.c:64: warning: implicit declaration of function `XSynchronize'
swt_awt.c:64: error: `debug' undeclared (first use in this function)
make: *** [swt_awt.o] Error 1
!!! ERROR: dev-java/swt-3.2_pre1 failed.
!!! Function src_compile, Line 104, Exitcode 2
!!! Failed to build AWT support
!!! If you need support, post the topmost build error, NOT this status message.
Na ilyenkor mi van?
Egyrész frissítsd a java-config ebuild-et, és csekkold, hogy jók-e a beállítások. Utána próbálkozhatsz talán ezzel a lib-bel is.
Mindezek mellett ajánlom a revdep-rebuild-et. Feltétlen nézd meg, ohgy nem kell-e e valamit újraforgatni, mert frissült egy lib, és most nem találja.
Üdv,
Dw.
- A hozzászóláshoz be kell jelentkezni