Configuring gcj and ecj.jar to build icedtea6
Dr Andrew John Hughes
ahughes at redhat.com
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. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: 248BDC07 (https://keys.indymedia.org/)
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 : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111031/dbd4e9ee/attachment.bin
More information about the distro-pkg-dev
mailing list