Cant make/install jdk7 or jdk8. /usr/ports/java/openjdk7# make install clean ===> Building for openjdk-7.80.15,1 env: gmake: No such file or directory ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/java/openjdk7 *** Error code 1 What is the trick to correct this error?
What is the OS you're trying to build the port on? Have you tried to install it using pkg? Do you have your ports tree up to date? Do you have 'gmake' installed, since it complains about not being able to find it?
Hi Ho, sorry for the delay. Have set out the answers you asked for: The os is pcbsd version:10.2 (This is a FreeBSD look-a-like!) The portsnap is up to date. as is the pg. The make is also up to date. Have installed a new bootstrap, with out any errors. Have 4-lines in /etc/fstab as required and re-booted. Told to download the i486 ( and the x64 ) jdk7 source file from Oracle. Have downloaded both i586 and x86_64 and both jre and jdk source tar files from Oracle and have placed them all in /usr/ports/distfiles/ as required. Have read the README files, and have completed the instruction: line by line! Ran the make install ( it finished but with many errors ) % cd /usr/local/openjdk7/jre % java -version realpath: /usr/local/linux-oracle-jre-1.8.0: No such file or directory openjdk version "1.7.0_80" OpenJDK Runtime Environment (build 1.7.0_80-b15) OpenJDK 64-Bit Server VM (build 24.80-b11, mixed mode) Also after retrying the jdk8-jre ( many errors seen, but it did complete ) % cd /usr/local/openjdk8-jre/bin/ % java -version realpath: /usr/local/linux-oracle-jre-1.8.0: No such file or directory openjdk version "1.7.0_80" OpenJDK Runtime Environment (build 1.7.0_80-b15) OpenJDK 64-Bit Server VM (build 24.80-b11, mixed mode) It seems tobe annomilies within the README's for this compiler or general inconsistencies with java? At least it installed, may be it was the new bootstrap file? No test have been run on this compiler, yet! Thanks for your time, good luck. SEanS
You must realise that while PC-BSD is a fork of FreeBSD and they're very close cousins, PC-BSD is a different operating system, with their own package management and as such, you should look for a solution of your problem on their forums/bug trackers.
Closing this PR as unrelated to FreeBSD project.