2005年 5月 09日 月曜日
Messages in cipher reflected in the looking glass
(EN) LG3D rpm build Part2
LG3D rpm install binaries into /opt/lg3d directory
Files in /opt/lg3d are same as tar.gz release of LG3D.
And, /usr/bin/lg3d-dev, /usr/bin/lg3d-session, /usr/bin/lg3d-setup is installed
when LG3D rpm is installed.
These files is in rpm version only.
Rpm can include informations of package/file dependencies,
but current lg3d rpm do not include dependencies, JDK/JRE 1.5, JAI, and Java3D,
so LG3D rpm can install when linux has no JDK/JRE 1.5 or JAI or Java3D.
/usr/sbin/lg3d-setup is a bash script to make /usr/bin/lg3d-dev and /usr/bin/lg3d-session.
/usr/sbin/lg3d-setup find directory under /usr/java, which has java command(JDK/JRE 1.5) with Java3D and JAI.
/usr/sbin/lg3d-setup also make /usr/bin/lg3d-dev and /usr/bin/lg3d-session, and write JAVA_HOME environment into these files.
When /usr/sbin/lg3d-setup found no JDK/JRE with JAI and Java3D, /usr/sbin/lg3d-setup do not write JAVA_HOME environment to /usr/bin/lg3d-dev and /usr/bin/lg3d-session.
Search directory of /usr/sbin/lg3d-setup is under /usr/java only.
So, /usr/sbin/lg3d-setup cannot find JDK/JRE in other directory.(e.g. JDK on home directory)
In this case, set JAVA_HOME environment before run /usr/sbin/lg3d-setup.
/usr/sbin/lg3d-setup search $JAVA_HOME directory instead of /usr/java directory.
When you download source codes via cvs, you can find lg3d-core/rpm/SOURCES/lg3d-setup script, this script and /usr/sbin/lg3d-setup in LG3D rpm are same files.
So, you can use/refers lg3d-setup without rpm version.
Posted at 09:41午前 5 09, 2005 by Yasuhiro Fujitsuki in Java(EN) | 投稿されたコメント[0]