Linphone won't compile. Mediastreamer2.
First off I am using slackware-current 64/multilib with ktown5 which is a fresh install with the newest libraries. I am trying to get linphone working.
I made an attempt at compiling linphone from git v4.x. I keep getting failures at mediastreamer2, first failure was because they were searching /usr/lib instead of /usr/lib64 despite the entire rest of the project using /lib64 dont know why mediastreamer has a different config was getting libXext.so wrong format. So i manually navigated to the media streamer source directory within linphones git clone and did the following to force it to use /usr/lib64 as how it should be with a 64 bit system: Code:
cd /usr/src/linphone-desktop/submodules/mediastreamer2/ Code:
make[3]: Entering directory '/usr/src/linphone-desktop/submodules/mediastreamer2/src' Is anyone able to help me get linphone compiled is there any patches or version regressions I could use that this does not happen on. |
Quote:
BTW :D how big a computer do you have? -j8? I do good if I can use -j2 on my pc's ;) |
I'm no expert but 2 things jump out at me:
> -Werror=format-truncation= > cc1: all warnings being treated as errors Maybe try setting up the build to not fail on warnings or disable that particular warning? |
I tried a few different things and managed to compile it using a slackbuild but with modifications, apparently slackbuilds.org has a patch built in to fix that mediastreamer compile issue. I added --disable-video and --disable-upnp. Managed to build a older version of linphone 3.12.0. I don't care about the v4l crap.
But linphones build scripts are very broken on a few things. v4l utils tries loading a few files out of /usr/lib which breaks that part of the build and despite searching makefiles trying to find stuff to change to /usr/lib64 I was unable to succeed I was at this all afternoon. Mediastreamer has alot of errors. Setting compiler errors as warnings to disabled only showed me a slew of further errors. I will just consider this solved for the time being and use a older version. I will post here if I figure out getting 4.x built ever. And perhaps post a slackware .tgz package file. |
All times are GMT -5. The time now is 05:31 AM. |