stap and make/gcc in non standard path
Michael Obster
michael@obster.org
Fri Dec 22 16:22:00 GMT 2006
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
More information about the Systemtap
mailing list