- 论坛徽章:
- 0
|
本以为FreeBSD上安装Oracle不是那么的难,这一试才知~以下是遇到的问题,请求达人帮助(已经搞了几天,google了不少参考)
安装网上一篇流行的链接数比较多的帖子上一步步的配置安装,当运行./runInstaller时出现:
- -su-2.05b$ ./runInstaller
- -su-2.05b$ Initializing Java Virtual Machine from /tmp/OraInstall2006-11-17_08-24-03PM/jre/bin/java. Please wait...
- Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2006-11-17_08-24-03PM/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
- at java.lang.ClassLoader$NativeLibrary.load(Native Method)
- ……
复制代码
看了看JAVA环境:
- FreeBSD# java -version
- java: Command not found.
复制代码 估计是JAVA还没装(本以为FreeBSD安全全部安装,就啥都有了)
接着按照http://www.freebsdchina.org/forum/viewtopic.php?t=30353编译安装JAVA,按照这贴上说的要的手动下载的那六个文件也下了,也放在该放的位置了。可是:
- FreeBSD# cd /usr/ports/java/jdk14
- FreeBSD# make
- LIBC_R TEST PASSED: All Ok
- IMPORTANT: To build JDK 1.4.2 port, you should have at least
- 1.7Gb of free disk space in build area!
- Following port compile time options are available:
- WITH_DEBUG - install JDK binaries and libraries
- with debuging support
- MINIMAL - don't build/install mozilla java
- plugin, javaws and JDK demos
- WITH_IPV6 - enable JDK IPv6 support
- ===> Extracting for jdk-1.4.2p8_3
- => MD5 Checksum OK for j2sdk-1_4_2-src-scsl.zip.
- => SHA256 Checksum OK for j2sdk-1_4_2-src-scsl.zip.
- ……
- => Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
- fetch: zip231.tar.gz: local modification time does not match remote
- => Couldn't fetch it - please try to retrieve this
- => port manually into /usr/ports/distfiles/ and try again.
- *** Error code 1
- Stop in /usr/ports/archivers/zip.
- *** Error code 1
- Stop in /usr/ports/archivers/zip.
- *** Error code 1
- Stop in /usr/ports/java/jdk14.
- FreeBSD#
复制代码
在这座等高人指点一二,错在哪?怎么将Oracle9204安装到FreeBSD5.5上啊?? !~~ 感激不尽~~~ |
|