[Bug 1536] JDK source install instructions seem to be slightly incorrect.
LFS-User at mcmurchy.com
Sun Aug 21 18:18:55 PDT 2005
DJ Lucas wrote these words on 08/21/05 20:12 CST:
> Paul Bowyer wrote:
>>What happened was this:
>>"cp -v -a j2sdk-image /opt/jdk/jdk-1.5.0" placed the "j2sdk-image" directory
>>in "/opt/jdk/jdk-1.5.0" rather than just its contents as was probably
> This means that the /opt/jdk/jdk-1.5.0 directory already exists. The
> behavior is correct as the directory should not be there.
> Your error is here:
>> /usr/lib/pkgusr/install -v -d /opt/jdk/jdk-1.5.0
> Which should be not there at all.
No, DJ, what you are saying is not right. The books instructions
do moves of the files and not copies. His script I believe just
needs to be cp -v -a j2sdk-image/*. But why does it have to be
modified anyway? sigh....
BTW, DJ, cp -a is the same as cp -dpR which copies recursively.
Because a directory is specified as the source, it will always
get copied, regardless whether or not a target directory exists.
rmlscsi: [GNU ld version 184.108.40.206.2 20041220] [gcc (GCC) 3.4.3]
[GNU C Library stable release version 2.3.4] [Linux 2.6.10 i686]
20:14:01 up 141 days, 19:47, 3 users, load average: 1.08, 0.98, 0.62
More information about the blfs-book