Compiling Hotspot w/o dependencies
James.Melvin at Sun.COM
Sat Apr 11 16:48:30 PDT 2009
Use 'make hotspot' to only build hotspot. It looks like you tried to
build the entire JDK and ran into a sanity check error for the class
libraries. Building hotspot should only run the hotspot sanity check.
Xiaobin Lu wrote:
> J K wrote:
>> Can hotspot be compiled on Linux (32 or 64bit) without the
>> dependencies documented in openjdk/README-builds.html ?
> Hotspot can be compiled on Linux 32 /64 bit without much dependencies
> required. All you need is to get gcc, g++ and a bootstrap jdk. Refer to
> the build readme document for more details.
>> I work at a company with restrictive IT policies and new software
>> versions are prohibited.
>> 2. unzip
>> 3. cd openjdk
>> 4. make
>> ERROR: FreeType version 2.3.0 or higher is required.
>> make: Entering directory
>> Required version of freetype: 2.3.0
>> Detected freetype headers: 2.1.9
>> Failed: headers are too old.
>> Detected freetype library: 2.1.9
>> Failed: too old library.
>> make: Leaving directory
> You might need to search for more recent freetype rpm for your linux
> system based on the error message.
More information about the hotspot-dev