linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Error compiling linphone web on Mac - fatal er


From: Saumil Gandhi
Subject: Re: [Linphone-developers] Error compiling linphone web on Mac - fatal error: 'linphone/linphonecore.h' file not found
Date: Wed, 2 Apr 2014 23:44:53 +0530

Right, so I've gone considerably farther than I usually do in the build. It crashed at the following:

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

=== BUILD NATIVE TARGET bellesip OF PROJECT BELLESIP WITH CONFIGURATION Debug ===
Check** BUILD FAILED **


The following build commands failed:
PhaseScriptExecution "CMake Rules" /Users/Saumil/Documents/Dreamscape/connectgrams/firebreath/firebreath/build/Core/Build-webplugin/bellesip/src/BELLESIP.build/Debug/bellesip.build/Script-DAF92242D99D4375A97F795A.sh
(1 failure)
 dependencies

PhaseScriptExecution "CMake Rules" /Users/Saumil/Documents/Dreamscape/connectgrams/firebreath/firebreath/build/Core/Build-webplugin/bellesip/src/BELLESIP.build/Debug/bellesip.build/Script-DAF92242D99D4375A97F795A.sh
    cd /Users/Saumil/Documents/Dreamscape/connectgrams/firebreath/firebreath/build/Core/Source/EP_bellesip
    /bin/sh -c /Users/Saumil/Documents/Dreamscape/connectgrams/firebreath/firebreath/build/Core/Build-webplugin/bellesip/src/BELLESIP.build/Debug/bellesip.build/Script-DAF92242D99D4375A97F795A.sh
/usr/local/antlr3 -make -Xmultithreaded -fo /Users/Saumil/Documents/Dreamscape/connectgrams/firebreath/firebreath/build/Core/Build-webplugin/bellesip/src/grammars /Users/Saumil/Documents/Dreamscape/connectgrams/firebreath/firebreath/build/Core/Source/EP_bellesip/src/grammars/belle_sdp.g
make[1]: /usr/local/antlr3: Permission denied
make[1]: *** [/Users/Saumil/Documents/Dreamscape/connectgrams/firebreath/firebreath/build/Core/Build-webplugin/bellesip/src/grammars/belle_sdpLexer.c] Error 1


make: *** [/Users/Saumil/Documents/Dreamscape/connectgrams/firebreath/firebreath/build/Core/Stamp/EP_bellesip/Debug/EP_bellesip-build] Error 65


** BUILD FAILED **


The following build commands failed:
PhaseScriptExecution "CMake Rules" build/projects/linphone-web/Core/FireBreath.build/Debug/EP_bellesip.build/Script-E8E810E6D4D043E38E2DDCBB.sh
(1 failure)

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

Seems to be a permissions issue on /usr/local/antlr3. I checked this folder (it's actually a symlink to antlr3), and it has permissions for root user. I tried a sudo xcodebuild, with the same result. Any tips on what is the problem?

Thanks,
Saumil



On Wed, Apr 2, 2014 at 9:08 PM, Ghislain MARY <address@hidden> wrote:
Hi,

Use the following commands:
    cd /Users/Saumil/Documents/Dreamscape/connectgrams/firebreath/firebreath/projects/linphone-web-plugin
    git submodule sync
    git submodule update --recursive --init

And then start again with the prepmac.sh step and then the build.

Cheers,
Ghislain


On 02/04/2014 14:24, Saumil Gandhi wrote:
Hi Ghislain,

I've attached logs for both here.

Thanks,
Saumil




On Wed, Apr 2, 2014 at 3:43 PM, Ghislain MARY <address@hidden> wrote:
Could you provide the output of the prepmac.sh command and of the build process to understand what happens exactly?

Cheers,
Ghislain


On 02/04/2014 11:51, Saumil Gandhi wrote:
Hi Ghislain,

I got the latest source ( like you mentioned, it does not have the submodules directory that the old source did), added it to my firebreath/projects folder (after removing the previous plugin files completely), and tried to build it, but am getting the same error. 

I checked the build/Stage/include/linphone directory and the file is not present here. 

Thanks,
Saumil



On Wed, Apr 2, 2014 at 1:20 PM, Ghislain MARY <address@hidden> wrote:
Hi,

Are you sure your sources are up-to-date? We no longer use the git submodules to build the plugin. The linphonecore.h will be fetched automatically at compile time and will be located in the build/Stage/include/linphone directory.

Cheers,
Ghislain


On 31/03/2014 21:10, Saumil Gandhi wrote:
Hi,

I'm trying to compile on a Mac, and am seeing errors on compilation of authinfoapi.cpp, addressapi.cpp, callapi.cpp, and calllogapi.cpp. For all,  the error is "fatal error: 'linphone/linphonecore.h' file not found".

Copying a sample error output:

======

In file included from /Users/Saumil/Documents/Dreamscape/connectgrams/firebreath/firebreath/projects/linphone-web-plugin/Src/calllogapi.cpp:25:
/Users/Saumil/Documents/Dreamscape/connectgrams/firebreath/firebreath/projects/linphone-web-plugin/Src/calllogapi.h:28:10: fatal error: 'linphone/linphonecore.h' file not found
#include <linphone/linphonecore.h>
         ^
1 error generated.

=======

I checked and the linphonecore.h file is in my submodules/linphone/coreapi folder. What could be causing this? I'm on OSX 10.7.5, and trying to build with xcodebuild -arch i386

Thanks,
Saumil


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


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




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


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




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


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



reply via email to

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