This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Fix for: "/usr/bin/install: cannot stat `libinproctrace.so': No such file or directory"
- From: "Anmol P. Paralkar" <anmol at freescale dot com>
- To: gdb-patches at sourceware dot org
- Cc: Emilian Medve <Emilian dot Medve at freescale dot com>
- Date: Thu, 2 Sep 2010 15:24:35 -0500
- Subject: Fix for: "/usr/bin/install: cannot stat `libinproctrace.so': No such file or directory"
Hello,
My colleague, Emil kindly pointed out a typo in gdbserver/Makefile.in
while looking at the failure below.
The following patch fixes the problem.
Thanks,
Anmol.
===================================================================
RCS file: /cvs/src/src/gdb/gdbserver/Makefile.in,v
retrieving revision 1.92
diff -u -r1.92 Makefile.in
--- Makefile.in 26 Aug 2010 18:03:02 -0000 1.92
+++ Makefile.in 2 Sep 2010 20:13:01 -0000
@@ -165,7 +165,7 @@
install-only:
n=`echo gdbserver | sed '$(program_transform_name)'`; \
if [ x$$n = x ]; then n=gdbserver; else true; fi; \
- if [ x$IPA_DEPFILES != x ]; then \
+ if [ x$$IPA_DEPFILES != x ]; then \
$(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(libdir); \
$(INSTALL_PROGRAM) $(IPA_LIB) $(DESTDIR)$(libdir)/$(IPA_LIB); \
fi; \
================================================================================
Wed Sep 1 12:08:07 CDT 2010: Make install gdbserver
================================================================================
make: Warning: File `Makefile' has modification time 3.1e+02 s in the future
n=`echo gdbserver | sed 's,x,x,'`; \
if [ x$n = x ]; then n=gdbserver; else true; fi; \
if [ xPA_DEPFILES != x ]; then \
/bin/sh /proj/ppc/sysperf/labhome/b07584/gnu/src/src/gdb/gdbserver/../../mkinstalldirs /proj/ppc/sysperf/labhome/b07584/gnu/gdbserver/src/powerpc-linux-gnu/lib; \
/usr/bin/install -c libinproctrace.so /proj/ppc/sysperf/labhome/b07584/gnu/gdbserver/src/powerpc-linux-gnu/lib/libinproctrace.so; \
fi; \
/bin/sh /proj/ppc/sysperf/labhome/b07584/gnu/src/src/gdb/gdbserver/../../mkinstalldirs /proj/ppc/sysperf/labhome/b07584/gnu/gdbserver/src/powerpc-linux-gnu/bin; \
/usr/bin/install -c gdbserver /proj/ppc/sysperf/labhome/b07584/gnu/gdbserver/src/powerpc-linux-gnu/bin/$n; \
/bin/sh /proj/ppc/sysperf/labhome/b07584/gnu/src/src/gdb/gdbserver/../../mkinstalldirs /proj/ppc/sysperf/labhome/b07584/gnu/gdbserver/src/powerpc-linux-gnu/share/man/man1; \
/usr/bin/install -c -m 644 /proj/ppc/sysperf/labhome/b07584/gnu/src/src/gdb/gdbserver/gdbserver.1 /proj/ppc/sysperf/labhome/b07584/gnu/gdbserver/src/powerpc-linux-gnu/share/man/man1/$n.1
/usr/bin/install: cannot stat `libinproctrace.so': No such file or directory