Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Psi won't compile
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Raniz
l33t
l33t


Joined: 13 Sep 2003
Posts: 967
Location: Varberg, Sweden

PostPosted: Fri Aug 12, 2005 3:53 pm    Post subject: Psi won't compile Reply with quote

I'm having troubles installing PSI with both qt3 and qt4 installed.
Psi fails with these errors:
Code:
Session management error: Could not open network socket
Qt user interface compiler.
uic: Unrecognized option
Usage: /usr/qt/3/bin/uic  [options] [mode] <uifile>

Generate declaration:
   /usr/qt/3/bin/uic  [options] <uifile>
Generate implementation:
   /usr/qt/3/bin/uic  [options] -impl <headerfile> <uifile>
        <headerfile>    name of the declaration file
Generate image collection:
   /usr/qt/3/bin/uic  [options] -embed <project> <image1> <image2> <image3> ...
or
   /usr/qt/3/bin/uic  [options] -embed <project> -f <temporary file containing image names>
        <project>       project name
        <image[1-N]>    image files
Generate subclass declaration:
   /usr/qt/3/bin/uic  [options] -subdecl <subclassname> <baseclassheaderfile> <uifile>
        <subclassname>     name of the subclass to generate
        <baseclassheaderfile>    declaration file of the baseclass
Generate subclass implementation:
   /usr/qt/3/bin/uic  [options] -subimpl <subclassname> <subclassheaderfile> <uifile>
        <subclassname>     name of the subclass to generate
        <subclassheaderfile>    declaration file of the subclass
Options:
        -o file         Write output to file rather than stdout
        -pch file       Add #include "file" as the first statement in implementation
        -nofwd          Omit forward declarations of custom classes
        -nounload       Don't unload plugins after processing
        -tr func        Use func() instead of tr() for i18n
        -L path         Additional plugin search path
        -version        Display version of uic
        -help           Display this information
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=athlon-xp -O3 -pipe -ftracer -Wall -W -D_REENTRANT -fPIC -DWIDGET_PLUGIN -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/share/doc/qt-4.0.0/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I../libTeXFormula -I. -I. -o libTeXFormula.o ../libTeXFormula/libTeXFormula.cpp
make[1]: Leaving directory `/var/tmp/portage/psi-0.9.3-r4/work/psi-0.9.3/libpsi/libTeXFormula'
cd src && make -f Makefile
make[1]: Entering directory `/var/tmp/portage/psi-0.9.3-r4/work/psi-0.9.3/src'
g++ -c -pipe -g -D_REENTRANT -Wall -W -DHAVE_DNOTIFY -DHAVE_GETHOSTBYNAME_R -DHAVE_CONFIG -DXMPP_TEST -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/share/doc/qt-4.0.0/mkspecs/linux-g++ -I/var/tmp/portage/psi-0.9.3-r4/work/psi-0.9.3/src -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I../cutestuff/util -I../cutestuff/network -I../cutestuff/trayicon -I../cutestuff/idle -I../cutestuff/zip -I../cutestuff/dirwatch -I../cutestuff/openpgp -I../cutestuff/multilineinput -I../iris/libidn -I../iris/include -I../iris/xmpp-core -I../iris/xmpp-im -I../iris/jabber -I../libpsi/iconset -I../libpsi/libTeXFormula -I../libpsi/psiwidgets -I../libpsi/psipng -I/usr/X11R6/include -I.moc -I.ui -o .obj/base64.o ../cutestuff/util/base64.cpp
../cutestuff/util/base64.cpp: In static member function `static QByteArray Base64::encode(const QByteArray&)':
../cutestuff/util/base64.cpp:50: error: invalid conversion from `int' to `const char*'
../cutestuff/util/base64.cpp:50: error:   initializing argument 1 of `QByteArray::QByteArray(const char*)'
../cutestuff/util/base64.cpp: In static member function `static QString Base64::arrayToString(const QByteArray&)':
../cutestuff/util/base64.cpp:146: error: `QCString' undeclared (first use this function)
../cutestuff/util/base64.cpp:146: error: (Each undeclared identifier is reported only once for each function it appears in.)
../cutestuff/util/base64.cpp:146: error: expected `;' before "c"
../cutestuff/util/base64.cpp:147: error: `c' undeclared (first use this function)
../cutestuff/util/base64.cpp: In static member function `static QByteArray Base64::stringToArray(const QString&)':
../cutestuff/util/base64.cpp:163: error: 'class QString' has no member named 'latin1'
../cutestuff/util/base64.cpp:165: error: invalid conversion from `int' to `const char*'
../cutestuff/util/base64.cpp:165: error:   initializing argument 1 of `QByteArray::QByteArray(const char*)'
../cutestuff/util/base64.cpp: In static member function `static QString Base64::encodeString(const QString&)':
../cutestuff/util/base64.cpp:175: error: `QCString' undeclared (first use this function)
../cutestuff/util/base64.cpp:175: error: expected `;' before "c"
../cutestuff/util/base64.cpp:176: error: `c' undeclared (first use this function)
../cutestuff/util/base64.cpp:177: error: invalid conversion from `int' to `const char*'
../cutestuff/util/base64.cpp:177: error:   initializing argument 1 of `QByteArray::QByteArray(const char*)'
../cutestuff/util/base64.cpp: At global scope:
../cutestuff/util/base64.cpp:174: warning: unused parameter 's'
make[1]: *** [.obj/base64.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/psi-0.9.3-r4/work/psi-0.9.3/src'
make: *** [sub-src] Error 2
make: *** Waiting for unfinished jobs....
g++ -c -pipe -march=athlon-xp -O3 -pipe -ftracer -Wall -W -D_REENTRANT -fPIC -DWIDGET_PLUGIN -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/share/doc/qt-4.0.0/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I../libTeXFormula -I. -I. -o libTeXFormulaLinux.o ../libTeXFormula/libTeXFormulaLinux.cpp
g++ -c -pipe -march=athlon-xp -O3 -pipe -ftracer -Wall -W -D_REENTRANT -fPIC -DWIDGET_PLUGIN -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/share/doc/qt-4.0.0/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I../libTeXFormula -I. -I. -o libTeXFormulaWin32.o ../libTeXFormula/libTeXFormulaWin32.cpp
g++ -c -pipe -march=athlon-xp -O3 -pipe -ftracer -Wall -W -D_REENTRANT -fPIC -DWIDGET_PLUGIN -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/share/doc/qt-4.0.0/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I../libTeXFormula -I. -I. -o display.o ../libTeXFormula/display.cpp
g++ -c -pipe -march=athlon-xp -O3 -pipe -ftracer -Wall -W -D_REENTRANT -fPIC -DWIDGET_PLUGIN -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/share/doc/qt-4.0.0/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I../libTeXFormula -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: invalid function declaration
/usr/bin/moc -DWIDGET_PLUGIN -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/share/doc/qt-4.0.0/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I../libTeXFormula -I. -I. fancylabel.cpp -o fancylabel.moc
/usr/bin/moc -DWIDGET_PLUGIN -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/share/doc/qt-4.0.0/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I../libTeXFormula -I. -I. busywidget.cpp -o busywidget.moc
/usr/bin/moc -DWIDGET_PLUGIN -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/share/doc/qt-4.0.0/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I../libTeXFormula -I. -I. iconwidget.cpp -o iconwidget.moc
/usr/bin/moc -DWIDGET_PLUGIN -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/share/doc/qt-4.0.0/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I../libTeXFormula -I. -I. psitextview.cpp -o psitextview.moc
/usr/bin/moc -DWIDGET_PLUGIN -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/share/doc/qt-4.0.0/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I../libTeXFormula -I. -I. fancylabel.h -o moc_fancylabel.cpp
/usr/bin/moc -DWIDGET_PLUGIN -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/share/doc/qt-4.0.0/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I../libTeXFormula -I. -I. busywidget.h -o moc_busywidget.cpp
/usr/bin/moc -DWIDGET_PLUGIN -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/share/doc/qt-4.0.0/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I../libTeXFormula -I. -I. iconwidget.h -o moc_iconwidget.cpp
/usr/bin/moc -DWIDGET_PLUGIN -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/share/doc/qt-4.0.0/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I../libTeXFormula -I. -I. psitextview.h -o moc_psitextview.cpp
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: expected class-name before '{' token
iconwidget.h:36: warning: `class IconsetSelect' has virtual functions but non-virtual destructor
iconwidget.h:60: error: expected class-name before '{' token
iconwidget.h:63: error: expected `)' before '*' token
iconwidget.h:72: error: expected class-name before '{' token
iconwidget.h:72: warning: `class IconsetDisplay' has virtual functions but non-virtual destructor
g++ -c -pipe -march=athlon-xp -O3 -pipe -ftracer -Wall -W -D_REENTRANT -fPIC -DWIDGET_PLUGIN -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/share/doc/qt-4.0.0/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I../libTeXFormula -I. -I. -o fancylabel.o fancylabel.cpp
In file included from psiwidgets.cpp:26:
psitextview.h:82: error: ISO C++ forbids declaration of `QPopupMenu' with no type
psitextview.h:82: error: expected `;' before '*' token
psitextview.h:83: error: ISO C++ forbids declaration of `QPopupMenu' with no type
psitextview.h:83: error: expected `;' before '*' token
psitextview.h:85: error: expected `;' before "private"
psiwidgets.cpp:62: error: `PsiWidgetsPlugin' has not been declared
psiwidgets.cpp:63: error: ISO C++ forbids declaration of `PsiWidgetsPlugin' with no type
psiwidgets.cpp: In function `int PsiWidgetsPlugin()':
psiwidgets.cpp:64: warning: no return statement in function returning non-void
psiwidgets.cpp: At global scope:
psiwidgets.cpp:66: error: `PsiWidgetsPlugin' is not a class or namespace
psiwidgets.cpp:67: error: non-member function `QStringList keys()' cannot have `const' method qualifier
psiwidgets.cpp:81: error: `PsiWidgetsPlugin' is not a class or namespace
psiwidgets.cpp: In function `QWidget* create(const QString&, QWidget*, const char*)':
psiwidgets.cpp:90: error: cannot convert `IconsetSelect*' to `QWidget*' in return
psiwidgets.cpp:92: error: cannot convert `IconsetDisplay*' to `QWidget*' in return
psiwidgets.cpp: At global scope:
psiwidgets.cpp:104: error: `PsiWidgetsPlugin' is not a class or namespace
psiwidgets.cpp:105: error: non-member function `QString includeFile(const QString&)' cannot have `const' method qualifier
psiwidgets.cpp:117: error: `PsiWidgetsPlugin' is not a class or namespace
psiwidgets.cpp:118: error: non-member function `QString group(const QString&)' cannot have `const' method qualifier
psiwidgets.cpp:132: error: `QIconSet' does not name a type
psiwidgets.cpp:155: error: `PsiWidgetsPlugin' is not a class or namespace
psiwidgets.cpp:156: error: non-member function `QString toolTip(const QString&)' cannot have `const' method qualifier
psiwidgets.cpp:178: error: `PsiWidgetsPlugin' is not a class or namespace
psiwidgets.cpp:179: error: non-member function `QString whatsThis(const QString&)' cannot have `const' method qualifier
psiwidgets.cpp:201: error: `PsiWidgetsPlugin' is not a class or namespace
psiwidgets.cpp:202: error: non-member function `bool isContainer(const QString&)' cannot have `const' method qualifier
psiwidgets.cpp:206: error: expected constructor, destructor, or type conversion before '(' token
psiwidgets.cpp:206: error: expected `,' or `;' before '(' token
psiwidgets.cpp:28: warning: 'psiwidget_data' defined but not used
make[1]: *** [psiwidgets.o] Error 1
make[1]: *** Waiting for unfinished jobs....
fancylabel.cpp:29:25: qobjectlist.h: No such file or directory
fancylabel.cpp: In constructor `IconLabel::IconLabel(QWidget*, const char*)':
fancylabel.cpp:113: error: `WRepaintNoErase' undeclared (first use this function)
fancylabel.cpp:113: error: (Each undeclared identifier is reported only once for each function it appears in.)
fancylabel.cpp:113: error: `WResizeNoErase' undeclared (first use this function)
fancylabel.cpp: In member function `void IconLabel::drawContents(QPainter*)':
fancylabel.cpp:125: error: `paletteBackgroundPixmap' undeclared (first use this function)
fancylabel.cpp:131: error: 'class QWidget' has no member named 'paletteBackgroundPixmap'
fancylabel.cpp:136: error: `erase' undeclared (first use this function)
fancylabel.cpp:137: error: `drawContents' is not a member of `QLabel'
fancylabel.cpp:146: error: `drawContents' is not a member of `QLabel'
fancylabel.cpp: In member function `void IconLabel::setIcon(const QPixmap&)':
fancylabel.cpp:185: error: `setIcon' is not a member of `QLabel'
fancylabel.cpp: At global scope:
fancylabel.cpp:263: error: `WFlags' has not been declared
fancylabel.cpp:264: error: ISO C++ forbids declaration of `f' with no type
fancylabel.cpp: In member function `virtual void MyFancyFrame::resizeEvent(QResizeEvent*)':
fancylabel.cpp:219: error: no matching function for call to `QColor::rgb(int*, int*, int*)'
/usr/include/qt4/QtGui/qcolor.h:100: note: candidates are: QRgb QColor::rgb() const
fancylabel.cpp:221: error: no matching function for call to `QColor::rgb(int*, int*, int*)'
/usr/include/qt4/QtGui/qcolor.h:100: note: candidates are: QRgb QColor::rgb() const
fancylabel.cpp:240: error: `queryList' undeclared (first use this function)
fancylabel.cpp:241: error: `QObjectListIt' undeclared (first use this function)
fancylabel.cpp:241: error: expected `;' before "it"
fancylabel.cpp:242: error: `it' undeclared (first use this function)
fancylabel.cpp:251: error: `setPaletteBackgroundPixmap' undeclared (first use this function)
fancylabel.cpp: In constructor `MyFancyFrame::MyFancyFrame(QWidget*, QColor*, QColor*, const char*, int)':
fancylabel.cpp:265: error: no matching function for call to `QFrame::QFrame(QWidget*&, const char*&, int&)'
/usr/include/qt4/QtGui/qframe.h:120: note: candidates are: QFrame::QFrame(const QFrame&)
/usr/include/qt4/QtGui/qframe.h:117: note:                 QFrame::QFrame(QFramePrivate&, QWidget*, Qt::WFlags)
/usr/include/qt4/QtGui/qframe.h:49: note:                 QFrame::QFrame(QWidget*, Qt::WFlags)
fancylabel.cpp: In member function `void MyFancyFrame::repaintBackground()':
fancylabel.cpp:272: error: variable `QResizeEvent e' has initializer but incomplete type
fancylabel.cpp: In constructor `FancyLabel::Private::Private(FancyLabel*)':
fancylabel.cpp:293: error: no matching function for call to `QHBoxLayout::QHBoxLayout(FancyLabel*&, int, int)'
/usr/include/qt4/QtGui/qboxlayout.h:121: note: candidates are: QHBoxLayout::QHBoxLayout(const QHBoxLayout&)
/usr/include/qt4/QtGui/qboxlayout.h:109: note:                 QHBoxLayout::QHBoxLayout(QWidget*)
/usr/include/qt4/QtGui/qboxlayout.h:108: note:                 QHBoxLayout::QHBoxLayout()
fancylabel.cpp:299: error: no matching function for call to `QHBoxLayout::QHBoxLayout(MyFancyFrame*&, int, int)'
/usr/include/qt4/QtGui/qboxlayout.h:121: note: candidates are: QHBoxLayout::QHBoxLayout(const QHBoxLayout&)
/usr/include/qt4/QtGui/qboxlayout.h:109: note:                 QHBoxLayout::QHBoxLayout(QWidget*)
/usr/include/qt4/QtGui/qboxlayout.h:108: note:                 QHBoxLayout::QHBoxLayout()
fancylabel.cpp:300: error: no matching function for call to `QVBoxLayout::QVBoxLayout(int, int, int)'
/usr/include/qt4/QtGui/qboxlayout.h:141: note: candidates are: QVBoxLayout::QVBoxLayout(const QVBoxLayout&)
/usr/include/qt4/QtGui/qboxlayout.h:129: note:                 QVBoxLayout::QVBoxLayout(QWidget*)
/usr/include/qt4/QtGui/qboxlayout.h:128: note:                 QVBoxLayout::QVBoxLayout()
fancylabel.cpp:304: error: `SizeType' is not a member of `QSizePolicy'
fancylabel.cpp:304: error: `SizeType' is not a member of `QSizePolicy'
fancylabel.cpp:315: error: `SizeType' is not a member of `QSizePolicy'
fancylabel.cpp:315: error: `SizeType' is not a member of `QSizePolicy'
fancylabel.cpp: In constructor `FancyLabel::FancyLabel(QWidget*, const char*)':
fancylabel.cpp:326: error: no matching function for call to `QWidget::QWidget(QWidget*&, const char*&)'
/usr/include/qt4/QtGui/qwidget.h:614: note: candidates are: QWidget::QWidget(const QWidget&)
/usr/include/qt4/QtGui/qwidget.h:581: note:                 QWidget::QWidget(QWidgetPrivate&, QWidget*, Qt::WFlags)
/usr/include/qt4/QtGui/qwidget.h:178: note:                 QWidget::QWidget(QWidget*, Qt::WFlags)
fancylabel.cpp: In member function `void FancyLabel::setIcon(const QPixmap&)':
fancylabel.cpp:424: error: `setIcon' is not a member of `QWidget'
fancylabel.cpp: At global scope:
fancylabel.cpp:68: warning: unused parameter 'i'
make[1]: *** [fancylabel.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/psi-0.9.3-r4/work/psi-0.9.3/libpsi/psiwidgets'
make: *** [sub-libpsi-psiwidgets] Error 2

Somehow it seems that it's using a combination of qt4 and qt3.

Is there any way to solve this without moving all qt4-bins from /usr/bin?
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6653
Location: The soundosphere

PostPosted: Thu Aug 25, 2005 12:38 pm    Post subject: Reply with quote

I downloaded the src from psi.affinix.com, made sure qt and qca were emerged, and it worked.
Back to top
View user's profile Send private message
_troll_
Bodhisattva
Bodhisattva


Joined: 04 Feb 2004
Posts: 1971
Location: Warszawa, Poland

PostPosted: Sat Sep 03, 2005 3:23 pm    Post subject: Reply with quote

Raniz have a problem with qt4/qt3 in his system.

Raniz: what qt version do you have installed? is it portage one, or custom?

Regards,
Przemek
_________________
Życie jest jak pudełko czekoladek....
Nigdy nie wiesz na co trafisz" by mother of Forrest Gump
Back to top
View user's profile Send private message
SatanClaus
n00b
n00b


Joined: 17 Oct 2004
Posts: 33

PostPosted: Mon Sep 12, 2005 4:14 pm    Post subject: Reply with quote

fun... writing a post half an hour just to find you're not logged in anymore and your text is gone... DAMN

anyways.
I got the same problem, and it seems to be related to https://bugs.gentoo.org/show_bug.cgi?id=103589

I have x11-libs/qt-3.3.4-r3 and x11-libs/qt-4.0.1 emerged, and when trying to emerge psi I get the following:

Code:
SatanClaus ~ # emerge --ask --verbose --deep --tree --update --newuse psi

These are the packages that I would merge, in reverse order:

Calculating dependencies ...done!
[ebuild  N    ] net-im/psi-0.9.3-r4  +crypt -extras +kde +ssl 1,389 kB

Total size of downloads: 1,389 kB

Do you want me to merge these packages? [Yes/No] y
>>> emerge (1 of 1) net-im/psi-0.9.3-r4 to /
>>> Downloading http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/distfiles/psi-0.9.3.tar.bz2
--15:57:58--  http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/distfiles/psi-0.9.3.tar.bz2
           => `/usr/portage/distfiles/psi-0.9.3.tar.bz2'
Resolving ftp-stud.fht-esslingen.de... 129.143.116.10
Connecting to ftp-stud.fht-esslingen.de[129.143.116.10]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,423,322 [application/x-bzip2]

100%[==================================================================================>] 1,423,322    119.52K/s    ETA 00:00

15:58:10 (118.77 KB/s) - `/usr/portage/distfiles/psi-0.9.3.tar.bz2' saved [1,423,322/1,423,322]

>>> 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   ;-) psi-0.10_rc2.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-pathfix2.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/digest-psi-0.10_rc2
>>> md5 files   ;-) files/psi-desktop.patch
>>> md5 files   ;-) files/psi-reverse_trayicon2.patch
>>> md5 src_uri ;-) psi-0.9.3.tar.bz2
>>> Unpacking source...
>>> Unpacking psi-0.9.3.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 ... no

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

cd libpsi/psiwidgets && qmake psiwidgets.pro "QMAKE_CXXFLAGS_RELEASE=-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args" "QMAKE_RPATH=" -o Makefile
cd src && qmake src.pro "QMAKE_CXXFLAGS_RELEASE=-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args" "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=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args -Wall -W -D_REENTRANT -fPIC -DWIDGET_PLUGIN -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/share/doc/qt-4.0.1/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
/usr/bin/moc -DWIDGET_PLUGIN -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I/usr/share/doc/qt-4.0.1/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I. -I. fancylabel.cpp -o fancylabel.moc
Qt user interface compiler.
uic: Unrecognized option
Usage: /usr/qt/3/bin/uic  [options] [mode] <uifile>

Generate declaration:
   /usr/qt/3/bin/uic  [options] <uifile>
Generate implementation:
   /usr/qt/3/bin/uic  [options] -impl <headerfile> <uifile>
        <headerfile>    name of the declaration file
Generate image collection:
   /usr/qt/3/bin/uic  [options] -embed <project> <image1> <image2> <image3> ...
or
   /usr/qt/3/bin/uic  [options] -embed <project> -f <temporary file containing image names>
        <project>       project name
        <image[1-N]>    image files
Generate subclass declaration:
   /usr/qt/3/bin/uic  [options] -subdecl <subclassname> <baseclassheaderfile> <uifile>
        <subclassname>     name of the subclass to generate
        <baseclassheaderfile>    declaration file of the baseclass
Generate subclass implementation:
   /usr/qt/3/bin/uic  [options] -subimpl <subclassname> <subclassheaderfile> <uifile>
        <subclassname>     name of the subclass to generate
        <subclassheaderfile>    declaration file of the subclass
Options:
        -o file         Write output to file rather than stdout
        -pch file       Add #include "file" as the first statement in implementation
        -nofwd          Omit forward declarations of custom classes
        -nounload       Don't unload plugins after processing
        -tr func        Use func() instead of tr() for i18n
        -L path         Additional plugin search path
        -version        Display version of uic
        -help           Display this information
Qt user interface compiler.

The usage info repeats quite a few times and then I get an error.

As you can see it tries to include qt4 headers (e.g. -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore).
I'm currently trying to fix the ebuild, but I think the ./configure file from psi just doesn't realize that it's including qt4 files.
As I'm not very experienced in this I wonder if there's no one who might be able to help :(

cu
SatanClaus
_________________
If you're not strong, you better be smart!
Back to top
View user's profile Send private message
SatanClaus
n00b
n00b


Joined: 17 Oct 2004
Posts: 33

PostPosted: Mon Sep 12, 2005 5:12 pm    Post subject: Reply with quote

well, I know this looks very much nooblike, but after hours of fiddling with that ebuild (without any success, as I seem to be too much of a noob for it), I finally used:

quickpkg qt
emerge --unmerge x11-libs/qt-4.0.1
emerge psi
emerge --usepkgonly "=x11-libs/qt-4.0.1"

I know it's not a nice solution.

cu
SatanClaus
_________________
If you're not strong, you better be smart!
Back to top
View user's profile Send private message
rek2
Guru
Guru


Joined: 05 Jan 2003
Posts: 477
Location: Boston USA/Barcelona Spain

PostPosted: Mon Sep 26, 2005 8:36 pm    Post subject: Reply with quote

I had to do the samething exacly... seen that it works.. but someone needs to fix this ! cause is going to be a full 1 year of having both in the system and cant do this everytime a ebuild looks for the wrong qt... :-(
_________________
http://www.dailyradical.org
http://www.binaryfreedom.info
use jabber!!! sing on now, register an account:
http://jabber.binaryfreedom.info
Back to top
View user's profile Send private message
klausman
Retired Dev
Retired Dev


Joined: 12 Jul 2005
Posts: 10
Location: Germany

PostPosted: Sun Nov 20, 2005 9:09 pm    Post subject: Reply with quote

SatanClaus wrote:
well, I know this looks very much nooblike, but after hours of fiddling with that ebuild (without any success, as I seem to be too much of a noob for it), I finally used:

quickpkg qt
emerge --unmerge x11-libs/qt-4.0.1
emerge psi
emerge --usepkgonly "=x11-libs/qt-4.0.1"

I know it's not a nice solution.


Here's a better one:
mv /usr/bin/qmake /usr/bin/qmake4
emerge psi
mv /usr/bin/qmake4 /usr/bin/qmake

Works for me. Still, this needs to be repaired on the ebuild/portage level.
Back to top
View user's profile Send private message
rek2
Guru
Guru


Joined: 05 Jan 2003
Posts: 477
Location: Boston USA/Barcelona Spain

PostPosted: Sun Nov 20, 2005 9:19 pm    Post subject: Reply with quote

hmmm sounds like a simple idea..

this gives me the idea that maybe gentoo should have a tool to select default libs/toos versions to use.

like for example gentoo_use qt4, gentoo_use qt3.
_________________
http://www.dailyradical.org
http://www.binaryfreedom.info
use jabber!!! sing on now, register an account:
http://jabber.binaryfreedom.info
Back to top
View user's profile Send private message
_troll_
Bodhisattva
Bodhisattva


Joined: 04 Feb 2004
Posts: 1971
Location: Warszawa, Poland

PostPosted: Sat Jan 14, 2006 7:18 pm    Post subject: Reply with quote

it is qt3/4 problem - try the test ebuild available at:
https://bugs.gentoo.org/show_bug.cgi?id=118743

if you can test it, it would be nice. thx in advance.

Regards,
Przemek
_________________
Życie jest jak pudełko czekoladek....
Nigdy nie wiesz na co trafisz" by mother of Forrest Gump
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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