building openjdk for windows ,freetype

Igor Nekrestyanov Igor.Nekrestyanov at Sun.COM
Thu Aug 16 21:16:22 UTC 2007


You need to start make (or gmake) from cygwin shell. Otherwise paths are 
not set correctly.

I suggest to try to repeat my windows build story described here (make 
sure you installed everything mentioned in the README-builds.html):
    http://mail.openjdk.java.net/pipermail/build-dev/2007-August/000182.html

Adjust buildenv.bat for your setup and use following additional hints 
found recently:
   1) change PATH to include cygwin directory on the first place (last 
in my example)
   2) make sure your username ($USERNAME) has no spaces

-igor


Rishi Khare wrote:
> I tried doing the same but it wasnt working.
> i got the following error
>
> C:\tools-openjdk\freetype-2.3.0>make -f Makefile
> make: ver: Command not found
> make: type: Command not found
> make: *** [dos_setup] Error 127
>
> I tried running this from both cmd.exe as well as  cygwin but it didnt 
> worked.
> was i missing something?
> -Rishi
>
> On 8/16/07, *Sandeep Konchady* <Sandeep.Konchady at sun.com 
> <mailto:Sandeep.Konchady at sun.com>> wrote:
>
>     Rishi,
>
>         What ever "make" command exists in <Your cygwin install
>     dir>\bin is the gnumake. If it is not named so, you can change
>     your config file to use that make. This is not MKS specific and
>     you should be able to do all the builds with cygwin (except for VC
>     compiler/linker and other binary plus of course).
>
>     Thanks,
>     Sandeep
>
>
>     Rishi Khare wrote:
>>     thanks a lot for your help,
>>      actually the freetype needs to be built, the one supplied with
>>     cygwin directly doesnt work.
>>      I had to just open the Visual Studio project file from
>>     freetype-2.3.5\builds\win32\visualc and open it is Visual
>>     Studio.net <http://Studio.net> 2003 (need to change its version
>>     from 8.00 to 7.10 otherwise it wont open)
>>     and compile the project, it will produce the required .lib files
>>     , which can be given to ALT_FREETYPE_LIB_PATH
>>     i did the same and it is working fine now.(the build is running
>>     now and passed the point where it used to get stuck while
>>     freetype check)
>>
>>     I could not use the bat file at
>>     http://mail.openjdk.java.net/pipermail/build-dev/2007-August/000187.html
>>     because i couldnt find the gnumake command for cygwin (probably
>>     it needs MKS) and i dont have MKS .
>>
>>     Thanks a lot once again.
>>     -Regards
>>     Rishi
>>
>>
>>     On 8/16/07, *Ted Neward* <ted at tedneward.com
>>     <mailto:ted at tedneward.com>> wrote:
>>
>>         Having just done this recently, I'd suggest going through the
>>         archives and finding Igor's posts on the subject, and work
>>         from there. Make sure you have the latest version of
>>         FreeType, because it sounds like yours may be the wrong
>>         version. Also, when building using the b17 (most recent)
>>         drop, build with "OPENJDK=true" on the command line.
>>
>>          
>>
>>         You presumably are running "make sanity" OK?
>>
>>          
>>
>>         Ted Neward
>>
>>         Java, .NET, XML Services
>>
>>         Consulting, Teaching, Speaking, Writing
>>
>>         http://www.tedneward.com <http://www.tedneward.com>
>>
>>          
>>
>>         *From:* build-dev-bounces at openjdk.java.net
>>         <mailto:build-dev-bounces at openjdk.java.net> [mailto:
>>         build-dev-bounces at openjdk.java.net
>>         <mailto:build-dev-bounces at openjdk.java.net>] *On Behalf Of
>>         *Rishi Khare
>>         *Sent:* Wednesday, August 15, 2007 11:27 PM
>>         *To:* build-dev at openjdk.java.net
>>         <mailto:build-dev at openjdk.java.net>
>>         *Subject:* building openjdk for windows ,freetype
>>
>>          
>>
>>         hi all,
>>             I am a newbie for openjdk build so forgive if it seems
>>         fairly easy.
>>         I am trying to build openjdk on windows xp sp2. have gone
>>         through all setup and tools installation and successfully
>>         able to build hotspot jvm.
>>         but when I am trying to build complete jdk it is giving the
>>         following error.
>>         ERROR: FreeType version  2.3.0 or higher is required.
>>
>>         freetype is installed by cygwin itself, I downloaded the
>>         binary version also and putting that in to the path is not
>>         making any difference, is there any specific way to do that?
>>         -Regards
>>         -Rishi
>>
>>         No virus found in this incoming message.
>>         Checked by AVG Free Edition.
>>         Version: 7.5.476 / Virus Database: 269.11.19/955 - Release
>>         Date: 8/15/2007 4:55 PM
>>
>>
>>         No virus found in this outgoing message.
>>         Checked by AVG Free Edition.
>>         Version: 7.5.484 / Virus Database: 269.12.0/957 - Release
>>         Date: 8/16/2007 1:46 PM
>>
>>
>
>




More information about the build-dev mailing list