[EMAIL PROTECTED] wrote these words on 03/26/08 14:44 CST:
> Author: ag
> Date: 2008-03-26 13:44:59 -0600 (Wed, 26 Mar 2008)
> New Revision: 7318
>
> Modified:
> trunk/BOOK/general/prog/tcl.xml
> trunk/BOOK/general/prog/tk.xml
> trunk/BOOK/introduction/welcome/changelog.xml
> Log:
> Added a sed to Tcl/Tk instructions to fix #2487
Just did it again, the sed doesn't work. The diff and a grep is below.
Back to the drawing board.
[EMAIL PROTECTED]: ~/build/tcl8.4.18/unix > cp tclConfig.sh tclConfig.sh.b4_sed
[EMAIL PROTECTED]: ~/build/tcl8.4.18/unix > sed -i \
> -e "[EMAIL PROTECTED](TCL_SRC_DIR='\)[EMAIL PROTECTED]/usr/include'@" \
> -e "/TC_B/[EMAIL PROTECTED]'\(-L\)[EMAIL PROTECTED]'\1/usr/lib@" \
> -e "/SEARCH/s/=.*/=''/" \
> tclConfig.sh
[EMAIL PROTECTED]: ~/build/tcl8.4.18/unix > diff -Nau tclConfig.sh.b4_sed
tclConfig.sh
--- tclConfig.sh.b4_sed 2008-03-26 14:55:35.000000000 -0500
+++ tclConfig.sh 2008-03-26 14:57:26.000000000 -0500
@@ -96,8 +96,8 @@
# run-time dynamic linker where to look for shared libraries such as
# libtcl.so. Used when linking applications. Only works if there
# is a variable "LIB_RUNTIME_DIR" defined in the Makefile.
-TCL_CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
-TCL_LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
+TCL_CC_SEARCH_FLAGS=''
+TCL_LD_SEARCH_FLAGS=''
# Additional object files linked with Tcl to provide compatibility
# with standard facilities from ANSI C or POSIX.
@@ -146,7 +146,7 @@
# different place than the directory containing the source files, this
# points to the location of the sources, not the location where Tcl was
# compiled.
-TCL_SRC_DIR='/home/rml/build/tcl8.4.18'
+TCL_SRC_DIR='/usr/include'
# List of standard directories in which to look for packages during
# "package require" commands. Contains the "prefix" directory plus also
[EMAIL PROTECTED]: ~/build/tcl8.4.18/unix > grep "/home/rml" tclConfig.sh
TCL_BUILD_LIB_SPEC='-L/home/rml/build/tcl8.4.18/unix -ltcl8.4${TCL_DBGX}'
TCL_BUILD_STUB_LIB_SPEC='-L/home/rml/build/tcl8.4.18/unix
-ltclstub8.4${TCL_DBGX}'
TCL_BUILD_STUB_LIB_PATH='/home/rml/build/tcl8.4.18/unix/libtclstub8.4${TCL_DBGX}.a'
[EMAIL PROTECTED]: ~/build/tcl8.4.18/unix >
--
Randy
rmlscsi: [bogomips 1003.22] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686]
15:07:01 up 38 days, 5:55, 1 user, load average: 1.29, 1.02, 0.54
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page