This is the mail archive of the mailing list for the systemtap project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/3282] staprun failed in relayfs mode

------- Additional Comments From guanglei at cn dot ibm dot com  2006-09-29 04:51 -------
I checked and found the reason is the due to the failure of:
execlp(stp_check, stp_check, NULL) , which is called inside init_relayfs of
the PKGLIBDIR is not defined so execlp can't find the path of stp_check.

Here is a patch, I tested and it works for me:

RCS file: /cvs/systemtap/src/,v
retrieving revision 1.54
diff -u -r1.54
--- 26 Sep 2006 21:41:37 -0000      1.54
+++ 29 Sep 2006 04:47:04 -0000
@@ -5,7 +5,7 @@

 pkglibexecdir = ${libexecdir}/${PACKAGE}

-AM_CPPFLAGS = -DBINDIR='"$(bindir)"' -DPKGDATADIR='"${pkgdatadir}"'
+AM_CPPFLAGS = -DBINDIR='"$(bindir)"' -DPKGDATADIR='"${pkgdatadir}"'

 AM_CFLAGS = -std=gnu99 -D_GNU_SOURCE -fexceptions \
            -Wall -Werror -Wshadow -Wunused -Wformat=2 -W


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]