Quoting peter green (2013-08-18 01:32:05) > >Recent libucommon fails to build with libgnutls. > When I tried it I got a failure on a conversion from an integer to an > enum, C allows this while C++ does not according to the standard. > However there is a command line option -fpermissive which makes g++ > allow this. Putting -fpermissive in CXXFLAGS allowed me to build the > package with gnutls 26. Debiff attached.
Ah. Thanks - both for the patch and the explanation! > >And I believe that means you either need to figure out how to get > >ucommon to build with gnutls26 either by patching it or reverting > >back to a version that does build with gnutls26. > Another possibility is to ask why libucommon-dev needs a dependency on > libgnutls*-dev in the first place. In particular is it actually needed > for the shared library or only for the static library. > > If it is only needed for the static library a possible soloution is to > split libucommon-dev into two packages, libucommon-dev and > libucommon-dynamic-dev. > > Libucommon-dev would contain the static libraries while > libucommon-dynamic-dev would contain the headers and the shared > library symlink, the former would depend on the latter. > > Sflphone and any other reverse dependencies in the same situation > could then be modified to use libucommon-dynamic-dev. Thanks for the suggestion. I'll go for the simpler first approach this time around, but have this other one in mind for eventual future similar problems. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: signature