configure error on OSX 10.8.5: Could not find free type!
Lance Andersen
Lance.Andersen at oracle.com
Sat Jan 11 18:44:03 UTC 2014
Hi Andrej,
Thank you for the note.
After I had installed X11 (we should probably add this to the build readme)
Once I installed it, i received the error:
----------------------------
jdbc-jdk lance$ ./configure
Configure source code has been updated, checking time stamps
Warning: The configure source files is newer than the generated files.
Cannot locate autoconf, unable to correct situation.
Please install autoconf and run 'bash autogen.sh' to update the generated files.
---------------------------
To get around this, I had to re-install the command line tools via the command line installer
I was able to get the build to run to completion
When I tried to run the tests, I received the following error from jtreg:
--------------------------------------------------
new-host-4:test lance$ make PRODUCT_HOME=`pwd`/../build/*/images/j2sdk-image all
make -k -C ../jdk/test TEST=jdk_all jdk_all
echo "Running tests: jdk_all"
Running tests: jdk_all
for each in jdk_all; do \
make -j 1 TEST_SELECTION=":$each" UNIQUE_DIR=$each jtreg_tests; \
done
( \
( JT_HOME=/Users/lance/Dropbox/LancePTR/jtreg/; \
export JT_HOME; \
/Users/lance/Dropbox/LancePTR/jtreg//win32/bin/jtreg \
-agentvm -a -ea -esa -v:fail,error,time -retain:fail,error -ignore:quiet -timeoutFactor:4 -J-Xmx512m \
-r:/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/JTreport \
-w:/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/JTwork \
-jdk:/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/test/../build/*/images/j2sdk-image \
-exclude:ProblemList.txt \
-vmoption:-Xmx512m \
:jdk_all \
) ; \
( jtregExitCode=$? && _summary="/Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/JTreport/text/summary.txt"; rm -f -f /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/Stats.txt /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/runlist.txt /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/passlist.txt /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/faillist.txt /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/exitcode.txt; echo "${jtregExitCode}" > /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/exitcode.txt; if [ -r "${_summary}" ] ; then echo "Summary: jdk_all" > /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/Stats.txt; expand ${_summary} | egrep -v ' Not run\.' > /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/runlist.txt; egrep ' Passed\.' /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/runlist.txt | egrep -v ' Error\.' | egrep -v ' Failed\.' > /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/passlist.txt; ( egrep ' Failed\.' /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/runlist.txt; egrep ' Error\.' /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/runlist.txt; egrep -v ' Passed\.' /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/runlist.txt ) | sort | uniq > /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/faillist.txt; if [ ${jtregExitCode} != 0 -o -s /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/faillist.txt ] ; then expand /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/faillist.txt | cut -d' ' -f1 | sed -e 's@^@FAILED: @' >> /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/Stats.txt; if [ ${jtregExitCode} = 0 ] ; then jtregExitCode=1; fi; fi; runc="`cat /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/runlist.txt | wc -l | awk '{print $1;}'`"; passc="`cat /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/passlist.txt | wc -l | awk '{print $1;}'`"; failc="`cat /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/faillist.txt | wc -l | awk '{print $1;}'`"; exclc="FIXME CODETOOLS-7900176"; echo "TEST STATS: name=jdk_all run=${runc} pass=${passc} fail=${failc}" >> /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/Stats.txt; else echo "Missing file: ${_summary}" >> /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/Stats.txt; fi; if [ -f /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/Stats.txt ] ; then cat /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/Stats.txt; fi; ( mkdir -p `dirname /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/ARCHIVE_BUNDLE.zip` && cd /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all && chmod -R a+r . && zip -q -r /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/ARCHIVE_BUNDLE.zip . ) ; if [ ! -s /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/exitcode.txt ] ; then echo "ERROR: EXITCODE file not filled in."; echo "1" > /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/exitcode.txt; fi ; testExitCode=`cat /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/exitcode.txt`; echo "EXIT CODE: ${testExitCode}"; exit ${testExitCode} ) \
) 2>&1 | tee /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/output.txt ; if [ ! -s /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/exitcode.txt ] ; then echo "ERROR: EXITCODE file not filled in."; echo "1" > /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/exitcode.txt; fi ; testExitCode=`cat /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/exitcode.txt`; echo "EXIT CODE: ${testExitCode}"; exit ${testExitCode}
Cannot determine version of java to run jtreg
Missing file: /Users/lance/Documents/hg-workspaces/jdk8/jdbc-jdk/jdk/testoutput/jdk_all/JTreport/text/summary.txt
EXIT CODE: 1
EXIT CODE: 1
make[2]: *** [jtreg_tests] Error 1
make[1]: *** [jdk_all] Error 2
make: *** [jdk_all] Error 2
-------------------------
Any thoughts why jtreg fails? I did set JT_HOME
java seems to be OK:
--------------------
bin/java -version
openjdk version "1.8.0-internal"
OpenJDK Runtime Environment (build 1.8.0-internal-lance_2014_01_10_22_17-b00)
OpenJDK 64-Bit Server VM (build 25.0-b64, mixed mode)
------------------------
Best
Lance
On Jan 11, 2014, at 3:19 AM, Andrej Golovnin <andrej.golovnin at gmail.com> wrote:
> Hi Lance,
>
> just install the latest XQuartz version, e.g. 2.7.5.
> It helped me on OSX 10.9.1.
>
> Hope this helps.
>
> Best regards,
> Andrej Golovnin
>
> On 10.01.2014, at 23:45, Lance Andersen <Lance.Andersen at oracle.com> wrote:
>
>> Hi all,
>>
>> Trying to get a build environment on OSX 10.8.5 set up and am getting the following error from configure:
>>
>> configure: error: Could not find free type!
>>
>>
>> I have attached the config.log
>>
>>
>> I originally installed Xcode 5.0.2 but that caused configure to fail due to a gcc version issue :-(
>>
>>
>> I then installed Xcode 4.6.2 but it thought that the command line tools were already installed and the only way I could get the4.6.2 command line tools to install was via downloading the 4.6.2 command line tool installer. that got me by the gcc issue but now have the error above.
>>
>> Any guidance would be appreciated!
>>
>> Best
>> Lance
>>
>>
>>
>> Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
>> Oracle Java Engineering
>> 1 Network Drive
>> Burlington, MA 01803
>> Lance.Andersen at oracle.com
>>
>>
>>
>
Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering
1 Network Drive
Burlington, MA 01803
Lance.Andersen at oracle.com
More information about the build-dev
mailing list