Configuring gcj and ecj.jar to build icedtea6

Robin Cook rcook at
Fri Oct 28 20:56:30 PDT 2011

Found part of the problem.   
My egrep, grep, and fgrep are in /usr/bin instead of /bin and
my gawk, tail, and head are in /bin instead of /usr/bin.

Not well enough versed in the auto tools to know what to change to make
it check for those progams in both /bin and /usr/bin.

Once I created links for those in the directory your configure is
looking for them in the compile went farther.  I am now getting the
below error...

/usr/src/icedtea6-1.10.4/bootstrap/jdk1.6.0/bin/javac -g -encoding ascii
-source 5 -target 5 -source 1.4 -target 1.4
-classpath /usr/src/icedtea6-1.10.4/bootstrap/jdk1.6.0/lib/tools.jar:/usr/src/icedtea6-1.10.4/bootstrap/jdk1.6.0/jre/lib/rt.jar -sourcepath /usr/src/icedtea6-1.10.4/openjdk-ecj/hotspot/agent/src/share/classes -d /usr/src/icedtea6-1.10.4/ @/usr/src/icedtea6-1.10.4/
expansion argument file
@/usr/src/icedtea6-1.10.4/ does not exist or cannot be read
make[8]: ***
[/usr/src/icedtea6-1.10.4/] Error 255
make[8]: Leaving directory
make[7]: *** [all] Error 2
make[7]: Leaving directory
make[6]: *** [sa_stuff] Error 2
make[6]: Leaving directory
make[5]: *** [product] Error 2
make[5]: Leaving directory
make[4]: *** [generic_build2] Error 2
make[4]: Leaving directory
make[3]: *** [product] Error 2
make[3]: Leaving directory
make[2]: *** [hotspot-build] Error 2
make[2]: Leaving directory `/usr/src/icedtea6-1.10.4/openjdk-ecj'
make[1]: *** [build_product_image] Error 2
make[1]: Leaving directory `/usr/src/icedtea6-1.10.4/openjdk-ecj'
make: *** [stamps/icedtea-ecj.stamp] Error 2

Any suggestions on how to correct this error?


On Fri, 2011-10-28 at 19:42 -0500, Robin Cook wrote:
> Hello,
> I use a sourced base distribution and I am trying to figure out what all
> needs to be done to build icedtea6 1.10.4 using gcj and ejc.jar.
> I have gcc 4.6.1 with c++ and gcj compiled and installed and as part of
> gcj it installs ecj.jar.
> I can't seem to find any instructions anywhere on what to do next to get
> it setup so icedtea6 will build.  
> If someone can point me to information on getting gcj and ecj.jar setup
> would be a big help.  Thanks.
> This is what I get when I try to build icedtea6,  I have the complete
> build log if that is needed.
> WARNING: Your build environment has the variable NO_DOCS
>          defined. This will result in a development-only
>          build of the JDK, lacking the documentation
>          build.
> WARNING: The version of make being used is older than 
>        the required version of '3.78'. 
>        The version of make found was ''. 
> WARNING: The version of unzip being used is older than 
>        the required version of '5.12'. 
>        The version of unzip found was ''. 
> WARNING: The version of zip being used is older than 
>        the required version of '2.2'. 
>        The version of zip found was ''. 
> ERROR: Your BOOTDIR environment variable does not point 
>        to a valid JDK for bootstrapping this build. 
>        A JDK 6  Update 22 build must be bootstrapped using  
>        JDK 1.6.0 fcs (or later). 
>        Apparently, your bootstrap JDK is version  
>        Please update your ALT_BOOTDIR setting and start your build
> again. 
> The missing programs are installed:
> make   3.82
> zip    3.0 
> unzip  6.0
> Also is there a way to build icedtea6 without libxp since is has been
> deprecated for quite a while is not normally on the system?
> Is there a way to have configure look in /usr/bin for some of the
> progams it looks in /bin for (exp egrep)?
> Thanks 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
Url : 

More information about the distro-pkg-dev mailing list