On Wed, Jul 31, 2013 at 6:12 AM, Bruce Dubbs <[email protected]> wrote: > Nathan Coulson wrote: >> On Tue, Jul 30, 2013 at 11:51 PM, Nathan Coulson <[email protected]> wrote: >>> java hardcodes the location of head to /bin/head (which then leads to >>> it failing as it thinks ZIP, MAKE, and UNZIP are too old). >>> >>> (Fixed with a symlink on my own build, probably better to patch >>> icedtea to use head instead of /bin/head) >>> >>> /bin/sh: /bin/head: No such file or directory >>> /bin/sh: /bin/head: No such file or directory >>> /bin/sh: /bin/head: No such file or directory >>> /bin/sh: /bin/head: No such file or directory >>> make[2]: Entering directory >>> `/mnt/data/book/blfs/13/icedtea-2.4.1/openjdk-boot/jdk/make' >>> /mnt/data/book/blfs/13/icedtea-2.4.1/openjdk-boot/jdk/make/common/shared/Sanity-Settings.gmk:72: >>> WARNING: BOOT_VER should not be empty [Sanity-Settings.gmk] >>> /mnt/data/book/blfs/13/icedtea-2.4.1/openjdk-boot/jdk/make/common/shared/Sanity-Settings.gmk:119: >>> WARNING: ZIP_VER should not be empty [Sanity-Settings.gmk] >>> /mnt/data/book/blfs/13/icedtea-2.4.1/openjdk-boot/jdk/make/common/shared/Sanity-Settings.gmk:120: >>> WARNING: UNZIP_VER should not be empty [Sanity-Settings.gmk] >>> /mnt/data/book/blfs/13/icedtea-2.4.1/openjdk-boot/jdk/make/common/shared/Sanity-Settings.gmk:200: >>> WARNING: MAKE_VER should not be empty [Sanity-Settings.gmk] >>> >>> -- >>> Nathan Coulson (conathan) >>> ------ >> >> Also, I was using the main branch of BLFS, and not the systemd branch >> when compiling java. > > Two things. I went through my log of the java install and could find no > instances if /bin/head. There are lots of 'header' and 'headless' > references though. > > Second, why do you not have /bin/head? It is there in the standard LFS > build. > > -- Bruce
For one, I have not dug too deeply into it (also, I see a /bin/find not found as well which leads to another failure). Once I get it successfully compiled, I'll figure out why. As for two, I am using the systemd branch (giving it a try). I took a careful look at the coreutils instructions before posting this, and head is not moved to /bin. Perhaps the directions were changed compared to LFS as it was not needed by bootscripts anymore. I had a third thought as well, what to do about it. Reviewing the main lfs book, coreutils and findutils does put these utilities in /bin instead of /usr/bin, so I imagine java would work fine, and systemd blfs branch has not yet merged the openjdk features. But I don't want to see any difference in compiling java between having a systemd build or a sysvinit build [Java does not interact with boot]. I guess the two choices would be to move those programs back to /bin in the systemd branch, patch java in the systemd version to not use hardcoded paths, or patch both variations of blfs. -- Nathan Coulson (conathan) ------ Location: British Columbia, Canada Timezone: PST (-8) Webpage: http://www.nathancoulson.com -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
