This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] sed bug in Makefile.in
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: "Theodore A. Roth" <troth at openavr dot org>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 11 Jul 2003 13:38:49 -0400
- Subject: Re: [RFA] sed bug in Makefile.in
- References: <Pine.LNX.4.53.0307111003570.22711@knuth.amplepower.com>
On Fri, Jul 11, 2003 at 10:14:01AM -0700, Theodore A. Roth wrote:
> Hi,
>
> I just tried to configure and build gdb with:
>
> ../configure --prefix=$HOME/local/avr --program-suffix=-6.0 --target=avr --enable-gdb-build-warnings=,-Werror
> ../configure --prefix=$HOME/local/avr --program-suffix=-6.0 --program-prefix=avr- --target=avr --enable-gdb-build-warnings=,-Werror
>
> Both failed to install avr-gdb-6.0 which I expected.
>
> The failure (on 'make install') is this:
>
> make[1]: Leaving directory
> `/home/roth/dev/tools/gdb-6.0-cvs/obj-avr/gdb'
> transformed_name=`t='s,$,-6.0,; s,^,avr-,; '; \
> echo gdb | sed -e $t` ; \
> if test "x$transformed_name" = x; then \
> transformed_name=gdb ; \
> else \
> true ; \
> fi ; \
> /bin/sh ../../gdb/../mkinstalldirs /home/roth/local/avr/bin ; \
> /usr/bin/install -c gdb \
> /home/roth/local/avr/bin/$transformed_name ; \
> /bin/sh ../../gdb/../mkinstalldirs \
> /home/roth/local/avr/man/man1 ; \
> /usr/bin/install -c -m 644 ../../gdb/gdb.1 \
> /home/roth/local/avr/man/man1/$transformed_name.1
> sed: can't read s,^,avr-,;: No such file or directory
>
>
> The attached patch seems to fix this.
>
> Ok to commit? Should probably go on both head and branch.
Yes, this is fine.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer