This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
stap and make/gcc in non standard path
- From: Michael Obster <michael at obster dot org>
- To: systemtap at sources dot redhat dot com
- Date: Fri, 22 Dec 2006 15:37:16 +0100
- Subject: stap and make/gcc in non standard path
Hi,
I have some problems with running stap on teh target platform. There
is a special env for using make and gcc which are installed in a
special path.
Both are found in /opt/systemtap/bin.
ENV-variables PATH is set to /opt/systemtap/bin... and
LD_LIBRARY_PATH=/opt/systemtap/lib... and calling make or gcc from the
bash is working.
But running stap gives me following output:
Pass 3: translated to C into
"/tmp/stap9yRfaI/stap_7e3d55ff1395fd977a6bf1687b589136_445.c" in
10usr/0sys/5real ms.
Running make -C "/lib/modules/2.6.10_mvlcge40_sit-omm01_V1.1.3/build"
M="/tmp/stap9yRfaI" modules V=1
sh: line 1: make: command not found
Looks like stap doesn't recognize the env-variables? How I can set
this or is this a bug? Creating symlinks or installing under /usr is
not possible on the target.
Cheers,
Michael Obster
--
mailto: michael@obster.org
http://www.obster.org