[Fwd: Re: Freetype version check failure - copy of DLL failed]

Pete Brunet pete at a11ysoft.com
Fri Oct 2 20:35:14 UTC 2009


Tim, I remember some instructions about modifying the path that but I
didn't know how to do it so I renamed cygwin's link so it wouldn't get
called.

I have a bat file in my c:\ a follows:

cd C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools
call vsvars32
cd c:\cygwin\bin
set CLASSPATH=
bash --login -i

and then I

cd /cygdrive/c/OpenJDK/jdk7
make sanity

I assume vsvars32 is prepending all the VS9/SDK stuff and then bash
login is prepending the cygwin stuff.  How do you set up the path?  I
didn't see that in any instructions I read.  Is the linker the only issue?

Pete
----
Tim Bell wrote:
> 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
>
>
>
>   

-- 
*Pete Brunet*
                                                                
a11ysoft - Accessibility Architecture and Development
(512) 238-6967 (work), (512) 689-4155 (cell)
Skype: pete.brunet
IM: ptbrunet (AOL, Google), ptbrunet at live.com (MSN)
http://www.a11ysoft.com/about/
Ionosphere: WS4G
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/build-dev/attachments/20091002/fe20e04f/attachment.html>


More information about the build-dev mailing list