Building 3.3.2?

View: New views
7 Messages — Rating Filter:   Alert me  

Building 3.3.2?

by Scott Neugroschl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm trying to build Cryptlib 3.3.2 on a SuSE box (SLES 10.3).

I downloaded the sources, unzipped with -a, and ran "make shared".  Then,
when I run "make stestlib", nothing gets built.

Any suggestions?

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2008.09.22 15:18:27
=~=~=~=~=~=~=~=~=~=~=~=

~/cl332> unzip -qqa ../cl332.zip
~/cl332> make shared
make[1]: Entering directory `/home/scottn/cl332'
make[1]: Leaving directory `/home/scottn/cl332'
make[1]: Entering directory `/home/scottn/cl332'
make[1]: Leaving directory `/home/scottn/cl332'
LDAP interface detected, enabling LDAP support
make[1]: Entering directory `/home/scottn/cl332'
make[2]: Entering directory `/home/scottn/cl332'
cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DUSE_LDAP -fPIC
-DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -march=pentiumpro -O2
-Wno-pointer-sign -Wno-strict-aliasing -std=gnu99 -DOSVERSION=2 -DUSE_ASM
-fomit-frame-pointer -D_REENTRANT bn/bn_add.c -o ./shared-obj/bn_add.o
[276 lines redacted]
cc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DUSE_LDAP -fPIC
-DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -march=pentiumpro -O2
-Wno-pointer-sign -Wno-strict-aliasing -std=gnu99 -DOSVERSION=2 -DUSE_ASM
-fomit-frame-pointer -D_REENTRANT test/utils.c
Warning: Shared library still contains TEXTREL records.
make[2]: Leaving directory `/home/scottn/cl332'
make[1]: Leaving directory `/home/scottn/cl332'
~/cl332> make stestlib
~/cl332>



_______________________________________________
Cryptlib mailing list
Cryptlib@... via Mail: cryptlib-request@...
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.

Re: Building 3.3.2?

by Peter Gutmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"Scott Neugroschl" <redfloyd@...> writes:

>I'm trying to build Cryptlib 3.3.2 on a SuSE box (SLES 10.3).
>
>I downloaded the sources, unzipped with -a, and ran "make shared".  Then,
>when I run "make stestlib", nothing gets built.
>
>Any suggestions?

The log you've posted indicates that everything is being built successfully,
since there are no error messages.  What's the problem?

Peter.


_______________________________________________
Cryptlib mailing list
Cryptlib@... via Mail: cryptlib-request@...
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.

Re: Building 3.3.2?

by Scott Neugroschl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Peter Gutmann wrote:

> "Scott Neugroschl" <redfloyd@...> writes:
>
>  
>> I'm trying to build Cryptlib 3.3.2 on a SuSE box (SLES 10.3).
>>
>> I downloaded the sources, unzipped with -a, and ran "make shared".  Then,
>> when I run "make stestlib", nothing gets built.
>>
>> Any suggestions?
>>    
>
> The log you've posted indicates that everything is being built successfully,
> since there are no error messages.  What's the problem?
>
> Peter.
>
>  
There's no "testlib" or "stestlib".

_______________________________________________
Cryptlib mailing list
Cryptlib@... via Mail: cryptlib-request@...
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.

Re: Building 3.3.2?

by Peter Gutmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"Scott Neugroschl" <redfloyd@...> writes:

>There's no "testlib" or "stestlib".

Well if it completed without error that would imply a problem with the tools,
if they claim things completed successfully but there was no output produced
then it would seem to be a compiler/linker issue.

Peter.

_______________________________________________
Cryptlib mailing list
Cryptlib@... via Mail: cryptlib-request@...
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.

Re: Building 3.3.2?

by Scott Neugroschl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



> -----Original Message-----
> From: cryptlib-bounces@... [mailto:cryptlib-
> bounces@...] On Behalf Of Peter Gutmann
> Sent: Monday, September 22, 2008 9:46 PM
> To: cryptlib@...; redfloyd@...
> Subject: Re: [Cryptlib] Building 3.3.2?
>
> "Scott Neugroschl" <redfloyd@...> writes:
>
> >I'm trying to build Cryptlib 3.3.2 on a SuSE box (SLES 10.3).
> >
> >I downloaded the sources, unzipped with -a, and ran "make shared".
> Then,
> >when I run "make stestlib", nothing gets built.
> >
> >Any suggestions?
>
> The log you've posted indicates that everything is being built
> successfully,
> since there are no error messages.  What's the problem?
>
> Peter.
>

Absolutely nothing.  I was looking for a "stestlib" executable, not a
"testlib" executable.
I'm an idiot sometimes.




_______________________________________________
Cryptlib mailing list
Cryptlib@... via Mail: cryptlib-request@...
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.

Re: Building 3.3.2?

by Scott Neugroschl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>
> Absolutely nothing.  I was looking for a "stestlib" executable, not a
> "testlib" executable.
> I'm an idiot sometimes.
>

Which leads me to an error in the 3.3.2 manual.pdf file.  From page
20, Unix Installation:

"To build the shared library, use make
shared. Once cryptlib has been built, use make testlib to build the cryptlib
self-test program testlib, or make stestlib to build the
shared-library self-test
program *stestlib*"   [emphasis is mine]

Note that "make stestlib" builds "testlib", not "stestlib".

Scott

_______________________________________________
Cryptlib mailing list
Cryptlib@... via Mail: cryptlib-request@...
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.

Re: Building 3.3.2?

by Peter Gutmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"Scott Neugroschl" <redfloyd@...> writes:

>Note that "make stestlib" builds "testlib", not "stestlib".

Oops, sorry, during a reorg of the makefile several versions ago the two got
merged into one, and because I do a 'make clean' between building the static
and shared versions I didn't notice the conflict.  I've fixed the makefile for
the next release to build stestlib again.

Peter.


_______________________________________________
Cryptlib mailing list
Cryptlib@... via Mail: cryptlib-request@...
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.