Re: Eclipse + 3.7

2005-06-07 Thread Kurt Miller

From: Kurt Miller [EMAIL PROTECTED]

The error you are having looks like you may have borked a
src upgrade to some older -current. In any case, I would 
do the following to clean up the mess you have now.


rm -rf /usr/include/g++
Download and install a snapshot including x*.tgz
Upgrade all your packages from snapshots.
Update your src and ports trees and then try rebuiding
the jdk.


BTW, the above procedure can not be used to get your
system back to 3.7 release. You will still have cruft around
like the somewhat current libstdc++ and who knows what
else.

If your intent is to run 3.7 then you will need to reinstall
from scratch.

-Kurt



Eclipse + 3.7

2005-06-05 Thread Adam Papai

Regards.

Is anyone who could install Eclipse from ports or package?

I cannot install because jdk install always breaks. :/

pkg error:

# pkg_add -vvv eclipse-sdk-gtk2-3.0.1.tgz
parsing eclipse-sdk-gtk2-3.0.1
Dependencies for eclipse-sdk-gtk2-3.0.1 resolve to: apache-ant-1.6.2, 
jdk-1.4.2p0, gtk+2-2.4.14 (todo: jdk-1.4.2p0)

eclipse-sdk-gtk2-3.0.1:Can't find jdk-1.4.2p0
/usr/sbin/pkg_add: jdk-1.4.2p0:Fatal error

Thats okey because jdk-1.4.2p0 doesn't exists in 3.7 package list.

But from ports jdk breaks here:


Linking launcher...
/usr/ports/devel/jdk/1.4/w-jdk-1.4.2p0/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product/libjvm.so: 
warning: vsprintf() is often misused, please use vsnprintf()
/usr/ports/devel/jdk/1.4/w-jdk-1.4.2p0/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product/libjvm.so: 
warning: strcpy() is almost always misused, please use strlcpy()

launcher.o(.text+0x6a9): In function `SetClassPath':
/usr/ports/devel/jdk/1.4/w-jdk-1.4.2p0/hotspot/src/os/bsd/launcher/java.c:295: 
warning: sprintf() is often misused, please use snprintf()

launcher.o(.text+0x1348): In function `SetJavaCommandLineProp':
/usr/ports/devel/jdk/1.4/w-jdk-1.4.2p0/hotspot/src/os/bsd/launcher/java.c:721: 
warning: strcat() is almost always misused, please use strlcat()
/usr/lib/libstdc++.so.38.0: undefined reference to 
`_Unwind_Resume_or_Rethrow'

/usr/lib/libstdc++.so.38.0: undefined reference to `_Unwind_Resume'
/usr/lib/libstdc++.so.38.0: undefined reference to `_Unwind_RaiseException'
collect2: ld returned 1 exit status
gmake[3]: *** [gamma] Error 1
gmake[3]: Leaving directory 
`/usr/ports/devel/jdk/1.4/w-jdk-1.4.2p0/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product'

gmake[2]: *** [the_vm] Error 2
gmake[2]: Leaving directory 
`/usr/ports/devel/jdk/1.4/w-jdk-1.4.2p0/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/product'

gmake[1]: *** [product] Error 2
gmake[1]: Leaving directory 
`/usr/ports/devel/jdk/1.4/w-jdk-1.4.2p0/control/build/bsd-i586/hotspot-i586/tmp'

gmake: *** [product] Error 2
*** Error code 2

Any suggestion?

--
Adam Papai
Digital Influence Inc.
E-mail: [EMAIL PROTECTED]
Phone: +36 30 33-55-735