[arch-general] Error install blink-darcs
Maykel Franco
maykeldebian at gmail.com
Sun Jan 12 09:31:39 EST 2014
2014/1/12 Kacper Żuk <kacper.b.zuk at gmail.com>:
> 2014/1/12 Maykel Franco <maykeldebian at gmail.com>:
>> 2014/1/12 Kacper Żuk <kacper.b.zuk at gmail.com>:
>>> 2014/1/12 Maykel Franco <maykeldebian at gmail.com>:
>>>> 2014/1/12 Kacper Żuk <kacper.b.zuk at gmail.com>:
>>>>> 2014/1/12 Maykel Franco <maykeldebian at gmail.com>:
>>>>>> 2014/1/11 BlissSam <m13253 at hotmail.com>:>
>>>>>> Thanks for your responsed. I try install blink with python 2:
>>>>>>
>>>>>> [root at arch-maykel blink-0.6.0]# python2 setup.py install
>>>>>> running install
>>>>>> running build
>>>>>> running build_py
>>>>>> running build_scripts
>>>>>> running install_lib
>>>>>> running install_scripts
>>>>>> changing mode of /usr/bin/blink to 755
>>>>>> running install_data
>>>>>> running install_egg_info
>>>>>> Removing /usr/lib/python2.7/site-packages/blink-0.6.0-py2.7.egg-info
>>>>>> Writing /usr/lib/python2.7/site-packages/blink-0.6.0-py2.7.egg-info
>>>>>>
>>>>>> And launch with python2:
>>>>>>
>>>>>> [root at arch-maykel blink-0.6.0]# python2 blink
>>>>>> /usr/bin/python2: can't find '__main__' module in 'blink'
>>>>>>
>>>>>> Am I doing something wrong?
>>>>>
>>>>> Try python2 /usr/bin/blink instead of python2 blink.
>>>>
>>>>
>>>> I try:
>>>>
>>>> [maykel at arch-maykel ~]$ python2 /usr/bin/blink
>>>> Traceback (most recent call last):
>>>> File "/usr/bin/blink", line 24, in <module>
>>>> from blink import Blink
>>>> File "/usr/lib/python2.7/site-packages/blink/__init__.py", line 27,
>>>> in <module>
>>>> from eventlib import api
>>>> ImportError: No module named eventlib
>>>
>>> You have to install eventlib: https://pypi.python.org/pypi/eventlib
>>> (remember to use python2 and not python).
>>
>>
>> [root at arch-maykel maykel]# LC_ALL=C yaourt -S python2-eventlib --noconfirm
>>
>> ==> Downloading python2-eventlib PKGBUILD from AUR...
>> x PKGBUILD
>> python2-eventlib 0.1.1-1 (Mon Dec 3 02:59:29 CET 2012)
>> ( Unsupported package: Potentially dangerous ! )
>> ==> python2-eventlib dependencies:
>> - python2-greenlet (already installed)
>> - python2-pyopenssl (already installed)
>>
>>
>> ==> Continue building python2-eventlib ? [Y/n]
>> ==> ------------------------------------------
>> ==>
>> ==> Building and installing package
>> ==> WARNING: Building package as root is dangerous.
>> Please run yaourt as a non-privileged user.
>> ==> Making package: python2-eventlib 0.1.1-1 (Sun Jan 12 15:08:51 CET 2014)
>> ==> Checking runtime dependencies...
>> ==> Checking buildtime dependencies...
>> ==> Retrieving sources...
>> -> Downloading python-eventlib-0.1.1.tar.gz...
>> % Total % Received % Xferd Average Speed Time Time Time Current
>> Dload Upload Total Spent Left Speed
>> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
>> curl: (22) The requested URL returned error: 404 Not Found
>> ==> ERROR: Failure while downloading python-eventlib-0.1.1.tar.gz
>> Aborting...
>> ==> ERROR: Makepkg was unable to build python2-eventlib.
>> ==> Restart building python2-eventlib ? [y/N]
>> ==> -----------------------------------------
>> ==>
>
> This PKGBUILD is very old, install eventlib the same way you've installed blink.
Downloaded eventlib from : https://pypi.python.org/pypi/eventlib
And install python2 setup.py install OK.
I try launch blink:
[root at arch-maykel eventlib-0.1.5]# python2 /usr/bin/blink
Traceback (most recent call last):
File "/usr/bin/blink", line 24, in <module>
from blink import Blink
File "/usr/lib/python2.7/site-packages/blink/__init__.py", line 32,
in <module>
from sipsimple.account import Account, AccountManager, BonjourAccount
ImportError: No module named sipsimple.account
Now, I downloaded python-sipsimple from github:
https://github.com/grengojbo/python-sipsimple
And I when install:
[root at arch-maykel python-sipsimple-master]# LC_ALL=C python2 setup.py install
running install
running build
running build_py
running build_ext
PJSIP SVN tree found, checking SVN repository for updates
No updates in PJSIP SVN
Using SVN revision 2830
Compiling PJSIP
error: Got return value 2 while executing "make", stderr output was:
ar: creating ../lib/libpj-x86_64-unknown-linux-gnu.a
ar: creating ../lib/libpjlib-util-x86_64-unknown-linux-gnu.a
ar: creating ../lib/libpjnath-x86_64-unknown-linux-gnu.a
ar: creating ../../lib/libresample-x86_64-unknown-linux-gnu.a
ar: creating ../../lib/libmilenage-x86_64-unknown-linux-gnu.a
ar: creating ../../lib/libsrtp-x86_64-unknown-linux-gnu.a
ar: creating ../../lib/libgsmcodec-x86_64-unknown-linux-gnu.a
ar: creating ../../lib/libilbccodec-x86_64-unknown-linux-gnu.a
ar: creating ../../lib/libspeex-x86_64-unknown-linux-gnu.a
src/pa_unix_hostapis.c:1:61: fatal error:
../../../portaudio/src/os/unix/pa_unix_hostapis.c: No such file or
directory
#include "../../../portaudio/src/os/unix/pa_unix_hostapis.c"
^
compilation terminated.
make[3]: *** [output/libportaudio-x86_64-unknown-linux-gnu/pa_unix_hostapis.o]
Error 1
make[2]: *** [libportaudio] Error 2
make[1]: *** [all] Error 1
make: *** [all] Error 1
Thanks for your help.
More information about the arch-general
mailing list