Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] azureus and java-swt problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
paul555
l33t
l33t


Joined: 22 Nov 2004
Posts: 612
Location: Greece

PostPosted: Mon Oct 03, 2005 9:56 pm    Post subject: [SOLVED] azureus and java-swt problem Reply with quote

Hi all today after a long time azureus working ok suddenly stopped working.The error message i get is :
Code:
paul@medic ~ $ azureus
Attempting to start Azureus...
Exception in thread "main" java.lang.NoClassDefFoundError: org/gudy/azureus2/ui/swt/Main

I reemerge azureus-bin (~x86) i use but no luck.Then i decided to go for azureus (again ~x86) :
Code:
medic paul # emerge -av azureus

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-java/swt-3.2_pre1  -accessibility -cairo -firefox +gnome +mozilla 0 kB
[ebuild  N    ] net-p2p/azureus-2.3.0.4  4,431 kB

but when it compile swt i get :
Code:
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

I suppose that swt is something about the tray icon of azureus but i have no more clue.I reemerge java-config but still no luck.I use gnome 2.10.2 .Any ideas?
_________________
"LINUX, MS-DOS, Windows : known as the Good, the Bad and the Ugly." :)
http://www.gnome.gr


Last edited by paul555 on Thu Oct 06, 2005 7:56 am; edited 1 time in total
Back to top
View user's profile Send private message
jacek_migacz
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2005
Posts: 141

PostPosted: Wed Oct 05, 2005 11:57 pm    Post subject: Reply with quote

same here:

Code:
jacekmigacz jacekmigacz # emerge -av azureus

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-java/swt-3.2_pre1  -accessibility -cairo -firefox +gnome -mo zilla 0 kB
[ebuild  N    ] dev-java/commons-lang-2.0-r1  -doc -jikes -source 430 kB
[ebuild  N    ] dev-java/commons-cli-1.0-r4  -doc -jikes +junit -source 36 kB
[ebuild  N    ] net-p2p/azureus-2.3.0.4  5,168 kB

Total size of downloads: 5,635 kB

Do you want me to merge these packages? [Yes/No] ^[[A^[[By
Sorry, response 'y' not understood. [Yes/No] y
>>> emerge (1 of 4) dev-java/swt-3.2_pre1 to /
>>> md5 files   ;-) swt-3.1-r1.ebuild
>>> md5 files   ;-) swt-3.2_pre1.ebuild
>>> md5 files   ;-) files/swt-cairo-0.9.2-amd64.patch
>>> md5 files   ;-) files/SWTMessages.properties
>>> md5 files   ;-) files/swt-cairo-0.9.2.patch
>>> md5 files   ;-) files/build.xml
>>> md5 files   ;-) files/digest-swt-3.1-r1
>>> md5 files   ;-) files/digest-swt-3.2_pre1
>>> md5 src_uri ;-) swt-3.2M1-gtk-linux-x86.zip
>>> Unpacking source...
>>> Unpacking swt-3.2M1-gtk-linux-x86.zip to /var/tmp/portage/swt-3.2_pre1/work
Unpacking src.zip to /var/tmp/portage/swt-3.2_pre1/work
>>> 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 111, Exitcode 2
!!! Failed to build AWT support
!!! If you need support, post the topmost build error, NOT this status message.
Back to top
View user's profile Send private message
paul555
l33t
l33t


Joined: 22 Nov 2004
Posts: 612
Location: Greece

PostPosted: Thu Oct 06, 2005 7:55 am    Post subject: Reply with quote

Well i managed to solved it.I recently emerged smeg which required the ~x86 version of python and then i runned
Code:
/usr/sbin/python-updater
so the programs depending to python reemerged again with the ~x86 version.When i tried to unmerge smeg and go to stable python (x86) all the programs that upgraded with /usr/sbin/python-updater are broken again.i tried to reemerged again the programs with /usr/sbin/python-updater but it said there is no new version of python.So i tried manually but no luck.After all that i changed again to ~x86 version an did /usr/sbin/python-updater again.jacek_migacz run
Code:
/usr/sbin/python-updater
if you recently updated python and if not reemerge
Code:
java-config

_________________
"LINUX, MS-DOS, Windows : known as the Good, the Bad and the Ugly." :)
http://www.gnome.gr
Back to top
View user's profile Send private message
diablobsb
n00b
n00b


Joined: 25 Dec 2003
Posts: 10

PostPosted: Fri Oct 14, 2005 3:09 am    Post subject: Reply with quote

yeah... re-emerging java-config did it for me... try it..
Back to top
View user's profile Send private message
jpnag
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2005
Posts: 113
Location: Portugal/Oporto

PostPosted: Mon Oct 17, 2005 10:57 pm    Post subject: Reply with quote

diablobsb wrote:
yeah... re-emerging java-config did it for me... try it..


same here!
thx!
_________________
Never argue with an idiot, we will drag you down to his level and beat you up with experience!
Back to top
View user's profile Send private message
MontyPython1087
n00b
n00b


Joined: 01 Aug 2003
Posts: 43

PostPosted: Tue Nov 01, 2005 11:54 pm    Post subject: Yay Reply with quote

worked for me as well 8-)
_________________
Tim: the Enchanter: There it is!
King Arthur: Where?
Tim: the Enchanter: There.
King Arthur: What, behind the rabbit?
Tim: the Enchanter: It is the rabbit!
Back to top
View user's profile Send private message
woZa
Guru
Guru


Joined: 18 Nov 2003
Posts: 340
Location: The Steel City - UK

PostPosted: Sat Nov 05, 2005 12:01 am    Post subject: Reply with quote

Bingo!

:wink:
_________________
A few months struggling with gentoo is better than a lifetime struggling with windoze!
Back to top
View user's profile Send private message
zoltix
Apprentice
Apprentice


Joined: 22 Mar 2004
Posts: 249
Location: Brusssels

PostPosted: Sat Nov 05, 2005 10:50 pm    Post subject: Reply with quote

Thank same probleme and same resolution
and bingo for solution

thk
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum