It looks like signtool was not being built by default in NSS 3.1 (it is
now). So I would recommend two things:
1. If you are using NSS 3.1, you should really be using NSS 3.1.1. It
contains an important bugfix. See the NSS main page at
http://www.mozilla.org/projects/security/pki/nss/index.html
for details.
2. Once you have NSS 3.1.1, you will need the latest revision of the
signtool makefile. So you should
cd mozilla/security/nss/cmd/signtool
cvs up -r1.4 Makefile
and then you should be able to build signtool.
adlai b wrote:
> Sorry for the confusion
>
> 1) the mozilla build was failing because of the elftypes.h file -
> that's been fixed and the build
> (gmake -f client.mk build) from the root dir (mozilla) runs without a
> problem
>
> 2) signtool is not built when the above is completed
>
> 3) When i run gmake from
> mozilla/security/nss/cmd/signtool> using the default Makefile the
> following error occurs
>
> Makefile:55: ../../../security/cmd/platlibs.mk: No such file or directory
> gmake: *** No rule to make target ../../../security/cmd/platlibs.mk.
> Stop.
> gmake: *** [../../../security/cmd/platlibs.mk] Error 1
>
>
> Ian McGreer wrote:
>
>>
>> I guess I don't understand the question. Are you attempting to build
>> signtool and experiencing failures, or did signtool not build when
>> you followed the build instructions? If it's the latter, it's
>> possible that signtool is not included in our default build set. In
>> that case, cd into mozilla/security/nss/cmd/signtool and run gmake.
>> If it's the former, let me know what the build failures are.
>>
>> adlai b wrote:
>>
>>> nothing else seems to be going wrong, when I changed
>>> /usr/include/sys/elftypes.h it builds fine, I just find that rather
>>> odd, I was wondering if I'm missing some patches.
>>>
>>> Ian McGreer wrote:
>>>
>>>> adlai b wrote:
>>>>
>>>>> uname - a -> SunOS sunfire 5.6 Generic_105181-19 sun4u sparc
>>>>> SUNW,UltraSPARC-IIi-Engine
>>>>>
>>>>> um - gcc is version 2.7.2.3 (isn't this the version thats
>>>>> recommended? - or perhaps it's not
>>>>> installed correctly?)
>>>>>
>>>>> I already modified elftypes.h to do the typedefs for long long
>>>>> regardless of what is (not) defined
>>>>> -the thing built and certutils seems to work.
>>>>>
>>>>> What i'd really like to do is get a build going for signtool - it
>>>>> does NOT build when i follow the
>>>>> instructions for NSS.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Can you provide more information on what is going wrong?
>>>>
>>>
>>
>