[Quickfix-developers] Bug report - possible vendor specific hardcoded javac ?
Brought to you by:
orenmnero
From: R P H. <he...@ow...> - 2005-01-09 13:30:31
|
Hi I have two questions, framed inline, as to a possible 'ruby' requirement, and in a possible hard-coded vendor specific Javac. I had installed the IBM java SDK [IBMJava2-SDK-1.4.2-1.0] in a Centos Linux (RHEL rebuild), at ver 3.4, fully updated, with a hope to get a clean build of quickfix-1.9.4.tar.gz Build was kicked off thus: $ export PATH="/opt/IBMJava2-142/bin/:$PATH" ; export \ JAVA_HOME="/opt/IBMJava2-142/bin" ; \ make distclean > /dev/null ; \ ./configure > /dev/null ; \ echo "start make" ; \ make | tee /tmp/qf_bcuild-txt configure: WARNING: ``missing' script is too old or missing ./configure: line 1: ruby: command not found start make Question 1 -- do I need to install Ruby? I did not see this in the Installation build requirements or the FAQ -- I can if needed. Also, I an comfused by the message: ["configure: WARNING: ^Missing' script is too old or missing"] Question 2 -- as seen at the end of this, it looks as though a hardcoded javac frum Sun is being sought ["com.sun.tools.javac.Main"]. Is this within the quickfix-1.9.4.tar.gz tarball, or something in my local build environment which I need to solve upstream within my distribution? [ and later ... ] /bin/sh ../libtool --mode=link g++ -g -O2 -I/usr/include/libxml2 -I/opt/IBMJava2-142/bin/include -I/opt/IBMJava2-142/bin/include/linux -o pt pt.o C++/libquickfix.la -lpthread -L/usr/lib -lxml2 -lz -lpthread -lm -liberty g++ -g -O2 -I/usr/include/libxml2 -I/opt/IBMJava2-142/bin/include -I/opt/IBMJava2-142/bin/include/linux -o .libs/pt pt.o C++/.libs/libquickfix.so -L/usr/lib /usr/lib/libxml2.so -lz -lpthread -lm -liberty -Wl,--rpath -Wl,/usr/local/lib creating pt rm -f ../bin/ut ../bin/pt ../bin/at ln -s ../src/ut ../bin/ut ln -s ../src/pt ../bin/pt ln -s ../src/at ../bin/at bash ./build.sh Buildfile: build.xml init: [mkdir] Created dir: /home/herrold/build/quickfix/quickfix/src/build compile: [javac] Compiling 3 source files to /home/herrold/build/quickfix/quickfix/src/build BUILD FAILED file:/home/herrold/build/quickfix/quickfix/src/build.xml:22: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK Total time: 0 seconds make[3]: *** [all-local] Error 1 make[3]: Leaving directory /home/herrold/build/quickfix/quickfix/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory /home/herrold/build/quickfix/quickfix/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /home/herrold/build/quickfix/quickfix' make: *** [all] Error 2 [herrold@couch quickfix]$ export PATH="/opt/IBMJava2-142/bin/:$PATH" ; export JAVA_HOME="/opt/IBMJava2-142/bin" ; which javac /opt/IBMJava2-142/bin/javac [herrold@couch quickfix]$ rpm -qa | grep IBM IBMJava2-SDK-1.4.2-1.0 [herrold@couch quickfix]$ ls .. quickfix quickfix-1.9.4.tar.gz [herrold@couch quickfix]$ export PATH="/opt/IBMJava2-142/bin/:$PATH" ; \ export JAVA_HOME="/opt/IBMJava2-142/bin" ; set BASH=/bin/bash BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release" [5]="i686-redhat-linux-gnu") BASH_VERSION='2.05b.0(1)-release' COLORS=/etc/DIR_COLORS.xterm COLORTERM= COLUMNS=80 DIRSTACK=() DISPLAY=:0 EUID=500 GDMSESSION=Default GROUPS=() G_BROKEN_FILENAMES=1 HISTFILE=/home/herrold/.bash_history HISTFILESIZE=1000 HISTSIZE=1000 HOME=/home/herrold HOSTNAME=couch.basement.lan HOSTTYPE=i686 IFS=$' \t\n' INPUTRC=/etc/inputrc JAVA_HOME=/opt/IBMJava2-142/bin KONSOLE_DCOP='DCOPRef(konsole-1409,konsole)' KONSOLE_DCOP_SESSION='DCOPRef(konsole-1409,session-3)' LANG=en_US.UTF-8 LANGVAR=en_US.UTF-8 LESSOPEN='|/usr/bin/lesspipe.sh %s' LINES=24 LOGNAME=herrold LS_COLORS='no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:' MACHTYPE=i686-redhat-linux-gnu MAIL=/var/spool/mail/herrold MAILCHECK=60 OLDPWD=/home/herrold/build/quickfix OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/bin/:/opt/IBMJava2-142/bin/:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/herrold/bin PIPESTATUS=([0]="0") PPID=1409 PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\007"' PS1='[\u@\h \W]\$ ' PS2='> ' PS4='+ ' PWD=/home/herrold/build/quickfix/quickfix QTDIR=/usr/lib/qt-3.1 SHELL=/bin/bash SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor SHLVL=5 SSH_AGENT_PID=1313 SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass SSH_AUTH_SOCK=/tmp/ssh-fUnH1262/agent.1262 SUPPORTED=en_US.UTF-8:en_US:en TERM=xterm UID=500 USER=herrold XAUTHORITY=/home/herrold/.Xauthority XMODIFIERS=@im=none _=JAVA_HOME i=/etc/profile.d/which-2.sh [herrold@couch quickfix]$ uname -a Linux couch.basement.lan 2.4.21-27.0.1.ELsmp #1 SMP Fri Dec 24 01:28:09 GMT 2004 i686 i686 i386 GNU/Linux [herrold@couch quickfix]$ cat /etc/redhat-release CentOS release 3.4 (final) |