ºìÁªLinuxÃÅ»§
Linux°ïÖú

Fedora13 ϱàÒë linux fetion 1.3 Ó¦ÓóÌÐòµÄÎÊÌâ

·¢²¼Ê±¼ä:2010-06-07 14:31:23À´Ô´:ºìÁª×÷Õß:hibluebbs
fedora13£¬½ñÌì³¢ÊÔ×°Ò»ÏÂlibfetion£¬¿ÉÒÔÔÚlinuxÏÂʹÓÃÖйúÒÆ¶¯·ÉÐÅ£¬Ïȵ½libfetion¹Ù·½ÍøÕ¾ÏÂÔØ×îРV1.3°æµÄÔ´´úÂ룬ÏÂÔØµØÖ·Îª£º
È¥ http://libfetion-gui.googlecode.com/files/linux_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

µ«ÊÇÔÚÖ´ÐеÚËIJ½µÄʱºò£¬½á¹û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

Çë½ÌÈçºÎ½â¾ö£¡£¡Ð»Ð»£¡
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 5 ÌõÆÀÂÛ

  1. wdrlly ÓÚ 2011-02-16 13:10:03·¢±í:

    ÎÒµÄ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

    Çë¸÷λ´óϺ¸øÓèÖ¸µ¼Ö¸µ¼£¬Ð»Ð»£¡£¡£¡

  2. ciacada ÓÚ 2010-06-08 09:37:26·¢±í:

    Ã²ËÆ¶¼ºÜÇ¿´ó£¬±¾È˲ËÄñ£¬Çë¶à¶àÖ¸½Ì£¡

  3. ÂÌɫʥ¹â ÓÚ 2010-06-07 21:36:57·¢±í:

    ²»¿ÍÆø¡­¡­

  4. hibluebbs ÓÚ 2010-06-07 17:59:56·¢±í:

    2# ÂÌɫʥ¹â
    Ö´ÐУº
    yum install openssl-devel

    ÔÙÔËÐбàÒëÃüÁî
    qmake-qt4
    make

    ÔÙÔËÐа²×°³ÌÐò½Å±¾
    ./install.sh
    ¾Í¿ÉÒԳɹ¦°²×°ÁË¡£Ð»Ð»ÂÌÉ«£¡

  5. ÂÌɫʥ¹â ÓÚ 2010-06-07 15:58:48·¢±í:

    Â¥Ö÷¼ì²éһϣ¬ÊÇ·ñ°²×°ÁËopenssl-devel