Thread: [Quickfix-developers] No Java Please! (gij: unrecognized option -- `-cp')
Brought to you by:
orenmnero
From: Howard E. <Ho...@Pi...> - 2005-02-23 16:56:45
|
Going back to version 1.7.0 we have been unable to get through basic builds of quickfix due to various java related problems. Since we do not use java in any capacity, it would be useful if there was a way to build quickfix without any java support. Our latest build error is listed below. =20 Our environment -------------- =20 Dell 1850 server running RedHat Linux ES 3.0 g++ (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-49) stlport 4.6.2 =20 Our build -------------- ./bootstrap ./configure --with-stlport=3D/usr/local --disable-callstack make =20 =20 I have attempted to modify the Makefile under quickfix/src to remove java portions of the build myself, however, either way, the error below occurs. =20 107c107 < JAVA_DIR =3D java --- > JAVA_DIR =3D=20 177c177 < DIST_SUBDIRS =3D C++ java python --- > DIST_SUBDIRS =3D C++ python 476d475 < bash ./build.sh 479d477 < bash ./build.sh clean=20 =20 =20 =20 Screen scrape of error: =20 bash ./build.sh libgcj-java-placeholder.sh =20 This script is a placeholder for the /usr/bin/java master link required by jpackage.org conventions. libgcj's rmiregistry, rmic and jar tools are now slave symlinks to these masters, and are managed by the alternatives(8) system. =20 This change was necessary because the rmiregistry, rmic and jar tools installed by previous versions of libgcj conflicted with symlinks installed by jpackage.org JVM packages. =20 This script was designed to be overridden by the supported RHEL3 JRE packages, java-1.4.2-bea and java-1.4.2-ibm. It is installed as an alternative symlink as /usr/bin/java. It will override a third-party (non-RHEL3) JRE's java command if the JRE's bin directory is listed after /usr/bin in PATH. In that case, it is recommended that the third-party JRE's bin directory be listed first in PATH instead. =20 gij: unrecognized option -- `-cp' Try `gij --help' for more information. make[3]: *** [all-local] Error 1 make[3]: Leaving directory `/usr/local/src/quickfix/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/quickfix/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/quickfix' make: *** [all] Error 2 [root@dvsrcs01 quickfix]# gij -help =20 =20 =20 =20 |
From: Oren M. <or...@qu...> - 2005-02-23 17:22:14
|
Have you tried unsetting your JAVA_HOME environment variable? --oren ----- Original Message -----=20 From: Howard Engelhart=20 To: qui...@li...=20 Sent: Wednesday, February 23, 2005 10:56 AM Subject: [Quickfix-developers] No Java Please! (gij: unrecognized = option -- `-cp') Going back to version 1.7.0 we have been unable to get through basic = builds of quickfix due to various java related problems. Since we do = not use java in any capacity, it would be useful if there was a way to = build quickfix without any java support. Our latest build error is = listed below. =20 Our environment -------------- =20 Dell 1850 server running RedHat Linux ES 3.0 g++ (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-49) stlport 4.6.2 =20 Our build -------------- ./bootstrap ./configure --with-stlport=3D/usr/local --disable-callstack make =20 =20 I have attempted to modify the Makefile under quickfix/src to remove = java portions of the build myself, however, either way, the error below = occurs. =20 107c107 < JAVA_DIR =3D java --- > JAVA_DIR =3D=20 177c177 < DIST_SUBDIRS =3D C++ java python --- > DIST_SUBDIRS =3D C++ python 476d475 < bash ./build.sh 479d477 < bash ./build.sh clean=20 =20 =20 =20 Screen scrape of error: =20 bash ./build.sh libgcj-java-placeholder.sh =20 This script is a placeholder for the /usr/bin/java master link required by jpackage.org conventions. libgcj's rmiregistry, rmic and jar tools are now slave symlinks to these masters, and are managed by the alternatives(8) system. =20 This change was necessary because the rmiregistry, rmic and jar tools installed by previous versions of libgcj conflicted with symlinks installed by jpackage.org JVM packages. =20 This script was designed to be overridden by the supported RHEL3 JRE packages, java-1.4.2-bea and java-1.4.2-ibm. It is installed as an alternative symlink as /usr/bin/java. It will override a third-party (non-RHEL3) JRE's java command if the JRE's bin directory is listed after /usr/bin in PATH. In that case, it is recommended that the third-party JRE's bin directory be listed first in PATH instead. =20 gij: unrecognized option -- `-cp' Try `gij --help' for more information. make[3]: *** [all-local] Error 1 make[3]: Leaving directory `/usr/local/src/quickfix/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/quickfix/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/quickfix' make: *** [all] Error 2 [root@dvsrcs01 quickfix]# gij -help =20 =20 =20 =20 |