linphone-developers
[Top][All Lists]
Advanced

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

[Linphone-developers] compilation of linphone python for Raspberry pi


From: Joao Hespanha
Subject: [Linphone-developers] compilation of linphone python for Raspberry pi
Date: Tue, 15 Sep 2015 23:28:56 -0700

I followed the instructions at 
        https://wiki.linphone.org/wiki/index.php/Raspberrypi:start
all goes well until the build of api.xml, when I get the error message included 
below.

As far as I can tell the problem is that the python script
        WORK/python-raspberry/Source/EP_linphone/tools/genapixml.py
expects an argument with the XML directory generated by doxygen, which 
according to 
        WORK/python-raspberry/Source/TARGET_pylinphone/CMakeLists.txt
should be produced by
        file(GLOB XML_DIR "${CMAKE_INSTALL_PREFIX}/share/doc/linphone-*/xml”)
but there is no such path.

I’ve tried to set XML_DIR to WORK/python-raspberry/Source/EP_linphone/share/xml
(which actually does not contain any .xml files) and the make appears to 
succeed, but when I install it in the raspberry pi and do ‘import linphone’ I 
get the error
        ImportError: dynamic module does not define init function (initlinphone)
and the linphone.so file is only 5.4K 

Any advice?

Joao


-- Build files have been written to: 
/home/hespanha/Server/telepresence/linphone/source/linphone-cmake-builder/WORK/python-raspberry/Build/pylinphone
make[4]: Entering directory 
'/home/hespanha/Server/telepresence/linphone/source/linphone-cmake-builder/WORK/python-raspberry/Build/pylinphone'
make[5]: Entering directory 
'/home/hespanha/Server/telepresence/linphone/source/linphone-cmake-builder/WORK/python-raspberry/Build/pylinphone'
make[5]: Leaving directory 
'/home/hespanha/Server/telepresence/linphone/source/linphone-cmake-builder/WORK/python-raspberry/Build/pylinphone'
make[5]: Entering directory 
'/home/hespanha/Server/telepresence/linphone/source/linphone-cmake-builder/WORK/python-raspberry/Build/pylinphone'
[ 20%] Generating api.xml
usage: genapixml.py [-h] [-o outputfile] [--verbose] [--pretty] xmldir
genapixml.py: error: too few arguments
CMakeFiles/api_xml.dir/build.make:51: recipe for target 'api.xml' failed
make[5]: *** [api.xml] Error 2
make[5]: Leaving directory 
'/home/hespanha/Server/telepresence/linphone/source/linphone-cmake-builder/WORK/python-raspberry/Build/pylinphone'
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/api_xml.dir/all' failed
make[4]: *** [CMakeFiles/api_xml.dir/all] Error 2
make[4]: Leaving directory 
'/home/hespanha/Server/telepresence/linphone/source/linphone-cmake-builder/WORK/python-raspberry/Build/pylinphone'
Makefile:117: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory 
'/home/hespanha/Server/telepresence/linphone/source/linphone-cmake-builder/WORK/python-raspberry/Build/pylinphone'
CMakeFiles/TARGET_pylinphone.dir/build.make:107: recipe for target 
'../Stamp/TARGET_pylinphone/TARGET_pylinphone-build' failed
make[2]: *** [../Stamp/TARGET_pylinphone/TARGET_pylinphone-build] Error 2
make[2]: Leaving directory 
'/home/hespanha/Server/telepresence/linphone/source/linphone-cmake-builder/WORK/python-raspberry/cmake'
CMakeFiles/Makefile2:941: recipe for target 
'CMakeFiles/TARGET_pylinphone.dir/all' failed
make[1]: *** [CMakeFiles/TARGET_pylinphone.dir/all] Error 2
make[1]: Leaving directory 
'/home/hespanha/Server/telepresence/linphone/source/linphone-cmake-builder/WORK/python-raspberry/cmake'
Makefile:76: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory 
'/home/hespanha/Server/telepresence/linphone/source/linphone-cmake-builder/WORK/python-raspberry/cmake'


reply via email to

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