Fedora13 下编译 linux fetion 1.3 应用程序的问题
来源:互联网 发布:js map 值是否存在 编辑:程序博客网 时间:2024/04/29 09:54
http://www.linuxdiyf.com/viewarticle.php?id=181060
fedora13,今天尝试装一下libfetion,可以在linux下使用中国移动飞信,先到libfetion官方网站下载最新 V1.3版的源代码,下载地址为:
去http://libfetion-gui.googlecode. ... _fetion_v1.3.tar.gz 下载最新的libfetion GUI源代码
按照官方网站提供的编译方法(详见http://web.libfetion.org/Docs-dve/Build-LibFx-on-Fedora.txt)
1、先安装编译环境(在root用户下,下同)
yum install qt4-devel curl-devel gcc glibc-devel
2、然后解压缩
tar -zxvf linux-fetion-v1.3.tar.gz
3、进入解压后的文件夹
cd linux-fetion-v1.3
4、运行编译命令
qmake-qt4
make
5、最后运行安装程序
./install.sh
但是在执行第四步的时候,结果make提示,g++找不到。
然后执行:
make clean
再用如下办法安装编译环境:
sudo yum install qt4 qt4-devel libcurl libcurl-devel kernel-devel automake gcc-c++ glibc glibc-devel
接着,第2-5步同上。
make到最后的时候出现:
g++ -Wl,-O1 -o linux-fetion .tmp/main.o .tmp/fxmain.o .tmp/fxloginwindow.o .tmp/fxmainwindow.o .tmp/fxbuddy.o .tmp/fxbuddyManage.o .tmp/fxmsgwindow.o .tmp/fxaccountTab.o .tmp/fxmytabwidget.o .tmp/fxResource.o .tmp/fxdb.o .tmp/fxcontactinfo.o .tmp/fxaddBuddyWindow.o .tmp/fxqunwindow.o .tmp/fxEncrypt.o .tmp/fxshowHistory.o .tmp/fxverifyAccount.o .tmp/fxInputFace.o .tmp/fxproxy.o .tmp/fxrefuseSMS.o .tmp/fxsendGroupSMS.o .tmp/fxscheduleSms.o .tmp/fxscheduleSmsManage.o .tmp/fxsettings.o .tmp/fxconfigDlg.o .tmp/fxskinmanage.o .tmp/fxwidget.o .tmp/fxwidgettitlebar.o .tmp/qlayoutengine.o .tmp/qwidgetresizehandler.o .tmp/sqlite3.o .tmp/fxlocationparser.o .tmp/moc_fxmain.o .tmp/moc_fxmainwindow.o .tmp/moc_fxloginwindow.o .tmp/moc_fxbuddy.o .tmp/moc_fxbuddyManage.o .tmp/moc_fxmsgwindow.o .tmp/moc_fxaccountTab.o .tmp/moc_fxmytabwidget.o .tmp/moc_fxcontactinfo.o .tmp/moc_fxaddBuddyWindow.o .tmp/moc_fxqunwindow.o .tmp/moc_fxshowHistory.o .tmp/moc_fxverifyAccount.o .tmp/moc_fxInputFace.o .tmp/moc_fxproxy.o .tmp/moc_fxLableMouse.o .tmp/moc_fxLineEditFocus.o .tmp/moc_fxrefuseSMS.o .tmp/moc_fxsendGroupSMS.o .tmp/moc_fxscheduleSms.o .tmp/moc_fxscheduleSmsManage.o .tmp/moc_fxsettings.o .tmp/moc_fxconfigDlg.o .tmp/moc_fxwidget.o .tmp/moc_fxwidgettitlebar.o .tmp/moc_qwidgetresizehandler_p.o .tmp/moc_fxusertree.o .tmp/moc_fxeditablelabel.o .tmp/moc_fxlocationparser.o -lcurl -lssl ./libfetion/lib/libfetion_32.a -lQtXmlPatterns -lQtXml -lQtGui -lQtCore -lpthread
/usr/bin/ld: cannot find -lssl
collect2: ld 返回 1
make: *** [linux-fetion] 错误 1
请教如何解决!!谢谢!
-
相关评论作者: 绿色圣光 发布日期: 2010-6-07楼主检查一下,是否安装了openssl-devel作者: hibluebbs 发布日期: 2010-6-072#绿色圣光
执行:
yum install openssl-devel
再运行编译命令
qmake-qt4
make
再运行安装程序脚本
./install.sh
就可以成功安装了。谢谢绿色!作者: 绿色圣光 发布日期: 2010-6-07不客气……作者: ciacada 发布日期: 2010-6-08貌似都很强大,本人菜鸟,请多多指教!作者: wdrlly 发布日期: 2011-2-16我的yun安装了都是最新的,但是执行到make的时候就报出如下的错误:
g++ -c -pipe -I./libfetion/include -I./src -I./.ui -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include/QtXmlPatterns -I/usr/include -I. -I.moc -I.ui -o .tmp/fxcontactinfo.o src/fxcontactinfo.cpp
src/fxcontactinfo.cpp: 在成员函数‘QString FxContactInfo::getContactInfo()’中:
src/fxcontactinfo.cpp:203:37: 错误:对重载的‘QString(NULL)’的调用有歧义
/usr/include/QtCore/qstring.h:428:12: 附注:备选为: QString::QString(const QByteArray&)
/usr/include/QtCore/qstring.h:426:12: 附注: QString::QString(const char*)
/usr/include/QtCore/qstring.h:728:8: 附注: QString::QString(const QString&)
/usr/include/QtCore/qstring.h:106:5: 附注: QString::QString(QChar)
/usr/include/QtCore/qstring.h:105:14: 附注: QString::QString(const QChar*)
src/fxcontactinfo.cpp:206:37: 错误:对重载的‘QString(NULL)’的调用有歧义
/usr/include/QtCore/qstring.h:428:12: 附注:备选为: QString::QString(const QByteArray&)
/usr/include/QtCore/qstring.h:426:12: 附注: QString::QString(const char*)
/usr/include/QtCore/qstring.h:728:8: 附注: QString::QString(const QString&)
/usr/include/QtCore/qstring.h:106:5: 附注: QString::QString(QChar)
/usr/include/QtCore/qstring.h:105:14: 附注: QString::QString(const QChar*)
src/fxcontactinfo.cpp:212:37: 错误:对重载的‘QString(NULL)’的调用有歧义
/usr/include/QtCore/qstring.h:428:12: 附注:备选为: QString::QString(const QByteArray&)
/usr/include/QtCore/qstring.h:426:12: 附注: QString::QString(const char*)
/usr/include/QtCore/qstring.h:728:8: 附注: QString::QString(const QString&)
/usr/include/QtCore/qstring.h:106:5: 附注: QString::QString(QChar)
/usr/include/QtCore/qstring.h:105:14: 附注: QString::QString(const QChar*)
make: *** [.tmp/fxcontactinfo.o] 错误 1
- Fedora13 下编译 linux fetion 1.3 应用程序的问题
- Fedora 10下编译 linux fetion 应用程序
- Fedora 下编译 linux fetion 应用程序
- Fedora13下编译libfetion的问题和解决办法
- linux命令行下的fetion
- fedora13编译Qtopia问题
- Linux-Fetion 1.3 发布
- Fedora13 (DVD版本)下编译 android2.2 的过程
- ubuntu下安装linux fetion
- linux fedora13下 jdk安装
- vm7 解决fedora13下鼠标左键失灵的问题
- Linux下应用程序编译
- fedora13 arm linux交叉编译环境建立
- 在Fedora13下用cross-ng建立arm-linux交叉编译环境
- linux fetion
- linux fedora13下 显卡驱动安装
- Linux 下编译Android应用程序
- Pidgin下fetion插件的安装
- 通过PC控制、操作andriod 手机-androidscreencast
- 中国史上战斗力最强的5支部队(冷兵器时代)
- 美国封杀华为无望 全面测试或成唯一出路
- java预赛试题的相关的资料介绍
- 用修改IAT法HOOK API
- Fedora13 下编译 linux fetion 1.3 应用程序的问题
- Windows 7 与 Windows 8 之间的 7 大变化
- [Perl]Win32::GUI官方教程翻译 Part1-窗口配置
- 正差值
- Tomcat 系统架构与设计模式,第 1 部分: 工作原理
- java_时间戳与Date_相互转化
- Xcode4.3开发第一个IOS应用实例
- linux操作系统基础概念(二) 操作系统总体介绍
- 百度360互攻24小时曾五度交手