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: Building error for latest stap tree


Dave Brolley wrote:
Wenji Huang wrote:
Hi,

I got building error for latest stap tree(commit 46a8c85fde5ba9bcf4fa55e8f435959af4d32fea).

[wjhuang@EL5U2-64bits ~]$ cat /tmp/error
certutil: self-signing a cert request is not supported.
certutil: unable to open "ssl/server/stap-server.cert" for reading (-5950, 2).
Cannot find certificate file ssl/server/stap-server.cert
This is disturbing. We need to be able to sign our own certificates for this purpose, otherwise we're going to need to find or set up a certificate authority chain for our certificates. Can you provide more info about your system and which version of nss-tools is on it. Also the version of certutil and signtool?
[wjhuang@EL5U2-64bits systemtap]$ uname -i
x86_64
[wjhuang@EL5U2-64bits systemtap]$ uname -r
2.6.28
[wjhuang@EL5U2-64bits systemtap]$ git-log|head -n 5
commit 46a8c85fde5ba9bcf4fa55e8f435959af4d32fea
Author: Dave Brolley <brolley@redhat.com>
Date:   Wed Dec 24 14:20:41 2008 -0500

Complete previous commit.
[wjhuang@EL5U2-64bits systemtap]$ rpm -qa|grep nss-
nss-devel-3.11.99.5-2.el5
nss-3.11.99.5-2.el5
nss-tools-3.11.99.5-2.el5
nss-3.11.99.5-2.el5
pkinit-nss-0.7.3-1.el5
[wjhuang@EL5U2-64bits systemtap]$ make
Makefile:1581: warning: overriding commands for target `check'
Makefile:1321: warning: ignoring old commands for target `check'
/bin/sh ./git_version.sh -k -s . -o git_version.h
git_version.sh: Output is unchanged, keeping git_version.h
./stap-gen-server-cert ssl
certutil: self-signing a cert request is not supported.
certutil: unable to open "ssl/server/stap-server.cert" for reading (-5950, 2).
Cannot find certificate file ssl/server/stap-server.cert
make: *** [stamp-ssl] Error 1


And for EL4,
    certutil: command not found.
Seems no nss-tools rpm available. I tried yum or up2date, but
couldn't find nss-tools or certuils.
Also disturbing. I had been led to believe that nss and nss-tools were ubiquitous.
I checked the EL4 distribution. No related nss rpms are available. Of
course, we can have it through downloading-making-installing cycle. But
it is not very convenient for users. The option makes the thing better.


Can we have option to enable/disable it, like ./configure --disable-stap-sever
I'll disable to the automatic building of stamp-ssl for now.
It works. thanks! Only one nit is disturbing.
In default installation,
[wjhuang@EL4U6-32bits systemtap]$ sudo make install
...
...
...
(cd ./ssl/server; for f in pw; \
do /usr/bin/install -c -m 600 -D $f /etc/systemtap/ssl/server/$f; done)
(cd ./ssl/server; for f in *.db; \
do /usr/bin/install -c -m 664 -D $f /etc/systemtap/ssl/server/$f; done)
/usr/bin/install: cannot stat `*.db': No such file or directory
make[3]: *** [install-data-local] Error 1
make[3]: Leaving directory `/home/wjhuang/systemtap'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/wjhuang/systemtap'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/wjhuang/systemtap'
make: *** [install] Error 2


Seems Makefile needs a little cleanup.

Regards,
Wenji


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