mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
Added a sed command to the FOP instructions to fix a tail command with obsolete syntax in the JAI binary
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5432 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
fd2aad8876
commit
1d3a3fa80b
@ -44,6 +44,10 @@
|
||||
<listitem>
|
||||
<para>December 15, 2005</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[randy] - Added a sed command to the FOP instructions to fix
|
||||
a tail command with obsolete syntax in the JAI binary.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[randy] - Updated to Gamin-0.1.7.</para>
|
||||
</listitem>
|
||||
|
@ -132,7 +132,9 @@
|
||||
the <systemitem class="username">root</systemitem> user while in the
|
||||
root of the <application>FOP</application> source tree:</para>
|
||||
|
||||
<screen role="root"><userinput>chmod 755 ../jai-1_1_2_01-lib-linux-i586-jdk.bin &&
|
||||
<screen role="root"><userinput>sed -i 's/tail +122/tail -n +122/' \
|
||||
../jai-1_1_2_01-lib-linux-i586-jdk.bin &&
|
||||
chmod 755 ../jai-1_1_2_01-lib-linux-i586-jdk.bin &&
|
||||
FOP_BUILD_DIR=$(pwd) &&
|
||||
cd $JAVA_HOME &&
|
||||
yes | $FOP_BUILD_DIR/../jai-1_1_2_01-lib-linux-i586-jdk.bin &&
|
||||
@ -148,7 +150,7 @@ cd $FOP_BUILD_DIR</userinput></screen>
|
||||
|
||||
<screen><userinput>patch -Np1 -i ../fop-&fop-version;-jdk_1.5.0-1.patch &&
|
||||
./build.sh &&
|
||||
sed -i -e "s/build/lib/" fop.sh</userinput></screen>
|
||||
sed -i "s/build/lib/" fop.sh</userinput></screen>
|
||||
|
||||
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
||||
|
||||
@ -211,7 +213,7 @@ install -v -m644 lib/batik.LICENSE.txt \
|
||||
package, run the following commands as the <systemitem
|
||||
class="username">root</systemitem> user:</para>
|
||||
|
||||
<screen role="root"><userinput>sed -i -e "s/build/lib/" xalan.sh &&
|
||||
<screen role="root"><userinput>sed -i "s/build/lib/" xalan.sh &&
|
||||
install -v -m755 xalan.sh /opt/fop-&fop-version;/bin &&
|
||||
install -v -m644 lib/xml-apis.jar \
|
||||
lib/xercesImpl-2.2.1.jar \
|
||||
@ -241,6 +243,12 @@ install -v -m644 lib/{xml-apis,xerces,xalan}.LICENSE.txt \
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para><command>sed -i 's/tail +122/tail -n +122/' ...</command>:
|
||||
The <application>JAI</application> binary file has a <command>tail</command>
|
||||
command imbedded in the file which uses obsolete syntax and causes the
|
||||
file to not unpack correctly. This command fixes the obsolete
|
||||
syntax.</para>
|
||||
|
||||
<para><command>yes | $FOP_BUILD_DIR/../jai-...-jdk.bin</command>: This
|
||||
command installs the <application>JAI</application> components
|
||||
into the <application>JDK</application> file structure. The
|
||||
@ -250,7 +258,7 @@ install -v -m644 lib/{xml-apis,xerces,xalan}.LICENSE.txt \
|
||||
a reference point to the source executable and as a method to return back to
|
||||
the <application>FOP</application> source tree.</para>
|
||||
|
||||
<para><command>sed -i -e "s/build/lib/" ...</command>: These commands modify
|
||||
<para><command>sed -i "s/build/lib/" ...</command>: These commands modify
|
||||
the installed shell scripts so that the location of the installed
|
||||
<filename>fop.jar</filename> file is correctly identified.</para>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user