mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 23:07:23 +08:00
tcl-8.6.2: fixes for the build instructions.
Add optional instructions for sqlite-tcl to SQLite-3.8.6. git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@14282 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
b62ac13650
commit
85e109de13
@ -123,16 +123,37 @@
|
||||
commands:
|
||||
</para>
|
||||
|
||||
<screen><userinput>cd unix &&
|
||||
<screen><userinput>rm -rf pkgs/sqlite3.8.6 &&
|
||||
export SRCDIR=`pwd` &&
|
||||
|
||||
cd unix &&
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--without-tzdata \
|
||||
--mandir=/usr/share/man \
|
||||
$([ $(uname -m) = x86_64 ] && echo --enable-64bit) &&
|
||||
make &&
|
||||
|
||||
<!--
|
||||
sed -e "s@^\(TCL_SRC_DIR='\).*@\1/usr/include'@" \
|
||||
-e "/TCL_B/s@='\(-L\)\?.*unix@='\1/usr/lib@" \
|
||||
-i tclConfig.sh</userinput></screen>
|
||||
-i tclConfig.sh</userinput></screen>-->
|
||||
sed -e "s#$SRCDIR/unix#/usr/lib#" \
|
||||
-e "s#$SRCDIR#/usr/include#" \
|
||||
-i tclConfig.sh &&
|
||||
|
||||
sed -e "s#$SRCDIR/unix/pkgs/tdbc1.0.1#/usr/lib/tdbc1.0.0#" \
|
||||
-e "s#$SRCDIR/pkgs/tdbc1.0.1/generic#/usr/include#" \
|
||||
-e "s#$SRCDIR/pkgs/tdbc1.0.1/library#/usr/lib/tcl8.6#" \
|
||||
-e "s#$SRCDIR/pkgs/tdbc1.0.1#/usr/include#" \
|
||||
-i pkgs/tdbc1.0.1/tdbcConfig.sh &&
|
||||
|
||||
sed -e "s#$SRCDIR/unix/pkgs/itcl4.0.1#/usr/lib/itcl4.0.0#" \
|
||||
-e "s#$SRCDIR/pkgs/itcl4.0.1/generic#/usr/include#" \
|
||||
-e "s#$SRCDIR/pkgs/itcl4.0.1#/usr/include#" \
|
||||
-i pkgs/itcl4.0.1/itclConfig.sh &&
|
||||
|
||||
unset SRCDIR</userinput></screen>
|
||||
|
||||
|
||||
<para>
|
||||
To test the results, issue: <command>make test</command>.
|
||||
@ -189,11 +210,17 @@ cp -v -r ../html/* /usr/share/doc/tcl-&tcl-version;</userinput></screen>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<command>sed -e ... tclConfig.sh</command>: The
|
||||
<application>Tcl</application> package expects that its source tree is
|
||||
preserved so that packages depending on it for their compilation
|
||||
can utilize it. This <command>sed</command> removes the references to the
|
||||
build directory and replaces them with saner system-wide locations.
|
||||
<command>rm -rf pkgs/sqlite3.8.6 </command>: <application>SQLite Tcl
|
||||
Extension Architecture (TEA)</application> is removed, because it is
|
||||
optionally installed by <xref linkend="sqlite"/>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<command>sed -e ...</command>: The <application>Tcl</application> package
|
||||
expects that its source tree is preserved so that packages depending on
|
||||
it for their compilation can utilize it. These <command>sed</command>
|
||||
remove the references to the build directory and replace them with saner
|
||||
system-wide locations.
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
@ -215,7 +242,6 @@ cp -v -r ../html/* /usr/share/doc/tcl-&tcl-version;</userinput></screen>
|
||||
</seg>
|
||||
<seg>
|
||||
/usr/lib/itcl4.0.1,
|
||||
/usr/lib/sqlite3.8.6,
|
||||
/usr/lib/tcl8,
|
||||
/usr/lib/tcl&tcl-ver;,
|
||||
/usr/lib/tdbc1.0.1,
|
||||
|
@ -47,6 +47,15 @@
|
||||
<listitem>
|
||||
<para>September 14th, 2014</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[fernando] - Add optional instructions for sqlite-tcl to
|
||||
SQLite-3.8.6. Fixes
|
||||
<ulink url="&blfs-ticket-root;5512">#5512</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[fernando] - tcl-8.6.2: fixes for the build instructions. Fixes
|
||||
<ulink url="&blfs-ticket-root;5511">#5511</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[bdubbs] - Update to valgrind-3.10.0. Fixes
|
||||
<ulink url="&blfs-ticket-root;5506">#5506</ulink>.</para>
|
||||
|
@ -104,7 +104,10 @@
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para role="optional">
|
||||
<xref linkend="unzip"/> (required to unzip the documentation).
|
||||
<xref linkend="tcl"/> (required to build <application>SQLite Tcl
|
||||
Extension Architecture - TEA</application>, also know as
|
||||
<application>sqlite-tcl</application>) and
|
||||
<xref linkend="unzip"/> (required to unzip the documentation)
|
||||
</para>
|
||||
|
||||
<para condition="html" role="usernotes">
|
||||
@ -134,6 +137,16 @@
|
||||
-DSQLITE_SECURE_DELETE=1" &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>
|
||||
If you wish to install <application>sqlite-tcl</application>, run the
|
||||
following commands:
|
||||
</para>
|
||||
|
||||
<screen><userinput>cd tea &&
|
||||
./configure --prefix=/usr --with-system-sqlite &&
|
||||
make &&
|
||||
cd ..</userinput></screen>
|
||||
|
||||
<para>
|
||||
This package does not come with a test suite.
|
||||
</para>
|
||||
@ -151,6 +164,17 @@ make</userinput></screen>
|
||||
|
||||
<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/sqlite-&sqlite-version; &&
|
||||
cp -v -R sqlite-doc-&sqlite-doc-version;/* /usr/share/doc/sqlite-&sqlite-version;</userinput></screen>
|
||||
|
||||
<para>
|
||||
If you decided to install <application>sqlite-tcl</application>, issue
|
||||
the following commands as the
|
||||
<systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen><userinput>cd tea &&
|
||||
make install &&
|
||||
cd ..</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="commands">
|
||||
@ -179,17 +203,19 @@ cp -v -R sqlite-doc-&sqlite-doc-version;/* /usr/share/doc/sqlite-&sqlite-version
|
||||
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Program</segtitle>
|
||||
<segtitle>Installed Library</segtitle>
|
||||
<segtitle>Installed Directory</segtitle>
|
||||
<segtitle>Installed Libraries</segtitle>
|
||||
<segtitle>Installed Directories</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>
|
||||
sqlite3
|
||||
</seg>
|
||||
<seg>
|
||||
libsqlite3.so
|
||||
libsqlite3.so and (optionally)
|
||||
/usr/lib/sqlite&sqlite-version;/libsqlite&sqlite-version;.so
|
||||
</seg>
|
||||
<seg>
|
||||
/usr/lib/sqlite&sqlite-version; (optionally) and
|
||||
/usr/share/doc/sqlite-&sqlite-version;
|
||||
</seg>
|
||||
</seglistitem>
|
||||
|
Loading…
Reference in New Issue
Block a user