<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks Tim,  It must be something else.  Here are my two environment
variables:<br>
<br>
ALT_FREETYPE_HEADERS_PATH=C:/Progra~1/GnuWin32/include<br>
ALT_FREETYPE_LIB_PATH=C:/Progra~1/GnuWin32/lib<br>
<br>
At a minimum I have to edit
C:\OpenJDK\jdk7\jdk\make\tools\freetypecheck\Makefile as follows:<br>
# change freetype.dll to freetype6.dll<br>
FREETYPE_DLL = $(FREETYPE_LIB_PATH)/freetype6.dll<br>
because there is no freetype.dll in C:\Program Files\GnuWin32, just
freetype6.dll.<br>
<br>
Here is my "make sanity" output:<br>
<br>
ERROR: FreeType version  2.3.0  or higher is required.<br>
 make[2]: Entering directory
`/cygdrive/c/OpenJDK/jdk7/jdk/make/tools/freetypecheck'<br>
c:/OpenJDK/jdk7/build/windows-i586/btbins/freetype_versioncheck.exe<br>
make[2]: Leaving directory
`/cygdrive/c/OpenJDK/jdk7/jdk/make/tools/freetypecheck'<br>
Failed to build freetypecheck.<br>
<br>
BTW, How do I put prints in the make file to see the values of the
variables?<br>
<br>
Pete<br>
---<br>
Tim Bell wrote:
<blockquote cite="mid:4AC0F368.2010908@sun.com" type="cite">
  <pre wrap="">Pete Brunet wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">In the process of getting set up for building the open jdk I ran make
sanity and was getting freetype version check failures.  My version of
freetype was installed via the binary installer at 
<a class="moz-txt-link-freetext" href="http://gnuwin32.sourceforge.net/packages/freetype.htm">http://gnuwin32.sourceforge.net/packages/freetype.htm</a>. 

To fix the problem I had to copy C:\Program
Files\GnuWin32\bin\freetype6.dll to
C:\OpenJDK\jdk7\build\windows-i586\btbins

This line in C:\OpenJDK\jdk7\jdk\make\tools\freetypecheck\Makefile was
supposed to do the latter but for whatever reason it didn't:
  $(CP) $(FREETYPE_DLL) $(@D)/ 
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
  <blockquote type="cite">
    <pre wrap="">I did try editing the file to change FREETYPE_DLL from freetype.dll to
freetype6.dll and also copy the file from C:\Program Files\GnuWin32\bin
to C:\Program Files\GnuWin32\lib but that didn't fix the problem so
maybe the $(@D) is incorrect.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
The Windows JDK build gets severe heartburn when spaces appear
in any path.  You didn't include the error output, but my first
guess is that the copy command tried to access "C:\Program"

Use the Windows "dir /x" command to look up the mangled (short)
form of the "C:\Program Files" directory, which is usually
something like "PROGRA~1"

Here is what I use on my Windows OpenJDK build machine to
get freetype:

ALT_FREETYPE_HEADERS_PATH=c:/devtools/windows/freetype-i586/include
ALT_FREETYPE_LIB_PATH=c:/devtools/windows/freetype-i586/lib


Note: no spaces in the paths, and no backward slashes: '\'

Hope this helps.  If not, please post the relevant output
from your build log.

Tim


  </pre>
</blockquote>
</body>
</html>