This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: problem during "make install" at Ubuntu64.
On Fri, 2011-09-09 at 10:40 +0900, ììíB wrote:
> make[2]: Entering directory `/data/stapbuild/runtime/staprun'
> CC staprun-staprun.o
> CC staprun-staprun_funcs.o
> CC staprun-ctl.o
> CC staprun-common.o
> CC staprun-modverify.o
> modverify.c:26:18: fatal error: nspr.h: no such file or directory
> compilation terminated.
> make[2]: *** [staprun-modverify.o] error 1
> make[2]: Leaving directory `/data/stapbuild/runtime/staprun'
> make[1]: *** [install-recursive] error 1
> make[1]: Leaving directory `/data/stapbuild'
> make: *** [install] error 2
There must be a bug in our config setup.
I see you don't have nspr installed in your config.log:
> configure:9481: WARNING: will not build systemtap compile server, cannot find nss/nspr headers
> configure:9499: WARNING: some compile server client functionality will be restricted, cannot find nss/nspr headers
So I would assume that modverify.c wouldn't even be build because we
have the following in runtime/staprun/Makefile.am:
if HAVE_NSS
staprun_SOURCES += modverify.c ../../nsscommon.cxx ../../util.cxx
staprun_CFLAGS += $(nss_CFLAGS)
staprun_CXXFLAGS += $(nss_CFLAGS)
staprun_LDADD += $(nss_LIBS)
endif
O..., I see we have two NSS checks, one in the top-level configure.ac
and one in the runtime/staprun/configure.ac, and they are slightly
different. hmmmm.
Could you also send your runtime/staprun/config.log file?
Thanks,
Mark