linphone-users
[Top][All Lists]
Advanced

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

[Linphone-users] Linphone 3.6.1 for Ubuntu (attempted compilation)


From: Elizabeth W.
Subject: [Linphone-users] Linphone 3.6.1 for Ubuntu (attempted compilation)
Date: Tue, 16 Jul 2013 16:07:43 -0600

Two broken VMs later, I have libncurses5-dev and and the zrtp library from the PPA installed. My error is still the same as below, I haven't found a cause yet.
- Elizabeth

On Tue, Jul 16, 2013 at 3:06 PM, Elizabeth W. <address@hidden> wrote:
Felix, here's the full ouput:
address@hidden:/home/ubuntu/linphone/debian# debuild -b -uc

 dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro
dpkg-buildpackage: source package linphone
dpkg-buildpackage: source version 3.6.1-1~raring~ppa4
dpkg-buildpackage: source changed by Felix Lechner <address@hidden>
 dpkg-source --before-build linphone
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean --parallel
   dh_testdir -O--parallel
   dh_auto_clean -O--parallel
   dh_clean -O--parallel
 debian/rules build
dh build --parallel
   dh_testdir -O--parallel
   debian/rules override_dh_auto_configure
make[1]: Entering directory `/home/ubuntu/linphone'
dh_auto_configure -- --enable-ipv6 --enable-zrtp

make[1]: Leaving directory `/home/ubuntu/linphone'
   dh_auto_build -O--parallel
   dh_auto_test -O--parallel
 fakeroot debian/rules binary
dh binary --parallel
   dh_testroot -O--parallel
   dh_prep -O--parallel
   dh_installdirs -O--parallel
   debian/rules override_dh_auto_install
make[1]: Entering directory `/home/ubuntu/linphone'

dh_auto_install --destdir=debian/tmp
sed -i "/dependency_libs/ s/'.*'/''/" "/home/ubuntu/linphone"/debian/tmp/usr/lib/libortp.la
sed: can't read /home/ubuntu/linphone/debian/tmp/usr/lib/libortp.la: No such file or directory
make[1]: *** [override_dh_auto_install] Error 2
make[1]: Leaving directory `/home/ubuntu/linphone'
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1350:
dpkg-buildpackage -rfakeroot -D -us -uc -b failed


Is there any way I can compile it without libzrtpcpp? I thought that was one of the features that wasn't going to work.

I removed libncurses5-dev because it will not install on our system (aptitude says it will break libgcc and ncurses). It's possible that this is because I have to work off a local repository that is not 100% up to date. I will try reinstalling all of its dependencies, but I don't know if that will work.

One other question I had was why I needed to change the Ubuntu dist version in the changelog - it's just a changelog, it's not compiled or anything (I assume)


On Tue, Jul 16, 2013 at 1:54 PM, <address@hidden> wrote:
Send Linphone-users mailing list submissions to
        address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.nongnu.org/mailman/listinfo/linphone-users
or, via email, send a message with subject or body 'help' to
        address@hidden

You can reach the person managing the list at
        address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linphone-users digest..."


Today's Topics:

   1.  Linphone 3.6.1 for Ubuntu (attempted compilation) (Elizabeth W.)
   2.  Echo on Motorola Droid Razr (William Myers)
   3. Re:  Linphone 3.6.1 for Ubuntu (attempted compilation)
      (Felix Lechner)


Message: 3
Date: Tue, 16 Jul 2013 12:53:53 -0700
From: Felix Lechner <address@hidden>
To: linphone-users <address@hidden>
Subject: Re: [Linphone-users] Linphone 3.6.1 for Ubuntu (attempted
        compilation)
Message-ID:
        <address@hidden>
Content-Type: text/plain; charset="utf-8"

Elizabeth,

Please post the full log. 'libortp' was not built.

'libncurses5-dev' is available in 'precise'. Why did you remove it?

Lowering the version of 'libzrtpcpp-dev' that much won't work. Please
install 2.1.2 from our PPA or build our 2.3.2 package for 'precise'.

Felix


On Tue, Jul 16, 2013 at 12:20 PM, Elizabeth W. <address@hidden> wrote:

> Felix,
> I've tried compiling from the linphone_3.6.1-1~raring~ppa4.
> debian.tar.gz as you suggested. I was unable to get all the dependencies,
> so I did a mix of both 1 and 2 in your list. I've run into an error
> (imagine that) when running "debuild -b -uc":
>
> dh_auto_install --destdir=debian/tmp
> sed -i "/dependency_libs/ s/'.*'/''/"
> "/home/ubuntu/linphone"/debian/tmp/usr/lib/libortp.la
> sed: can't read /home/ubuntu/linphone/debian/tmp/usr/lib/libortp.la: No
> such file or directory
> make[1]: *** [override_dh_auto_install] Error 2
> make[1]: Leaving directory `/home/ubuntu/linphone'
> make: *** [binary] Error 2
> dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
> status 2
> debuild: fatal error at line 1350:
> dpkg-buildpackage -rfakeroot -D -us -uc -b failed
>
> For the dependencies, what I changed in debian/control was:
>   libzrtpcpp-dev (>= 2.1.2) to libzrtpcpp-dev (>= 1.4.6)
>    libglew-dev (>= 1.5) to libglew1.6-dev (>= 1.5)
>   mesa-common-dev (>= 8.0.5) to mesa-common-dev (>= 8.0.4)
>   removed libncurses5-dev
>   removed libopus-dev
>
> Any idea how to get around this? Or am I compiling it wrong? The libortp8
> and libortp-dev libraries are installed (version 3.5.2-10)
> - Elizabeth
>
>
> On Fri, Jul 12, 2013 at 1:59 PM, <address@hidden>wrote:
>
>> Send Linphone-users mailing list submissions to
>>         address@hidden
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>         https://lists.nongnu.org/mailman/listinfo/linphone-users
>> or, via email, send a message with subject or body 'help' to
>>         address@hidden
>>
>> You can reach the person managing the list at
>>         address@hidden
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Linphone-users digest..."
>>
>>
>> Today's Topics:
>>
>>    1. Re:  Linphone 3.6.1 for Ubuntu (Felix Lechner)
>>    2. Re:  Linphone 3.6.1 for Ubuntu -- multiple compilation
>>       warning/error bugs and deprecated functions (J G Miller)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Fri, 12 Jul 2013 12:44:50 -0700
>> From: Felix Lechner <address@hidden>
>> To: linphone-users <address@hidden>
>> Subject: Re: [Linphone-users] Linphone 3.6.1 for Ubuntu
>> Message-ID:
>>         <CAFHYt562abuLRpyiUj+v1niZXi5aFKLaJ=O72CG2pyJ78=
>> address@hidden>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Elizabeth,
>>
>> You should not need any flags. Just get my source package from the PPA
>> (it's actually two files, 'linphone_3.6.1.orig.tar.gz' and
>> 'linphone_3.6.1-1~raring~ppa4.debian.tar.gz').
>>
>> Change the release in 'debian/changelog' to 'precise' and type 'debuild -b
>> -uc'.
>>
>> You will either (1) have to install additional packages or (2) modify the
>> packaging files ('debian/control'). Then try building again.
>>
>> Please type 'debuild clean' *before* making changes to the packaging in
>> choice (2).
>>
>> Felix
>>
>>
>> On Fri, Jul 12, 2013 at 8:40 AM, Elizabeth W. <address@hidden>
>> wrote:
>>
>> > Felix,
>> > That was actually what I tried to do originally before asking the
>> mailing
>> > list about Ubuntu packages for 3.6.
>> > Maybe someone on here can help me: the build would fail because it would
>> > require the srtp library (it would fail at build with something like
>> > "missing packages: srtp") regardless of what flags I tried for configure
>> > and build. I even managed to install a version of srtp, but it still
>> > continued to fail with the same error. I can go back and recreate the
>> exact
>> > error message if someone thinks they might know what's going on.
>> >
>> > (I was mostly interested in using linphone for its daemon (linphonecsh),
>> > which I was trying to use for automatic call simulation. While it would
>> be
>> > nice to have encryption, it's not 100% necessary. The 3.5 daemon version
>> > was unstable (it crashed/hung a lot), so if I can't get 3.6 I'm probably
>> > just going to try something else)
>> >
>> > On Thu, Jul 11, 2013 at 6:17 PM, <address@hidden
>> >wrote:
>> >
>> >>
>> >> Message: 3
>> >> Date: Thu, 11 Jul 2013 17:17:04 -0700
>> >> From: Felix Lechner <address@hidden>
>> >> To: linphone-users <address@hidden>
>> >> Subject: Re: [Linphone-users] Linphone 3.6.1 for Ubuntu (Felix
>> >>         Lechner)
>> >> Message-ID:
>> >>         <
>> >> address@hidden>
>> >> Content-Type: text/plain; charset="utf-8"
>> >>
>> >> Elizabeth,
>> >>
>> >> The unmet dependencies are the problem. You have to find packages for
>> such
>> >> dependencies. Frequently those packages have dependencies of their own
>> >> that
>> >> are not available for your release.
>> >>
>> >> In rare cases, a newer library can even break packages you have already
>> >> installed. As an example, that can mean you get to pick between
>> installing
>> >> the new Linphone or the version of KDE that comes with your release.
>> >>
>> >> There is a half-way solution: You can build my source package without
>> >> several of the dependencies, such as opus, srtp or zrtpcpp.
>> Unfortunately
>> >> then you may miss out on some new features that were your reason for
>> >> upgrading in the first place.
>> >>
>> >> I would be happy to upload any working LTS packages into our PPA. If
>> you
>> >> plan to contribute regularly you could also join our team.
>> >>
>> >> Felix
>> >>
>> >>
>>
>>
>> End of Linphone-users Digest, Vol 128, Issue 21
>> ***********************************************
>>
>
>
> _______________________________________________
> Linphone-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/linphone-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nongnu.org/archive/html/linphone-users/attachments/20130716/e60c2b4f/attachment.html>

------------------------------

_______________________________________________
Linphone-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-users


End of Linphone-users Digest, Vol 128, Issue 24
***********************************************



reply via email to

[Prev in Thread] Current Thread [Next in Thread]