Configuring gcj and ecj.jar to build icedtea6

Dr Andrew John Hughes ahughes at
Mon Oct 31 15:07:03 PDT 2011

On 08:58 Sat 29 Oct     , Robin Cook wrote:
> After all the build output found the problem.
> gawk, head, tail, test, and wc are in /bin instead of /usr/bin; and
> grep, egrep, and fgrep are in /usr/bin instead of /bin.
> Is there a way to have configure find those or will I have to manually
> edit the makefiles?

The place to start is to look at the output of configure, which is found
in config.log.  If configure is finding these tools (which I suspect it
is, at it searches the path, not a hardcoded location) then I would guess
the problem is that the knowledge it acquires isn't passed down to the
Makefile-based build system that OpenJDK uses.  IcedTea invokes the
OpenJDK build system with a whole bunch of setting it auto-detects to
make things easier.  It may be we just need to tell it where grep and
friends are.

If you can post your config.log, I'll give you a definite answer as to
what's going on.

> Thanks
> Robin Cook
> On Fri, 2011-10-28 at 22:56 -0500, Robin Cook wrote:
> > 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.
> > 

Andrew :)

Free Java Software Engineer
Red Hat, Inc. (

Support Free Java!
Contribute to GNU Classpath and IcedTea
PGP Key: 248BDC07 (
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : 

More information about the distro-pkg-dev mailing list