Menu

#22 Build problem on Solaris SPARC 2.9

open
nobody
5
2015-02-08
2005-10-31
No

Problem appears to be with configure.in, line 156

ALG=echo -n $opt_include_algos|sed "s/,/ /g"|sed "s/ \n/ /g"

Replace the above line with

ALG=echo $opt_include_algos|sed "s/,/ /g"|sed "s/ \n/ /g"

The reason is that /usr/bin/sed requires a newline, the
old one does work if you use /usr/xpg4/bin/sed (ie,
have /usr/bin/xpg4 in your PATH before /usr/bin)

Additionally, whilst I never discovered why, I had to use

--with-included-algos="threeway cast-128 gost rijndael-
128 safer-sk64 twofish arcfour cast-256 loki97 rijndael-
192 saferplus wake blowfish-compat des rijndael-256
serpent xtea blowfish enigma rc2 safer-sk128 tripledes
cbc cfb ctr ecb ncfb nofb ofb stream"

or no algorithms or modes built in (note, I had to include
the modes as well)

Discussion

  • Lyall Pearce

    Lyall Pearce - 2005-10-31

    Gzipped config.status file

     
  • Nobody/Anonymous

    Logged In: NO

    configure.in should be adjusted thus:

    EXTRA_OBJECTS=""
    ALG=echo $opt_include_algos|sed "s/,/ /g"|sed "s/\n/ /g"
    for i in $ALG
    do \ test -f modules/algorithms/$i.c && EXTRA_OBJECTS="$EXTRA_OBJECTS ../modules/algorithms/$i.lo"
    test -f modules/modes/$i.c && EXTRA_OBJECTS="$EXTRA_OBJECTS ../modules/modes/$i.lo"
    done

    AC_MSG_RESULT($opt_include_algos)

     
  • Nobody/Anonymous

    Logged In: NO

    and this bit was missed from my paste:

    EXTRA_ALGOS="$ALG"

    the quotes are important

     
  • ofsoundmined

    ofsoundmined - 2007-08-16

    Logged In: YES
    user_id=1868084
    Originator: NO

    It took me awhile to track this down since everything compiles fine but with no algorithms. Sure would be nice to make this little edit and repackage the tar.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.