[Fwd: Re: Freetype version check failure - copy of DLL failed]
Tim Bell
Tim.Bell at Sun.COM
Fri Oct 2 19:44:32 UTC 2009
Pete Brunet wrote:
> Here is what my PATH looks like:
> $ echo $PATH
> /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/Program
> Files/Microsoft
> Visual Studio 9.0/Common7/IDE:/cygdrive/c/Program Files/Microsoft Visual
> Studio
> 9.0/VC/BIN:/cygdrive/c/Program Files/Microsoft Visual Studio
> 9.0/Common7/Tools:/
> cygdrive/c/WINDOWS/Microsoft.NET/Framework/v3.5:/cygdrive/c/WINDOWS/Microsoft.NE
> T/Framework/v2.0.50727:/cygdrive/c/Program Files/Microsoft Visual Studio
> 9.0/VC/
> VCPackages:/cygdrive/c/Program Files/Microsoft
> SDKs/Windows/v6.0A/bin:/cygdrive/
> c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdri
> ve/c/Program Files/Intel/WiFi/bin/:/cygdrive/c/Program Files/ATI
> Technologies/AT
> I.ACE/Core-Static:/cygdrive/c/Program Files/Common
> Files/Lenovo:/cygdrive/c/Prog
> ram Files/Common Files/Roxio Shared/10.0/DLLShared/:/cygdrive/c/Program
> Files/Co
> mmon Files/Roxio Shared/DLLShared/:/cygdrive/c/Program
> Files/ThinkPad/ConnectUti
> lities:/cygdrive/c/Program Files/Lenovo/Client Security
> Solution:/cygdrive/c/Pro
> gram Files/Microsoft SQL Server/90/Tools/binn/:/cygdrive/c/Program
> Files/doxygen
> /bin:/cygdrive/c/Program Files/Support
> Tools/:/cygdrive/c/utilities:/cygdrive/c/
> Program
> Files/apache-ant-1.7.1:/cygdrive/c/Python26:/cygdrive/c/MinGW/bin:/cygdr
> ive/c/Program Files/KDiff3:/cygdrive/c/Program Files/QuickTime/QTSystem/
>
> I'll have to cogitate on the rest of your note a bit later.
OK.
I am surprised your build works at all since you have the Cygwin
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin directories at the
start of your PATH. We put the bootstrap JDK and the Microsoft
directories first in PATH, followed by the Cygwin directories.
In particular, the Cygwin link command will not work for us -
we need the Microsoft link.exe from $ALT_COMPILER_PATH
Having said that, the JDK Makefiles try to run with a minimal
PATH and get what they need from ALT_foo variables:
$ env | grep ALT_
ALT_DEVTOOLS_DIR=/usr/bin
ALT_COMPILER_PATH=C:/PROGRA~1/MICROS~1.0/VC/bin/
ALT_MSDEVTOOLS_PATH=/cygdrive/c/PROGRA~1/MICROS~2/Windows/v6.1/Bin
ALT_DXSDK_PATH=/cygdrive/c/PROGRA~1/MICROS~1.0SD
ALT_BOOTDIR=C:/jdk1.6.0_03
ALT_MSVCRNN_DLL_PATH=/cygdrive/c/PROGRA~1/MICROS~1.0/VC/redist/x86/MICROS~1.CRT
$ grep ALT_ ../openjdk.build.bash
export ALT_FREETYPE_LIB_PATH=c:/devtools/windows/freetype-i586/lib
export ALT_FREETYPE_HEADERS_PATH=c:/devtools/windows/freetype-i586/include
export ALT_JDK_IMPORT_PATH=g:/jdk1.7.0-b73
export ALT_BUILD_JDK_IMPORT_PATH=g:/jdk1.7.0-b73
export ALT_JDK_DEVTOOLS_DIR=/cygdrive/c/devtools
Tim
More information about the build-dev
mailing list