Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Netbeans does not install no matter what!

Netbeans does not install no matter what! 3 years 2 months ago #1193

  • bodycode
  • bodycode's Avatar
  • OFFLINE
  • Fresh Boarder
  • Newbie Linux'r
  • Posts: 13
I'm sure that I'm doing something wrong here. All Sun Java stuff is installed, but Netbeans 6.91 through 7 absolutely fails! Anyone know how to install it on Trx 2011 KDE? Thanks in advance.
We're flying on a rock through space and we're lucky to be alive!
The administrator has disabled public write access.

Re: Netbeans does not install no matter what! 3 years 2 months ago #1196

  • Joern
  • Joern's Avatar
  • OFFLINE
  • Administrator
  • Posts: 421
  • Thank you received: 5
In Terminal as root:
USE="java source" emerge netbeans
The administrator has disabled public write access.

Re: Netbeans does not install no matter what! 3 years 2 months ago #1197

  • bodycode
  • bodycode's Avatar
  • OFFLINE
  • Fresh Boarder
  • Newbie Linux'r
  • Posts: 13
In a terminal window, after I do that, I get
environment, line 1184: Called die
* The specific snippet of code:
* ant ${antflags} "${@}" || die "eant failed"

Darnit. Am I doing anything wrong?
We're flying on a rock through space and we're lucky to be alive!
The administrator has disabled public write access.

Re: Netbeans does not install no matter what! 3 years 2 months ago #1200

  • Joern
  • Joern's Avatar
  • OFFLINE
  • Administrator
  • Posts: 421
  • Thank you received: 5
You forgot to tell us, which package failed to compile ;)
Next time please post min the last 20 lines of the failed output.
I've find out that it was dev-java/netbeans-platform-7.0.
First do this:
emerge ant-nodeps
I've found a bug report here:
bugs.gentoo.org/show_bug.cgi?id=361439
So, you have to do a:
export -n DISPLAY
and then:
emerge netbeans
Don't forget to set the development langs in /etc/make.conf:
Add a line:
NETBEANS_MODULES="cnd" (example for C++)
If the compile process fails later again, you should install the sun-jdk
package after you agree this license:
cat /usr/portage/licenses/dlj-1.1
ACCEPT_LICENSE="dlj-1.1" emerge sun-jdk
Switch to that VM:
java-config -S 2
and again:
emerge netbeans
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 0.212 seconds
Powered by Kunena Forum
FaLang translation system by Faboba
   
© 2012 toorox.de | Toorox gehört nicht zu dem Gentoo Projekt. Gentoo ® ist eine eingetragene Marke des Förderverein Gentoo e.V. Andere Warenzeichen sind Eigentum der jeweiligen Rechteinhaber. Bitte senden Sie keine Toorox-spezifischen Probleme oder Fehler an Gentoo Bugzilla! Toorox is not part of the Gentoo project. Gentoo ® is a trademark of the registered association Gentoo e.V. Other trademarks are property of their respective owners. Please do not send Toorox-specific bugs or problems to Gentoo bugzilla!