On Thu, 11 Feb 1999 08:30:53 -0500, donald riggs wrote:
>Hello,
>
> I am attempting to port JDK1.1.7 to a Linux environment on the SA-1100 platform,
>and as a preliminary exercise, I am attempting to duplicate Blackdown's successful
>efforts at porting the JDK to the i386 Linux environment. As a first step, I have
>the Sun distribution of JDK1.1.7 via a software agreement, and I have in place all
>the pre-requisites described in Steve Byrne's README.linux.src description and in the
>README file for the JDK1.1.7 source release from Sun.
>
>My problem is that when I applied the patches from Blackdown, there were errors and I
>want to understand why. I applied the patches in the file I downloaded from the ftp
>site:
> jdk-1_1_7-v1a_diffs.gz
>There were two problems I saw when the patch was executed:
>First, an error terminated the patch:
> Patching file src/genunix/bin/appletviewer.sh using Plan A...
> patch: **** malformed patch at line 2846: \ No newline at end of file
>Second, when patches were applied until the error occured, they were accompanied by a
>message like the following:
> Patching file build/minclude/sunw.jmk using Plan A...
> Hunk #1 succeeded at 2.
> Hmm... The next patch looks like a unified diff to me...
>
>I would like to know why both of these problems occurred in what should be a
>straightforward procedure. Do I have a different release of JDK 1.1.7 than
>Blackdown used? If so, I would appreciate a little more information about
>how the patches were applied to the Sun source distribution.
I can not tell why this would happen. I have just tried to reproduce
this problem with my 1.1.7 source archive and the diffs we made and the
diffs patched just fine. (Not one warning or error)
It may be that there have been minor changes to 1.1.7. I do know that
they released a 1.1.7A on Windows but I do not know what that change was.
Given that I built the archives, this may just be a test to see that the
files are not corrupt and would not show you anything useful.
Could it be that you have an older version of patch?
Michael Sinz -- Director of Research & Development, NextBus Inc.
mailto:[EMAIL PROTECTED] --------- http://www.nextbus.com
My place on the web ---> http://www.users.fast.net/~michael_sinz