Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ошибка компиляции PSI...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
Plastikman14
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2004
Posts: 137

PostPosted: Mon Aug 15, 2005 9:57 pm    Post subject: Ошибка компиляции PSI... Reply with quote

Решил вот попробовать другой мессенджер. Остановился на PSI. Вот с чем столкнулся:

tux plastikman # emerge psi
Calculating dependencies ...done!
>>> emerge (1 of 1) net-im/psi-0.9.3-r4 to /
>>> md5 files ;-) psi-0.9.3-r2.ebuild
>>> md5 files ;-) psi-0.9.3-r4.ebuild
>>> md5 files ;-) psi-0.9.3-r1.ebuild
>>> md5 files ;-) psi-0.9.3-r3.ebuild
>>> md5 files ;-) files/psi-add-status-history.patch
>>> md5 files ;-) files/digest-psi-0.9.3-r1
>>> md5 files ;-) files/digest-psi-0.9.3-r2
>>> md5 files ;-) files/digest-psi-0.9.3-r3
>>> md5 files ;-) files/digest-psi-0.9.3-r4
>>> md5 files ;-) files/psi-indicator.png
>>> md5 files ;-) files/vcard-photo-interface.patch
>>> md5 files ;-) files/psi-desktop_file_and_icons_directories.patch
>>> md5 files ;-) files/psi-status_indicator++_add-on_roster-nr.patch
>>> md5 files ;-) files/psi-emergency.png
>>> md5 files ;-) files/psi-pathfix.patch
>>> md5 files ;-) files/psi-reverse_trayicon.patch
>>> md5 files ;-) files/psi-desktop.patch
>>> md5 src_uri ;-) psi-0.9.3.tar.bz2
>>> md5 src_uri ;-) psi_ru-0.9.3-a.tar.bz2
>>> Unpacking source...
>>> Unpacking psi-0.9.3.tar.bz2 to /var/tmp/portage/psi-0.9.3-r4/work
>>> Unpacking psi_ru-0.9.3-a.tar.bz2 to /var/tmp/portage/psi-0.9.3-r4/work
* Applying psi-pathfix.patch ... [ ok ]
* Applying psi-desktop.patch ... [ ok ]
* Applying psi-desktop_file_and_icons_directories.patch ... [ ok ]
* Applying psi-reverse_trayicon.patch ... [ ok ]
* You are going to install the original psi version. You might want to
* try the version with extra unsuported patches by adding 'extras' to
* your use flags.
*
* Unpacking language files, you must have linguas_* in USE where
* * is the language files you wish. English is always available
*
>>> Source unpacked.
Configuring Psi ...
Verifying Qt 3.x Multithreaded (MT) build environment ... ok
Checking for Qt >= 3.1 ... yes
Checking for QCA 1.0 ... yes
Checking for zlib ... yes
Checking for the XScreenSaver extension ... yes
Checking for Linux Directory Notification ... yes
Checking for gethostbyname_r() ... yes
Checking for KDE ... yes

Good, your configure finished. Now run 'make'.

cd libpsi/psiwidgets && qmake psiwidgets.pro "QMAKE_CXXFLAGS_RELEASE=-march=pentium4 -O3 -pipe -fomit-frame-pointer" "QMAKE_RPATH=" -o Makefile
cd libpsi/psiwidgets && make -f Makefile
make[1]: Entering directory `/var/tmp/portage/psi-0.9.3-r4/work/psi-0.9.3/libpsi/psiwidgets'
g++ -c -pipe -march=pentium4 -O3 -pipe -fomit-frame-pointer -Wall -W -D_REENTRANT -fPIC -DWIDGET_PLUGIN -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I. -I. -o psiwidgets.o psiwidgets.cpp
In file included from psiwidgets.cpp:21:
psiwidgets.h:24:27: qwidgetplugin.h: No such file or directory
In file included from psiwidgets.cpp:21:
psiwidgets.h:26: error: syntax error before `:' token
psiwidgets.h:31: error: parse error before `)' token
psiwidgets.h:32: error: syntax error before `*' token
psiwidgets.h:33: error: parse error before `&' token
psiwidgets.h:34: error: parse error before `&' token
psiwidgets.h:35: error: parse error before `&' token
psiwidgets.h:36: error: parse error before `&' token
psiwidgets.h:37: error: parse error before `&' token
psiwidgets.h:38: error: parse error before `&' token
psiwidgets.h:38: error: non-member function `bool isContainer(...)' cannot have
`const' method qualifier
psiwidgets.h:39: error: parse error before `}' token
In file included from psiwidgets.cpp:25:
iconwidget.h:24:22: qlistbox.h: No such file or directory
In file included from psiwidgets.cpp:25:
iconwidget.h:36: error: parse error before `{' token
iconwidget.h:37: error: virtual outside class declaration
iconwidget.h:37: error: non-member function `const QMetaObject* metaObject()'
cannot have `const' method qualifier
iconwidget.h:37: error: virtual outside class declaration
iconwidget.h: In function `QString tr(const char*, const char*)':
iconwidget.h:37: error: `staticMetaObject' undeclared (first use this function)
iconwidget.h:37: error: (Each undeclared identifier is reported only once for
each function it appears in.)
iconwidget.h: At global scope:
iconwidget.h:37: error: virtual outside class declaration
iconwidget.h:37: error: parse error before `private'
iconwidget.h:40: error: destructors must be member functions
iconwidget.h:44: error: non-member function `const Iconset* iconset()' cannot
have `const' method qualifier
iconwidget.h:46: error: parse error before `public'
iconwidget.h:50: error: parse error before `private'
iconwidget.h:52: error: syntax error before `*' token
iconwidget.h:56: error: `friend' can only be specified inside a class
iconwidget.h:57: error: parse error before `}' token
iconwidget.h:60: error: parse error before `{' token
iconwidget.h:61: error: virtual outside class declaration
iconwidget.h:61: error: non-member function `const QMetaObject* metaObject()'
cannot have `const' method qualifier
iconwidget.h:61: error: virtual outside class declaration
iconwidget.h: In function `QString tr(const char*, const char*)':
iconwidget.h:61: error: redefinition of `QString tr(const char*, const char*)'
iconwidget.h:37: error: `QString tr(const char*, const char*)' previously
defined here
iconwidget.h:61: error: redefinition of `QString tr(const char*, const char*)'
iconwidget.h:37: error: `QString tr(const char*, const char*)' previously
defined here
iconwidget.h: In function `QString trUtf8(const char*, const char*)':
iconwidget.h:61: error: redefinition of `QString trUtf8(const char*, const
char*)'
iconwidget.h:37: error: `QString trUtf8(const char*, const char*)' previously
defined here
iconwidget.h:61: error: redefinition of `QString trUtf8(const char*, const
char*)'
iconwidget.h:37: error: `QString trUtf8(const char*, const char*)' previously
defined here
iconwidget.h: At global scope:
iconwidget.h:61: error: virtual outside class declaration
iconwidget.h:61: error: parse error before `private'
iconwidget.h:66: error: virtual outside class declaration
iconwidget.h:66: error: non-member function `const Iconset* iconset()' cannot
have `const' method qualifier
iconwidget.h:67: error: parse error before `}' token
iconwidget.h:72: error: parse error before `{' token
iconwidget.h:73: error: virtual outside class declaration
iconwidget.h:73: error: non-member function `const QMetaObject* metaObject()'
cannot have `const' method qualifier
iconwidget.h:73: error: virtual outside class declaration
iconwidget.h: In function `QString tr(const char*, const char*)':
iconwidget.h:73: error: redefinition of `QString tr(const char*, const char*)'
iconwidget.h:61: error: `QString tr(const char*, const char*)' previously
defined here
iconwidget.h:73: error: redefinition of `QString tr(const char*, const char*)'
iconwidget.h:61: error: `QString tr(const char*, const char*)' previously
defined here
iconwidget.h:73: error: redefinition of `QString tr(const char*, const char*)'
iconwidget.h:37: error: `QString tr(const char*, const char*)' previously
defined here
iconwidget.h: In function `QString trUtf8(const char*, const char*)':
iconwidget.h:73: error: redefinition of `QString trUtf8(const char*, const
char*)'
iconwidget.h:61: error: `QString trUtf8(const char*, const char*)' previously
defined here
iconwidget.h:73: error: redefinition of `QString trUtf8(const char*, const
char*)'
iconwidget.h:61: error: `QString trUtf8(const char*, const char*)' previously
defined here
iconwidget.h:73: error: redefinition of `QString trUtf8(const char*, const
char*)'
iconwidget.h:37: error: `QString trUtf8(const char*, const char*)' previously
defined here
iconwidget.h: At global scope:
iconwidget.h:73: error: virtual outside class declaration
iconwidget.h:73: error: parse error before `private'
iconwidget.h:76: error: destructors must be member functions
iconwidget.h:79: error: parse error before `private'
iconwidget.h:81: error: syntax error before `*' token
iconwidget.h:85: error: `friend' can only be specified inside a class
iconwidget.h:86: error: parse error before `}' token
In file included from psiwidgets.cpp:26:
psitextview.h:82: error: syntax error before `*' token
psitextview.h:83: error: syntax error before `*' token
psitextview.h:85: error: semicolon missing after declaration of `PsiTextView'
psitextview.h:85: error: parse error before `private'
psitextview.h:85: error: parse error before `:' token
psitextview.h:90: error: syntax error before `*' token
psiwidgets.cpp:62: error: syntax error before `::' token
psiwidgets.cpp:66: error: syntax error before `::' token
psiwidgets.cpp:69: error: syntax error before `<<' token
psiwidgets.cpp:70: error: syntax error before `<<' token
psiwidgets.cpp:71: error: syntax error before `<<' token
psiwidgets.cpp:72: error: syntax error before `<<' token
psiwidgets.cpp:73: error: syntax error before `<<' token
psiwidgets.cpp:74: error: syntax error before `<<' token
psiwidgets.cpp:75: error: syntax error before `<<' token
psiwidgets.cpp:76: error: syntax error before `<<' token
psiwidgets.cpp:77: error: syntax error before `<<' token
psiwidgets.cpp:81: error: syntax error before `::' token
psiwidgets.cpp:104: error: syntax error before `::' token
psiwidgets.cpp:117: error: syntax error before `::' token
psiwidgets.cpp:132: error: parse error before `::' token
psiwidgets.cpp:155: error: syntax error before `::' token
psiwidgets.cpp:178: error: syntax error before `::' token
psiwidgets.cpp:201: error: syntax error before `::' token
psiwidgets.cpp:206: error: `PsiWidgetsPlugin' was not declared in this scope
psiwidgets.cpp:206: error: ISO C++ forbids declaration of `Q_EXPORT_PLUGIN'
with no type
psiwidgets.cpp:206: error: syntax error at end of input
make[1]: *** [psiwidgets.o] Ошибка 1
make[1]: Leaving directory `/var/tmp/portage/psi-0.9.3-r4/work/psi-0.9.3/libpsi/psiwidgets'
make: *** [sub-libpsi-psiwidgets] Ошибка 2

!!! ERROR: net-im/psi-0.9.3-r4 failed.
!!! Function src_compile, Line 219, Exitcode 2
!!! Make failed
!!! If you need support, post the topmost build error, NOT this status message.


Есть у меня одно подозрение на этот счёт, а именно: стоит у меня QT4. Да, и может посоветуйте достойный мессенджер, чтобы поддерживал и icq и jabber. SIM и Kopete можно не предлагать.Благодарю за винмание.
Back to top
View user's profile Send private message
viy
Veteran
Veteran


Joined: 03 Jul 2004
Posts: 1580
Location: Riga, Latvia

PostPosted: Tue Aug 16, 2005 5:33 am    Post subject: Reply with quote

gaim
Back to top
View user's profile Send private message
046
Apprentice
Apprentice


Joined: 21 Jul 2004
Posts: 231
Location: Yaroslavl, Russia

PostPosted: Tue Aug 16, 2005 6:51 am    Post subject: Reply with quote

И с чего ты взял что psi поддерживает icq?

qt это такая вещь...
там нет совместимости в новых версиях.
Back to top
View user's profile Send private message
IRON
n00b
n00b


Joined: 21 Nov 2004
Posts: 71

PostPosted: Tue Aug 16, 2005 7:46 am    Post subject: Reply with quote

У меня тоже не соберается psi :(

Смотрите ниже тему "Проблема сборки Psi"..
Если кто знает - подскажите плиз в чем дело...
Back to top
View user's profile Send private message
serg_sk
Guru
Guru


Joined: 10 Jul 2004
Posts: 315
Location: Ukraine

PostPosted: Tue Aug 16, 2005 10:41 am    Post subject: Reply with quote

viy wrote:
gaim

Оригинально lol
Вообще гаим неудобный до боли. psi просто сказка, из-за psi qt держу :)

Quote:
И с чего ты взял что psi поддерживает icq?

qt это такая вещь...
там нет совместимости в новых версиях.

Ибо поддерживает :) Есить гейты в icq. Ибо jabber - это сила.
_________________
Sorry for my bad englilsh. :)
irc.freenode.net #fluxbox-ru - Fluxbox russian speaking channel.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum