On Mon, Mar 24, at 12:00 Randy McMurchy wrote:
> Randy McMurchy wrote these words on 03/23/08 12:11 CST:
> > I had a few more minutes and here's what I came up with:
> >
> > sed -i -e 's|${LIB_.*}|/usr/lib|' \
> > -e '/TCL_BUILD_\|TCL_SRC/d' \
> > tclConfig.sh
>
> This would work. But it deletes 4 lines. And though there's been no
> other comments (well, Ag's as well) other than Alex's,
I am following this thread and I actually (yesterday) I had prepared a
sed but you posted the same (almost) pattern some minutes before me,
so ... :)
> Not to take anything away from Ag's method, I propose this for
> review. It changes all 6 lines in the tclConfig.sh to sane values.
>
> sed -i -e 's|-L`pwd`|-L/usr/lib|' \
> -e 's|"`pwd`|"/usr/lib|' \
> configure
>
> sed -i -e 's|@.._SEARCH_FLAGS@|-Wl,-rpath,/usr/lib|' \
> -e 's|@TCL_SRC_DIR@|/usr/include|' \
> tclConfig.sh.in
>
> These two seds would be run first thing after changing into the
> tcl8.4.x/unix directory. I do like the fact of what Alex mentioned
> that it is better to fix the root of the problem instead of a
> post-processing fix.
I totally agree with this approach; you guys can handle those issues much
better than me. I am learning watching you, so please go ahead and fix it.
If there is something that I need to say, you know me, I can't shut up
my ... fingers. :)
Thanks for the interest.
--
http://wiki.linuxfromscratch.org/blfs/wiki/Hacking
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page