Сборка PSI

Приветствую! Решил поюзать 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.

Попробуй: echo

Попробуй:

echo "LINGUAS="ru en"" >> /etc/make.conf
emerge psi

_________________
Gentoo Linux - "If it moves, compile it!"

Не катит.

Не катит. Сдаётся мне, что дело тут в Qt. У меня он 4.0. Psi видимо этого ещё не понимает.

собери из

собери из сырцов
у меня тоже через emerge не получилось, а из сырцов собралась....

Re: собери из

doomsday написал(а):
собери из сырцов
у меня тоже через emerge не получилось, а из сырцов собралась....

Из сырцов не соберется т.к. поддержки QT4 еще нет. Об этом даже на самом сайте пси написано http://psi.affinix.com/?page=development
Придется ставить еще и QT3

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".