Bruce Dubbs wrote these words on 12/15/05 01:10 CST: [Sending to BLFS-Dev, CCing to LFS-Dev]
>>>I just ran into a minor problem on a new install. I was installing the >>>Java runtime and the included script had: >>> >>>tail +122 ... >>> >>>I had to change it to tail -n +122 ... >>> >>>I thought this POSIX behavior was reverted in the current coreutils, but >>>apparently not. Do we need to add a patch? > > Perhaps this isn't an LFS problem, but should be addressed in the BLFS > install of the FOP instructions. To summarize a thread (some of which is contained here) from LFS-Dev, Bruce ran into a situation where the JAI tarball, referenced and installed in the BLFS FOP instructions, contains an obsolete usage of the coreutils 'tail' command. So, to fix this, I'll add the following 'sed' command to the FOP instructions right before the 'chmod' command that sets the executable bit on the file. sed -i 's/tail +122/tail -n +122/' ../jai-1_1_2_01-lib-linux-i586-jdk.bin && I've tested this command to work and it doesn't affect the file if the sed command is run more than once against the file. Anyone see any issues with using this sed in the FOP instructions? -- Randy rmlscsi: [GNU ld version 2.15.94.0.2 20041220] [gcc (GCC) 3.4.3] [GNU C Library stable release version 2.3.4] [Linux 2.6.10 i686] 08:12:01 up 81 days, 17:36, 3 users, load average: 1.00, 0.93, 0.57 -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page