c9c4
![]() |
|
|
|
|
|||||||
| Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software). |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
When I try to install /usr/ports/java/openjdk6/ with
# sudo make install clean I get this error message:Code:
checking for XTST... configure: error: Package requirements (x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto) were not met: Requested 'xext >= 1.0.99.4' but version of Xext is 1.0.5 Requested 'xextproto >= 7.0.99.3' but version of XExtProto is 7.0.5 Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XTST_CFLAGS and XTST_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. ===> Script "configure" failed unexpectedly. Please report the problem to x11@FreeBSD.org [maintainer] and attach the "/usr/ports/x11/libXtst/work/libXtst-1.1.0/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/x11/libXtst. *** 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 Last edited by olav; June 10th, 2010 at 16:05. Reason: solved |
|
#2
|
||||
|
||||
|
update xext and xextproto ports, and then try again
|
|
#3
|
||||
|
||||
|
Thanks, I updated libXext and xextproto, and it worked. But when I type
javac -version I see version number 1.6.0_07, is that supposed to be correct?
Last edited by DutchDaemon; June 10th, 2010 at 13:56. |
|
#4
|
||||
|
||||
|
hmm, I think it should be 1.6.0_9
|
|
#5
|
||||
|
||||
|
Hmm I figured it out. You have to set JAVA_HOME to the correct installation.
Code:
export JAVA_HOME=/usr/local/openjdk6 export PATH=$PATH:$JAVA_HOME/bin Code:
java -version openjdk version "1.6.0" OpenJDK Runtime Environment (build 1.6.0-b19) OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode)
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New 8.0-Release Install fails after Reboot | gmccroan | Installing & Upgrading | 4 | July 2nd, 2010 15:59 |
| [Solved] Problem with install kernel on Release 8.0 | spon | Installing & Upgrading | 14 | March 31st, 2010 14:59 |
| Toshiba NetBook/FreeBSD 8 Release install... | dbuckhal | Mobile Computing | 6 | March 19th, 2010 12:12 |
| [Solved] Best advice for upgrade FreeBSD 7.2-RELEASE-p4 to last FreeBSD 8.0 Release | mfaridi | Installing & Upgrading | 4 | January 12th, 2010 15:36 |
| 8.0 Release Install Problem | RunnerFL | Installing & Upgrading | 27 | December 4th, 2009 13:34 |