This is the mail archive of the systemtap@sourceware.org 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]

Re: build errors


Marcin Krol wrote:
> Hello Eugeniy,
> 
> I'm almost there... I built the package successfully, but get this error
> now:
> 
> % stap hw.stp
> /usr/local/libexec/systemtap/stapio: No such file or directory
> 
> Now, I took care to do:
> 
> ./configure --with-elfutils=/root/src/elfutils/elfutils --prefix=/usr
> 
> And I even edited debian/rules:
> 
> 
> CONF_FLAGS = --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE)
> --prefix=/usr \
> --mandir=/usr/share/man --infodir=/usr/share/info \
> --libdir=/usr/lib --libexecdir=/usr/lib
> --with-elfutils=/root/src/elfutils/elfutils
> 
> Yet, it still tries to find stapio in /usr/local/libexec..

I've never built on debian, but here's some things you might try:
- Do a "make distclean", then reconfigure and build.  This might help if
you configured with the default prefix earlier, then reconfigured, but
some things didn't get rebuilt as they should.
- Remove all systemtap related stuff in /usr/local/bin and the
directories /usr/local/{libexec,share}/systemtap.

-- 
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)


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