lijinglue / libqq-pidgin

Automatically exported from code.google.com/p/libqq-pidgin
0 stars 0 forks source link

Install issue #230

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
./install.sh

What is the expected output? What do you see instead?
我已经安装了libpurple,但是libqq安装脚本仍然提示需要libpurple
:
mxm@mint-home ~/下载/libqq-pidgin.0.71_x64 $ aptitude search libpurple
i   bitlbee-libpurple                                  - An IRC to other chat 
networks gateway (using libpurple)      
i   libpurple-bin                                      - multi-protocol instant 
messaging library - extra utilities   
i   libpurple-dev                                      - multi-protocol instant 
messaging library - development files 
i   libpurple0                                         - multi-protocol instant 
messaging library  

mxm@mint-home ~/下载/libqq-pidgin.0.71_x64 $ ./install.sh
Error Code 1.
You should install libpurple properly before install libqq.
Unkown Error.
Install failed.

What version of the product are you using? On what operating system?
系统是Mint LMDE

Please provide any additional information below.
我看了下安装libpurple后的/usr/lib64/purple-2/路径,里面没有libqq.
so,所以导致test -e失败。最后手动考了libqq.so过去。
是不是可以把安装脚本的判断部分改成:
if (test -e /usr/lib64/purple-2/libqq.so)
then
    echo "This script will require superuser permission."
    sudo rm -f /usr/lib64/purple-2/libqq.so
    sudo cp -f ./libqq.so /usr/lib64/purple-2/
    sudo chmod 755 /usr/lib64/purple-2/libqq.so
elif (test -d /usr/lib64/purple-2)
then
    sudo cp -f ./libqq.so /usr/lib64/purple-2/
    sudo chmod 755 /usr/lib64/purple-2/libqq.so
else
    echo "Error Code 1."
    echo "You should install libpurple properly before install libqq."
fi

Original issue reported on code.google.com by mars...@gmail.com on 3 Mar 2012 at 10:15

GoogleCodeExporter commented 9 years ago
Thanks , i sloved this problem. 

Original comment by Stephen....@grapecity.com on 22 Jul 2013 at 1:53