[csw-maintainers] Problems building Botan (from #opencsw)

Dagobert Michelsen dam at opencsw.org
Tue Apr 16 19:44:20 CEST 2013


Hi Peter,

(adding maintaienrs@ just in case there are C++ madmen around)

Am 16.04.2013 um 17:35 schrieb Peter Bonivart <bonivart at opencsw.org>:
> I'm trying to build Botan, a crypto library similar to OpenSSL, which
> is needed for BIND 10.

Wow! "The core of botan is written in C++11"

No support of C++11 in SolarisStudio 12.3:
https://forums.oracle.com/forums/thread.jspa?messageID=10730210:
  "Studio 12.3 (C++ 5.12), currently in beta test, has no support for C++11.
   We will provide full support for C++11 in a future release."

And only experimental support in gcc 4.8:
  http://gcc.gnu.org/gcc-4.8/cxx0x_status.html

I guess this is going to be a bumpy ride :-D


Best regards

  -- Dago

> However, I get different errors on i386 and
> sparc.
> 
> The "mgar build" on i386 ends with lots of lines with this g++ error:
> 
> g++: error: language chip=pentium_pro not recognized
> gmake: *** [libbotan-1.10.so.0.5] Error 1
> gmake: Leaving directory
> `/home/bonivart/opencsw/Botan/trunk/work/solaris10-i386/build-isa-pentium_pro/Botan-1.10.5'
> gmake[1]: *** [build-work/solaris10-i386/build-isa-pentium_pro/Botan-1.10.5/Makefile]
> Error 2
> gmake[1]: Leaving directory `/home/bonivart/opencsw/Botan/trunk'
> gmake: *** [build-isa-pentium_pro] Error 2
> bonivart at unstable10x[trunk]$
> 
> On sparc I get this when configure runs:
> 
> (cd work/solaris10-sparc/build-isa-sparcv8plus/Botan-1.10.5; \
> ./configure.py)
>   INFO: Guessing to use compiler gcc (use --cc to set)
>   INFO: Guessing target OS is sunos (use --os to set)
>  ERROR: Unknown or unidentifiable processor "sun4v"
> gmake[1]: *** [configure-custom] Error 1
> gmake[1]: Leaving directory `/home/bonivart/opencsw/Botan/trunk'
> gmake: *** [build-isa-sparcv8plus] Error 2
> bonivart at unstable10s[trunk]$
> 
> It's committed as Botan (capital B).

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896



More information about the maintainers mailing list