Re: [Ekiga-list] building ekiga-2.0.11 from source



Hi,

Le lundi 18 février 2008 à 15:01 +0100, Matthias Apitz a écrit :
> Hello,
> 
> The normal FreeBSD-6.2R system installs older versions of Ekiga
> and opac; that's why I was thinking to remove all this stuff,
> fetch the actual sources and compile them;

Good idea.

> as stated in the Ekiga's home page I fetched:
> ekiga-2.0.11.tar.gz
> opal-2.2.11.tar.gz
> pwlib-1.10.10.tar.gz
> 
> and followed exactly the documentation about the ./configure
> flags; but:
> 
> guru rebelion:~/Ekiga/pwlib-1.10.10> gmake
> gmake P_SHAREDLIB=1 opt
> gmake[1]: Entering directory `/usr/home/guru/Ekiga/pwlib-1.10.10'
> set -e; gmake -C src/ptlib/unix opt; gmake -C plugins opt;
> gmake[2]: Entering directory `/usr/home/guru/Ekiga/pwlib-1.10.10/src/ptlib/unix'
> g++ -DP_USE_PRAGMA -D_REENTRANT -I/usr/local/include -I/usr/local/include -Wall  -I/home/guru/Ekiga/pwlib-1.10.10/include -Os    -c ../../ptclib/pssl.cxx -o /home/guru/Ekiga/pwlib-1.10.10/lib/obj_FreeBSD_x86_r/pssl.o
> ../../ptclib/pssl.cxx: In constructor `PSSLPrivateKey::PSSLPrivateKey(const BYTE*, PINDEX)':
> ../../ptclib/pssl.cxx:309: error: invalid conversion from `BYTE**' to `const unsigned char**'
> ../../ptclib/pssl.cxx:309: error:   initializing argument 2 of `EVP_PKEY* d2i_AutoPrivateKey(EVP_PKEY**, const unsigned char**, long int)'
> ../../ptclib/pssl.cxx: In constructor `PSSLPrivateKey::PSSLPrivateKey(const PBYTEArray&)':
> ../../ptclib/pssl.cxx:320: error: invalid conversion from `BYTE**' to `const unsigned char**'
> ../../ptclib/pssl.cxx:320: error:   initializing argument 2 of `EVP_PKEY* d2i_AutoPrivateKey(EVP_PKEY**, const unsigned char**, long int)'
> ../../ptclib/pssl.cxx: In constructor `PSSLCertificate::PSSLCertificate(const BYTE*, PINDEX)':
> ../../ptclib/pssl.cxx:492: error: invalid conversion from `unsigned char**' to `const unsigned char**'
> ../../ptclib/pssl.cxx:492: error:   initializing argument 2 of `X509* d2i_X509(X509**, const unsigned char**, long int)'
> ../../ptclib/pssl.cxx: In constructor `PSSLCertificate::PSSLCertificate(const PBYTEArray&)':
> ../../ptclib/pssl.cxx:503: error: invalid conversion from `unsigned char**' to `const unsigned char**'
> ../../ptclib/pssl.cxx:503: error:   initializing argument 2 of `X509* d2i_X509(X509**, const unsigned char**, long int)'
> ../../ptclib/pssl.cxx: In constructor `PSSLCertificate::PSSLCertificate(const PString&)':
> ../../ptclib/pssl.cxx:517: error: invalid conversion from `unsigned char**' to `const unsigned char**'
> ../../ptclib/pssl.cxx:517: error:   initializing argument 2 of `X509* d2i_X509(X509**, const unsigned char**, long int)'
> gmake[2]: *** [/home/guru/Ekiga/pwlib-1.10.10/lib/obj_FreeBSD_x86_r/pssl.o] Error 1
> gmake[2]: Leaving directory `/usr/home/guru/Ekiga/pwlib-1.10.10/src/ptlib/unix'
> gmake[1]: *** [opt] Error 2
> gmake[1]: Leaving directory `/usr/home/guru/Ekiga/pwlib-1.10.10'
> gmake: *** [optshared] Error 2
> 
> this is with g++ :
> 
> guru rebelion:~/Ekiga/pwlib-1.10.10> g++ -v      
> Using built-in specs.
> Configured with: FreeBSD/i386 system compiler
> Thread model: posix
> gcc version 3.4.6 [FreeBSD] 20060305
> 
> Any hints?

I think there is a fix for that in PTLIB SVN TRUNK. However, you will
require OPAL SVN TRUNK and EKIGA SVN TRUNK.

Another option is to backport the fix...
-- 
 _     Damien Sandras
(o-      
//\    Ekiga Softphone : http://www.ekiga.org/
v_/_   NOVACOM         : http://www.novacom.be/
       FOSDEM          : http://www.fosdem.org/
       SIP Phone       : sip:dsandras ekiga net
                       



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]