1. Instalando Netbeans
#cd /usr/ports/java/netbeans/
#make install clean
==> License check disabled, port has not defined LICENSE
===> Found saved configuration for diablo-jdk-1.6.0.07.02_19
Because of licensing restrictions, you must fetch the distribution
manually.
Please access
with a web browser and “Accept” the End User License Agreement for
“Caffe Diablo 1.6.0”.
Please place the downloaded file(s) in /usr/ports/distfiles.
*** Error code 1
Stop in /usr/ports/java/diablo-jdk16.
*** Error code 1
Stop in /usr/ports/java/diablo-jdk16.
*** Error code 1
Stop in /usr/ports/java/openjdk6.
*** Error code 1
Stop in /usr/ports/java/openjdk6.
*** Error code 1
Stop in /usr/ports/java/netbeans.
2 . Após o aviso de que a licença deve ser aceita, vá até o endereço sugerido e aceite a licença, faça o download para o diretório /usr/ports/distfiles, tudo bem sugestivo 😀
3. Execute novamente:
#make install clean
Resultado:
===> Installing for netbeans-7.1.1
===> netbeans-7.1.1 depends on file: /usr/local/openjdk6/bin/java – not found
===> Verifying install for /usr/local/openjdk6/bin/java in /usr/ports/java/openjdk6
===> openjdk6-b25 depends on file: /usr/local/bin/zip – found
===> openjdk6-b25 depends on file: /usr/local/bin/unzip – found
===> openjdk6-b25 depends on file: /usr/local/include/cups/cups.h – found
===> openjdk6-b25 depends on file: /usr/local/diablo-jdk1.6.0/bin/javac – not found
===> Verifying install for /usr/local/diablo-jdk1.6.0/bin/javac in /usr/ports/java/diablo-jdk16
===> License check disabled, port has not defined LICENSE
===> Found saved configuration for diablo-jdk-1.6.0.07.02_19
===> Extracting for diablo-jdk-1.6.0.07.02_19
=> SHA256 Checksum OK for diablo-caffe-freebsd7-i386-1.6.0_07-b02.tar.bz2.
Aguarde o término da instalação!
opá, mais um erro:
gmake[3]: *** [generic_build2] Error 2
gmake[3]: Leaving directory `/usr/ports/java/openjdk6/work/hotspot/make’
gmake[2]: *** [product] Error 2
gmake[2]: Leaving directory `/usr/ports/java/openjdk6/work/hotspot/make’
gmake[1]: *** [hotspot-build] Error 2
gmake[1]: Leaving directory `/usr/ports/java/openjdk6/work’
gmake: *** [build_product_image] Error 2
*** Error code 1
Stop in /usr/ports/java/openjdk6.
*** Error code 1
Stop in /usr/ports/java/openjdk6.
*** Error code 1
Stop in /usr/ports/java/netbeans.
4. Resolvendo
#make reinstall
5. Resultado Final 😀
# make reinstall
===> Installing for netbeans-7.1.1
===> netbeans-7.1.1 depends on file: /usr/local/diablo-jdk1.6.0/bin/java – found
===> Generating temporary packing list
===> Registering installation for netbeans-7.1.1
===> SECURITY REPORT:
This port has installed the following files which may act as network
servers and may therefore pose a remote security risk to the system.
/usr/local/netbeans-7.1.1/cnd/bin/Linux-x86/rfs_controller
/usr/local/netbeans-7.1.1/cnd/bin/SunOS-x86/rfs_controller
If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type ‘make deinstall’
to deinstall the port if this is a concern.
For more information, and contact details about the security
status of this software, see the following webpage:
http://www.netbeans.org/
#
03/07/2012 às 12:30
Olá… até o segundo erro correu tudo muito bem, tudo muito bom! quando dei o reinstall, ele mostrou que o Netbeans foi instalado, mas quando executo o netbeans-7.1.1 ele diz que não encontrou o java… pra usar o switch –jdkhome … como proceder?
09/07/2012 às 12:25
Olá Fernando,
Acesse o endereço abaixo, aceite a licença e faça o download para /usr/ports/distfiles, após isso execute o #make reinstall.
#
Please access
http://www.FreeBSDFoundation.org/cgi-bin/download?download=diablo-caffe-freebsd7-i386-1.6.0_07-b02.tar.bz2
with a web browser and “Accept” the End User License Agreement for
“Caffe Diablo 1.6.0″.
Please place the downloaded file(s) in /usr/ports/distfiles.