List:GUI Tools« Previous MessageNext Message »
From:Jorge del Conde Date:November 5 2002 10:38pm
Subject:Re: problem compiling 0.8.6
View as plain text  
Hi!

I have just fixed the compilation problem ... thanks for bringing this up.

What version of Qt are you using ?

Can you send me the last couple of debug messages printed in the console
screen right before mysqlcc crashes in the server admin section ?

Regards,
Jorge
--
For technical support contracts, visit https://order.mysql.com/?ref=mjdc
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Jorge del Conde <jorge@stripped>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Full-Time Developer
/_/  /_/\_, /___/\___\_\___/   Mexico City, Mexico
       <___/   www.mysql.com


----- Original Message -----
From: "Hugo Chasqueira" <hchasqueira@stripped>
To: <mycc@stripped>
Sent: Tuesday, November 05, 2002 1:22 PM
Subject: problem compiling 0.8.6


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> I have Mandrake 9 and i'm trying to compile mysqlcc, since the binary
version
> was compiled against a version of glibc that almost nobody has installed.
>
> I'm trying to compile with the following options:
> ./configure --with-qt-gif --with-thread --with-no-stl --with-qt-imgfmt-png
> - --with-qt-imgfmt-jpeg --with-qt-imgfmt-nmg
>
> And ./configure runs well this time (opposed to 0.8.5).
>
> But, when i run 'QTDIR=/usr/lib/qt3 make', it stops in
> src/CSqlEditor/paragraph.cpp, saying:
>
>
g++ -c -pipe -Wall -W -g -D_REENTRANT  -DQT_DLL -DQT_THREAD_SUPPORT -Iinclud
e
> - -Iinclude/CSqlEditor -I/usr/include/mysql -I/usr/lib/qt3/include
> - -I/usr/X11R6/include -Imoc/ -I/usr/lib/qt3/mkspecs/default -o
tmp/paragraph.o
> src/CSqlEditor/paragraph.cpp
> /usr/lib/qt3/include/qfontmetrics.h: In static member function `static
void
> QTextFormat::applyFont(const QFont&)':
> /usr/lib/qt3/include/qfontmetrics.h:111: `QPainter*QFontMetrics::painter'
is
> private
> src/CSqlEditor/paragraph.cpp:338: within this context
> make: *** [tmp/paragraph.o] Error 1
>
> It looks like in paragraph.cpp, a private property of QFontMetrics is
being
> used (line 338 - !pntr_fm->painter), inside an if condition.
>
> I was able to compile mysqlcc by removing that part of the condition. I
know
> it was not the best thing to do. It was either that or changing
> qfontmetrics.h. I've chosen the first.
>
> With this change it seemed to work fine, but everytime i try to enter
'Server
> Administration', mysqlcc dies with a segmentation fault. I don't think
that
> it has anything to do with the change i've made, but maybe someone knows
> better.
>
>
> - --
> Hugo Chasqueira
>
> PGP Key:
>
http://search.keyserver.net:11371/pks/lookup?op=get&search=0x8BD14B82&templa
te=netenextract
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
>
> iD8DBQE9yCiSjFeRi4vRS4IRAqROAJ9YXy7EAJnjJ4N4hmF9edkzQ1dUiwCfSGDO
> gOJ7UuDVqC7Uei6d1HMRQd8=
> =ROsX
> -----END PGP SIGNATURE-----
>
>
> ---------------------------------------------------------------------
> Before posting please check: http://www.mysql.com/products/mycc/index.html
> posting. To request this thread, email mycc-thread356@stripped
>
> To unsubscribe, send a message to the address shown in the
> List-Unsubscribe header of this message. If you cannot see it,
> email mycc-unsubscribe@stripped instead.
>


Thread
problem compiling 0.8.6Hugo Chasqueira6 Nov
  • Re: problem compiling 0.8.6Jorge del Conde6 Nov
    • Re: problem compiling 0.8.6Hugo Chasqueira6 Nov
  • Re: problem compiling 0.8.6Dirk Schlueter6 Nov
    • Re: problem compiling 0.8.6Unknown Sender6 Nov
      • Re: problem compiling 0.8.6John van Eck6 Nov
  • Re: problem compiling 0.8.6Jorge del Conde6 Nov