Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
QT 3.1.2 fails...
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
insomniac
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2002
Posts: 132
Location: Lund, Sweden

PostPosted: Thu Apr 10, 2003 10:19 pm    Post subject: QT 3.1.2 fails... Reply with quote

Trying to upgrade KDE, I get te following error when emerging QT:
>>> emerge (1 of 2) x11-libs/qt-3.1.2 to /
>>> md5 ;-) qt-x11-free-3.1.2.tar.bz2
>>> Unpacking source...
>>> Unpacking qt-x11-free-3.1.2.tar.bz2 to /var/tmp/portage/qt-3.1.2/work
* Applying designer.diff... [ ok ]
* Applying qt-3.1.2-qmlined.diff... [ ok ]
* Using environment definition of $CXX
* Using environment definition of $CC
>>> Source unpacked.
cups
gif
mysql
odbc
opengl
--enable-final: invalid command-line switch
-plugin-sql-mysql: unknown argument
-plugin-sql-odbc: unknown argument
MySQL auto-detection...
Found libmysqlclient.* in /usr/lib
Found mysql.h in /usr/include/mysql
MySQL enabled.
ODBC auto-detection...
Found libodbc.* in /usr/lib
Found sqlext.h in /usr/include
ODBC enabled.
PostgreSQL auto-detection...
Could not find libpq.* anywhere in /lib /usr/lib /usr/lib/mysql
PostgreSQL disabled.
NIS auto-detection... (-L/usr/lib/mysql -I/usr/include/mysql)
Found nsl lib in /usr/lib
Found rpcsvc/ypclnt.h in /usr/include
Found rpcsvc/yp_prot.h in /usr/include
NIS enabled.
CUPS auto-detection... (-L/usr/lib/mysql -I/usr/include/mysql)
Found cups lib in /usr/lib
Found cups/cups.h in /usr/include
CUPS enabled.
OpenGL auto-detection... (-L/usr/lib/mysql -I/usr/include/mysql)
Found GLU lib in /usr Found GL lib in /usr/lib
Found Xmu lib in /usr/X11R6/lib
Found GL/gl.h in /usr/X11R6/include
Found GL/glu.h in /usr/X11R6/include
OpenGL enabled.
XRender auto-detection... (-L/usr/lib/mysql -I/usr/include/mysql)
Found XRender lib in /usr/X11R6/lib
Found X11/extensions/Xrender.h in /usr/X11R6/include
XRender enabled.
Xft auto-detection... (-L/usr/lib/mysql -I/usr/include/mysql)
Found libXft.a in /usr/X11R6/lib
Found libXft.so in /usr/lib
Found X11/Xft/Xft.h in /usr/X11R6/include
Found X11/Xft/Xft.h in /usr/include
Found Xft version 2.0
Found freetype2/freetype/freetype.h in /usr/include
Found fontconfig/fontconfig.h in /usr/include
Xft enabled.
Xinerama auto-detection... (-L/usr/lib/mysql -I/usr/include/mysql)
Found Xinerama lib in /usr/X11R6/lib
Found X11/extensions/Xinerama.h in /usr/X11R6/include
Xinerama enabled.
XKB auto-detection... (-L/usr/lib/mysql -I/usr/include/mysql)
Found X11/XKBlib.h in /usr/X11R6/include
XkbSetPerClientControls found.
XKB enabled.
Usage: configure [-prefix dir] [-buildkey key] [-docdir dir]
[-headerdir dir] [-libdir dir] [-bindir dir] [-plugindir dir ]
[-datadir dir] [-debug] [-release] [-no-gif] [-qt-gif] [-no-sm]
[-sm] [-qt-zlib] [-system-zlib] [-qt-libjpeg] [-system-libjpeg]
[-qt-libpng] [-system-libpng] [-qt-libmng] [-system-libmng]
[-no-thread] [-thread] [-no-nis] [-nis] [-no-cups] [-cups]
[-no-largefile] [-largefile] [-no-stl] [-stl]
[-Istring] [-lstring] [-Lstring] [-Rstring] [-disable-<module>]
[-with-<module setting>] [-without-<module setting>] [-fast] [-no-fast]

Installation options:

[ lots of info about installation options, omitted here]

!!! ERROR: x11-libs/qt-3.1.2 failed.
!!! Function src_compile, Line 125, Exitcode 1
!!! (no error message)

----------------------------------

My USE flags:

USE="mmx sse apm pcmcia pnp trusted pda gphoto2 cdr scanner cups
X dga opengl xv kde arts qt qtmt -gnome -gtk -gtk2 -bonobo -evo -gtkhtml
motif tcltk aalib imlib ncurses sdl gif jpeg png tiff gd avi mpeg quicktime
alsa esd dvd xmms oggvorbis flash encode
pam ssl crypt imap maildir mbox mozilla mozctl spell truetype xml pdflib xml2
tetex java perl -python ruby libwww mysql odbc innodb gdbm samba -doc -gpm"

------------------------

My CFLAGS:
CHOST='i686-pc-linux-gnu'
CFLAGS='-march=pentium3 -mcpu=pentium3 -O3 -pipe -fomit-frame-pointer'
CXXFLAGS='-march=pentium3 -mcpu=pentium3 -O3 -pipe -fomit-frame-pointer'

Anyone have a clue why QT fails?
_________________
My next computer is also a Gentoo computer
Back to top
View user's profile Send private message
nhaggin
n00b
n00b


Joined: 15 Jun 2002
Posts: 74
Location: Illinois, USA

PostPosted: Fri Apr 11, 2003 4:33 am    Post subject: Reply with quote

I'm having a similar problem. Things go fine until it decides to build qclipboard_x11.cpp, at which point we get the following fun bunch of compile errors:

Code:

In file included from /usr/X11R6/include/freetype2/freetype/freetype.h:41,
                 from /usr/X11R6/include/X11/Xft/Xft.h:35,
                 from kernel/qt_x11.h:146,
                 from kernel/qtaddons_x11.cpp:25:
/usr/include/ft2build.h:55:38: freetype/config/ftheader.h: No such file or directory
In file included from /usr/X11R6/include/X11/Xft/Xft.h:35,
                 from kernel/qt_x11.h:146,
                 from kernel/qtaddons_x11.cpp:25:
/usr/X11R6/include/freetype2/freetype/freetype.h:42:10: #include expects "FILENAME" or <FILENAME>
/usr/X11R6/include/freetype2/freetype/freetype.h:43:10: #include expects "FILENAME" or <FILENAME>
/usr/X11R6/include/freetype2/freetype/freetype.h:44:10: #include expects "FILENAME" or <FILENAME>
In file included from /usr/X11R6/include/X11/Xft/Xft.h:35,
                 from kernel/qt_x11.h:146,
                 from kernel/qtaddons_x11.cpp:25:
/usr/X11R6/include/freetype2/freetype/freetype.h:186: syntax error before `
   typedef'

... ... [several more cascading errors snipped]

In file included from /usr/X11R6/include/X11/Xt/Xft.h:36,
                 from kernel/qt_x11.h:146,
                 from kernel/qtaddons_x11.cpp:25:
/usr/include/fontconfig/fontconfig.h:30: syntax error before `typedef'
/usr/include/fontconfig/fontconfig.h:157: parse error before `*' token
/usr/include/fontconfig/fontconfig.h:173: parse error before `*' token
/usr/include/fontconfig/fontconfig.h:235: parse error before `*' token
/usr/include/fontconfig/fontconfig.h:251: syntax error before `*' token
/usr/include/fontconfig/fontconfig.h:281: syntax error before `*' token
/usr/include/fontconfig/fontconfig.h:295: non-local function `
   FT_EXPORT()::FcFontSet* FcConfigGetFonts(FT_EXPORT()::FcConfig*,
   FT_EXPORT()::_FcSetName)' uses local type `FT_EXPORT()::FcFontSet'
/usr/include/fontconfig/fontconfig.h:299: parse error before `*' token
/usr/include/fontconfig/fontconfig.h:303: parse error before `*' token
/usr/include/fontconfig/fontconfig.h:312: non-local function `FcBool
   FcConfigSubstituteWithPat(FT_EXPORT()::FcConfig*, FT_EXPORT()::FcPattern*,
   FT_EXPORT()::FcPattern*, FT_EXPORT()::_FcMatchKind)' uses local type `
   FT_EXPORT()::_FcMatchKind'

... ... [several more cascading errors snipped]


And there's more, in header files relating to Xft and Xkb, for about 2100 lines' worth of errors.

I've tried re-emerging Freetype/fontconfig/Xft and then Qt without success. Any thoughts?

Nick

A.M.D.G.
Back to top
View user's profile Send private message
variable
n00b
n00b


Joined: 17 Nov 2002
Posts: 17

PostPosted: Fri Apr 11, 2003 11:47 am    Post subject: Re: QT 3.1.2 fails... Reply with quote

insomniac wrote:
Trying to upgrade KDE, I get te following error when emerging QT:

[ lots of info about installation options, omitted here]

!!! ERROR: x11-libs/qt-3.1.2 failed.
!!! Function src_compile, Line 125, Exitcode 1
!!! (no error message)


I have had lots of similar problems and all of them are related to sed-4.x.x. Since figuring out the problem, I have used supersed and NO PROBLEMS at all.

1. emerge supersed
2. emerge unmerge sed
3. ln -s /usr/bin/ssed /usr/bin/sed
_________________
Do it or not. There is no try!
Back to top
View user's profile Send private message
insomniac
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2002
Posts: 132
Location: Lund, Sweden

PostPosted: Fri Apr 11, 2003 12:12 pm    Post subject: Reply with quote

Great, thanks for the tip, i'll try it out when i get home!
_________________
My next computer is also a Gentoo computer
Back to top
View user's profile Send private message
nhaggin
n00b
n00b


Joined: 15 Jun 2002
Posts: 74
Location: Illinois, USA

PostPosted: Fri Apr 11, 2003 2:35 pm    Post subject: Reply with quote

Quote:
I have had lots of similar problems and all of them are related to sed-4.x.x. Since figuring out the problem, I have used supersed and NO PROBLEMS at all.


I must admit, I was a bit dubious reading this since sed had nothing to do with any problems I reported, but what the heck...I gave it a try. Sadly, it didn't fix anything.

I thought I saw another post some time back reporting similar errors when compling another package that makes use of Freetype/Xft/et al...is there some kind of funkiness with the font libraries and utilities that may be causing this?

Nick

A.M.D.G.
Back to top
View user's profile Send private message
insomniac
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2002
Posts: 132
Location: Lund, Sweden

PostPosted: Sat Apr 12, 2003 9:03 am    Post subject: Reply with quote

I finally got QT to emerge - I had used the "export myconfig="--enable-final" flag to emerge KDE, and I think that was what made QT not emerge.
Right now I'm emerging kdelibs, we'll see how it goes...

[later....]

Went just fine, all packages installed as expected, no errors.
_________________
My next computer is also a Gentoo computer
Back to top
View user's profile Send private message
Skubidoo
n00b
n00b


Joined: 20 May 2003
Posts: 37

PostPosted: Wed May 21, 2003 8:07 pm    Post subject: Reply with quote

How did you do that? Please tell me more!
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