[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quanta
Subject:    Re: [Quanta] Kdewebdev Compile Problem (Apparent kdelibs/Qt version
From:       Christopher Hoover <cjhoover () gmail ! com>
Date:       2005-12-02 16:07:48
Message-ID: f3d984f30512020807p22a53863h2927cf8f51815c8c () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Sorry not to get back to both of you sooner!  Had company for the holidays,
and then wanted to take the time to see if the new 3.5 release was any
different on thi issue (it wasn't).  Thanks for your replies.

On 11/26/05, Eric Laffoon <sequitur@kde.org> wrote:

> Error messages are generally based on assumptions of whole packages, thus
> if
> the include files have been left out by the distribution to save precious
> disk space you need to install "dev" packages for it to see kdelibs.


Well, according to the release notes for CentOS 4.2, (
http://www.centos.org/docs/4/html/release-notes/as-amd64/RELEASE-NOTES-U2-en.html),
the standard packages include kdelibs-3.3.1-3.11 and
kdelibs-devel-3.3.1-3.11 (and, FWIW, kdebase-3.3.1-5.8 and
kdebase-devel-3.3.1-5.8).  And they seem not to have skimped on headers;
there's a *ton* of header files in the /usr/include/kde tree.  Whether these
are the exact headers I need, though, still isn't clear.  What exact
header(s) is ./configure expecting as proof of the right package?  And which
package from the repository do I need to install to get the right headers?

BTW I run a source based distro and have all of 12 MB of KDE includes. So
> you
> can see why distributions are so concerned about space on your hard disk
> that
> they intentionally remove the header files you need to build programs. ;-)


Yeah, everything *including* several different kitchen sinks to choose from
seems to be the philosophy with CentOS--GNOME, KDE, *and* TWM are included
on the DVD ISO.  So saving space didn't really seem to be one of their big
concerns, and since I've a 160GB drive on this box, I just went ahead and
selected the install-absolutely-everything option.  :-)


On 11/26/05, Andras Mantia <amantia@kde.org> wrote:
>
>
> The corresponding section of the config.log file would be interesting to
> see.
>

Glad to oblige.  From my most recent attempt with 3.5, starting with where
it checks for Qt:

------------------------------------------------------------------------------------------
configure:29761: checking for Qt
configure: 29826: /usr/lib64/qt-3.3/include/qstyle.h
taking that
tried NO
configure:29944: rm -rf SunWS_cache; g++ -o conftest -Wno-long-long -Wundef
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wc
onversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exc
eptions -fno-check-new -fno-common -I/usr/lib64/qt-3.3/include
-I/usr/X11R6/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -L/usr/lib64
/qt-3.3/lib -L/usr/X11R6/lib64     conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg
-ldl  -lXext -lX11 -lSM -lICE  -lpthread 1>&5
configure:29947: $? = 0
configure:30006: result: libraries /usr/lib64/qt-3.3/lib, headers
/usr/lib64/qt-3.3/include using -mt
configure:30188: checking for moc
configure:30260: result: /usr/lib64/qt-3.3/bin/moc
configure:30268: checking for uic
configure:30322: result: /usr/lib64/qt-3.3/bin/uic
configure:30353: checking whether uic supports -L
configure:30364: /usr/lib64/qt-3.3/bin/uic -L /nonexistent conftest.ui>/dev/null
configure:30367: $? = 0
configure:30379: result: yes
configure:30391: checking whether uic supports -nounload
configure:30402: /usr/lib64/qt-3.3/bin/uic -nounload  conftest.ui >/dev/null
configure:30405: $? = 0
configure:30417: result: yes
configure:30454: checking if Qt needs -ljpeg
configure:30495: rm -rf SunWS_cache; g++ -o conftest -Wno-long-long -Wundef
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wc
onversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exc
eptions -fno-check-new -fno-common -I/usr/lib64/qt-3.3/include
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  conftest.cc
 -L/usr/lib64/qt-3.3/lib -L/usr/X11R6/lib64 -lqt-mt -lpng -lz -lm  -ldl
-lXext -lX11 -lSM -lICE 1>&5
conftest.cc: In function `int main()':
conftest.cc:54: warning: 'argv' might be used uninitialized in this function
configure:30501: $? = 0
configure:30505: test -z
                         || test ! -s conftest.err
configure:30508: $? = 0
configure:30511: test -s conftest
configure:30514: $? = 0
configure:30543: result: no
configure:30575: checking for rpath
configure:30607: result: yes
configure:30610: checking for KDE
configure: 30663: /usr/include/ksharedptr.h
configure: 30663: /usr/include/ksharedptr.h
configure: 30663: /usr/include/kde/ksharedptr.h
taking that
configure: 30693: /usr/lib/libkio.la
taking that
configure: 30711: /usr/lib/kde3/plugins/designer/kdewidgets.la
taking that
configure:30784: result: libraries /usr/lib, headers /usr/include/kde
configure:30823: checking if UIC has KDE plugins available
configure:30850: /usr/lib64/qt-3.3/bin/uic -L /usr/lib/kde3/plugins/designer
-nounload -impl actest.h actest.ui > actest.cpp
configure:30853: $? = 0
configure:30867: result: no
configure:30878: error:
you need to install kdelibs first.

If you did install kdelibs, then the Qt version that is picked up by
this configure is not the same version you used to compile kdelibs.
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
_same Qt version_, compiled with the _same compiler_ and the same Qt
configuration settings.
------------------------------------------------------------------------------------------

Thanks so much again for your prompt replies, guys--looking at all the other
threads, too, I'm getting to be pretty impressed with this community.  Hope
that what I include above makes the nature of my problem more clear.

Chris

--
Vin Diesel encases the souls of his enemies in the bodies of Golden
Retriever puppies.
--Random Vin Diesel Fact Generator http://www.4q.cc/vin/

[Attachment #5 (text/html)]

<span class="gmail_quote">Sorry not to get back to both of you
sooner!&nbsp; Had company for the holidays, and then wanted to take the
time to see if the new 3.5 release was any different on thi issue (it
wasn't).&nbsp; Thanks for your replies.<br>
<br>
On 11/26/05, <b class="gmail_sendername">Eric Laffoon</b> &lt;<a \
href="mailto:sequitur@kde.org">sequitur@kde.org</a>&gt; wrote:</span><br> <blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;">Error messages are generally based on assumptions of \
whole packages, thus if<br>the include files have been left out by the distribution \
to save precious <br>disk space you need to install &quot;dev&quot; packages for it \
to see kdelibs.</blockquote> <div><br>
Well, according to the release notes for CentOS 4.2,
(<a href="http://www.centos.org/docs/4/html/release-notes/as-amd64/RELEASE-NOTES-U2-en \
.html">http://www.centos.org/docs/4/html/release-notes/as-amd64/RELEASE-NOTES-U2-en.html</a>),
 the standard packages include kdelibs-3.3.1-3.11 and
kdelibs-devel-3.3.1-3.11 (and, FWIW, kdebase-3.3.1-5.8 and
kdebase-devel-3.3.1-5.8).&nbsp; And they seem not to have skimped on
headers; there's a *ton* of header files in the /usr/include/kde
tree.&nbsp; Whether these are the exact headers I need, though, still
isn't clear.&nbsp; What exact header(s) is ./configure expecting as
proof of the right package?&nbsp; And which package from the repository
do I need to install to get the right headers?<br>
</div><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); \
margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">BTW I run a source based distro and \
have all of 12 MB of KDE includes. So you<br>can see why distributions are so \
concerned about space on your hard disk that <br>they intentionally remove the header \
files you need to build programs. ;-)</blockquote> <div><br>
Yeah, everything *including* several different kitchen sinks to choose
from seems to be the philosophy with CentOS--GNOME, KDE, *and* TWM are
included on the DVD ISO.&nbsp; So saving space didn't really seem to be
one of their big concerns, and since I've a 160GB drive on this box, I
just went ahead and selected the install-absolutely-everything
option.&nbsp; :-)<br>
</div><br><br><div><span class="gmail_quote">On 11/26/05, <b \
class="gmail_sendername">Andras Mantia</b> &lt;<a \
href="mailto:amantia@kde.org">amantia@kde.org</a>&gt; wrote:</span><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"> <br>The corresponding section of the config.log file \
would be interesting to<br>see.<br></blockquote></div><br> Glad to oblige.&nbsp; From \
my most recent attempt with 3.5, starting with where it checks for Qt:<br> <br>
------------------------------------------------------------------------------------------<br>
 configure:29761: checking for Qt<br>
configure: 29826: /usr/lib64/qt-3.3/include/qstyle.h<br>
taking that<br>
tried NO<br>
configure:29944: rm -rf SunWS_cache; g++ -o conftest -Wno-long-long
-Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wc<br>
onversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-fno-exc<br>
eptions -fno-check-new -fno-common -I/usr/lib64/qt-3.3/include
-I/usr/X11R6/include&nbsp; -DQT_THREAD_SUPPORT&nbsp; -D_REENTRANT&nbsp;
-L/usr/lib64<br>
/qt-3.3/lib -L/usr/X11R6/lib64&nbsp;&nbsp;&nbsp;&nbsp;
conftest.cc&nbsp; -lqt-mt -lpng -lz -lm -ljpeg -ldl&nbsp; -lXext -lX11
-lSM -lICE&nbsp; -lpthread 1&gt;&amp;5<br>
configure:29947: $? = 0<br>
configure:30006: result: libraries /usr/lib64/qt-3.3/lib, headers \
/usr/lib64/qt-3.3/include using -mt<br> configure:30188: checking for moc<br>
configure:30260: result: /usr/lib64/qt-3.3/bin/moc<br>
configure:30268: checking for uic<br>
configure:30322: result: /usr/lib64/qt-3.3/bin/uic<br>
configure:30353: checking whether uic supports -L <br>
configure:30364: /usr/lib64/qt-3.3/bin/uic -L /nonexistent conftest.ui \
&gt;/dev/null<br> configure:30367: $? = 0<br>
configure:30379: result: yes<br>
configure:30391: checking whether uic supports -nounload <br>
configure:30402: /usr/lib64/qt-3.3/bin/uic -nounload&nbsp; conftest.ui \
&gt;/dev/null<br> configure:30405: $? = 0<br>
configure:30417: result: yes<br>
configure:30454: checking if Qt needs -ljpeg<br>
configure:30495: rm -rf SunWS_cache; g++ -o conftest -Wno-long-long
-Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wc<br>
onversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-fno-exc<br>
eptions -fno-check-new -fno-common -I/usr/lib64/qt-3.3/include
-I/usr/X11R6/include&nbsp;&nbsp; -DQT_THREAD_SUPPORT&nbsp;
-D_REENTRANT&nbsp; conftest.cc<br>
&nbsp;-L/usr/lib64/qt-3.3/lib -L/usr/X11R6/lib64 -lqt-mt -lpng -lz -lm&nbsp; -ldl \
                -lXext -lX11 -lSM -lICE 1&gt;&amp;5<br>
conftest.cc: In function `int main()':<br>
conftest.cc:54: warning: 'argv' might be used uninitialized in this function<br>
configure:30501: $? = 0<br>
configure:30505: test -z <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 || test ! -s conftest.err<br>
configure:30508: $? = 0<br>
configure:30511: test -s conftest<br>
configure:30514: $? = 0<br>
configure:30543: result: no<br>
configure:30575: checking for rpath<br>
configure:30607: result: yes<br>
configure:30610: checking for KDE<br>
configure: 30663: /usr/include/ksharedptr.h<br>
configure: 30663: /usr/include/ksharedptr.h<br>
configure: 30663: /usr/include/kde/ksharedptr.h<br>
taking that<br>
configure: 30693: /usr/lib/libkio.la<br>
taking that<br>
configure: 30711: /usr/lib/kde3/plugins/designer/kdewidgets.la<br>
taking that<br>
configure:30784: result: libraries /usr/lib, headers /usr/include/kde<br>
configure:30823: checking if UIC has KDE plugins available<br>
configure:30850: /usr/lib64/qt-3.3/bin/uic -L /usr/lib/kde3/plugins/designer \
-nounload -impl actest.h actest.ui &gt; actest.cpp<br> configure:30853: $? = 0<br>
configure:30867: result: no<br>
configure:30878: error:<br>
you need to install kdelibs first.<br>
<br>
If you did install kdelibs, then the Qt version that is picked up by<br>
this configure is not the same version you used to compile kdelibs.<br>
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the<br>
_same Qt version_, compiled with the _same compiler_ and the same Qt<br>
configuration settings.<br>
------------------------------------------------------------------------------------------<br>
 <br>
Thanks so much again for your prompt replies, guys--looking at all the
other threads, too, I'm getting to be pretty impressed with this
community.&nbsp; Hope that what I include above makes the nature of my
problem more clear.<br>
<br>
Chris<br clear="all"><br>-- <br>Vin Diesel encases the souls of his enemies in the \
bodies of Golden Retriever puppies.<br>--Random Vin Diesel Fact Generator <a \
href="http://www.4q.cc/vin/">http://www.4q.cc/vin/</a>



_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic