Konq/E CVS Head

Keith Kyzivat konq-e@mail.kde.org
Fri, 14 Mar 2003 09:20:25 -0500


This is a multi-part message in MIME format.
--------------060008060800060907030204
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Luciano Montanaro wrote:

>torsdag 13 mars 2003, 19:51, skrev Keith Kyzivat:
>
>  
>
>>Here's the steps I took, and their results (see attached output files):
>>1.) I pulled the kdenox (head) and kdelibs (KDE_3_1_BRANCH) modules,
>>both in the same directory.
>>2.) Changed to the kdenox directory, and ran make -f Makefile.cvs,
>>    Received some 'Deprecated' warnings which I assume are to be
>>expected, and some cp and rm errors, which I wouldn't expect.
>>    
>>
>
>They are 'normal'. I didn't remove all the cp/rm that are not needed for 
>kdelibs3.1, but were for kdelibs3.0. Maybe it's time to clean up 
>prepare_kde_sources. And to make patches relative to current sources.
>
ahh.. I see.  Hmm.. though I think I saw those initial 3(?) rm and cp 
errors when I tried the build with KDE_3_0_BRANCH mistakenly earlier 
yesterday.

>>kdenox/konq-embed/kdesrc/kio/http/kio/http.h:In file included from:
>>    | ../../../../konq-embed/dropin/kio/slavebase.cpp:32:|
>>    |../../../../konq-embed/dropin/kio/../../kdesrc/kio/http/http.h:39:
>>
>>    kio/http.h: No such file or directory|
>>
>>This doesn't look quite right.  Is there really supposed to be a kio
>>directory underneath kio/http?
>>    
>>
>The kio directory in question should be under kdesrc/interfaces.
>Can you check if in the Makefile.am the INCLUDES macro contains 
>$(srcdir)/../../interfaces ?
>
I figured out what the problem was late last night.  Turns out it's a 
vpath problem...
I was trying to build kdenox from within a build directory (i.e. from 
kdenox/build: ../configure <opts>)
My gmake works fine for vpath builds, but I guess kdenox doesn't play 
nice with it.
I'm not familiar enough with the automake/autoconf yet to figure out how 
it might be fixed, but
it might be worthy of spinning some low-priority cycles on sometime when 
I get more familiar with it.

btw, the kio/interfaces include does look fine from here:|
    [keithel@yuzuki kdenox]$ find . -name Makefile.am | xargs grep -B 3 
interfaces
    ./konq-embed/dropin/kio/Makefile.am-
    ./konq-embed/dropin/kio/Makefile.am-INCLUDES = -I$(srcdir)/.. 
-I$(srcdir)/../../kdesrc/kdecore -I$(srcdir)/../../kdesrc \
    ./konq-embed/dropin/kio/Makefile.am-       
-I$(srcdir)/../../kdesrc/kio/http -I$(srcdir)/../../kdesrc/kio \
    ./konq-embed/dropin/kio/Makefile.am:       -I../../kdesrc/kio/http 
-I../../kdesrc/interfaces \
    --
    ./konq-embed/kdesrc/kio/http/Makefile.am-
    ./konq-embed/kdesrc/kio/http/Makefile.am-INCLUDES = 
-I$(srcdir)/../../../dropin -I$(srcdir)/../../kdecore     
-I$(srcdir)/../.. \
    ./konq-embed/kdesrc/kio/http/Makefile.am-          
-I$(srcdir)/../../../dropin/kio -I$(srcdir)/../../kssl \
    ./konq-embed/kdesrc/kio/http/Makefile.am:          
-I$(srcdir)/../../interfaces \|


~Keith

--------------060008060800060907030204
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body>
Luciano Montanaro wrote:<br>
<blockquote type="cite"
 cite="mid200303141036.15617.mikelima@virgilio.it">
  <pre wrap="">torsdag 13 mars 2003, 19:51, skrev Keith Kyzivat:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Here's the steps I took, and their results (see attached output files):
1.) I pulled the kdenox (head) and kdelibs (KDE_3_1_BRANCH) modules,
both in the same directory.
2.) Changed to the kdenox directory, and ran make -f Makefile.cvs,
    Received some 'Deprecated' warnings which I assume are to be
expected, and some cp and rm errors, which I wouldn't expect.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
They are 'normal'. I didn't remove all the cp/rm that are not needed for 
kdelibs3.1, but were for kdelibs3.0. Maybe it's time to clean up 
prepare_kde_sources. And to make patches relative to current sources.</pre>
</blockquote>
ahh.. I see.&nbsp; Hmm.. though I think I saw those initial 3(?) rm and cp
errors when I tried the build with KDE_3_0_BRANCH mistakenly earlier
yesterday.<br>
<br>
<blockquote type="cite"
 cite="mid200303141036.15617.mikelima@virgilio.it">
  <blockquote type="cite">
    <pre wrap="">kdenox/konq-embed/kdesrc/kio/http/kio/<a class="moz-txt-link-freetext" href="http.h:In">http.h:In</a> file included from:
    | ../../../../konq-embed/dropin/kio/<a class="moz-txt-link-freetext" href="slavebase.cpp:32:">slavebase.cpp:32:</a>|
    |../../../../konq-embed/dropin/kio/../../kdesrc/kio/http/<a class="moz-txt-link-freetext" href="http.h:39:">http.h:39:</a>

    kio/http.h: No such file or directory|

This doesn't look quite right.  Is there really supposed to be a kio
directory underneath kio/http?
    </pre>
  </blockquote>
  <pre wrap="">
The kio directory in question should be under kdesrc/interfaces.
Can you check if in the Makefile.am the INCLUDES macro contains 
$(srcdir)/../../interfaces ?</pre>
</blockquote>
I figured out what the problem was late last night.&nbsp; Turns out it's a
vpath problem...<br>
I was trying to build kdenox from within a build directory (i.e. from
kdenox/build: ../configure &lt;opts&gt;)<br>
My gmake works fine for vpath builds, but I guess kdenox doesn't play
nice with it.<br>
I'm not familiar enough with the automake/autoconf yet to figure out
how it might be fixed, but<br>
it might be worthy of spinning some low-priority cycles on sometime
when I get more familiar with it.<br>
<br>
btw, the kio/interfaces include does look fine from here:<code><br>
&nbsp;&nbsp;&nbsp; [keithel@yuzuki kdenox]$ find . -name Makefile.am | xargs grep -B 3
interfaces<br>
&nbsp;&nbsp;&nbsp; ./konq-embed/dropin/kio/Makefile.am-<br>
&nbsp;&nbsp;&nbsp; ./konq-embed/dropin/kio/Makefile.am-INCLUDES = -I$(srcdir)/..
-I$(srcdir)/../../kdesrc/kdecore -I$(srcdir)/../../kdesrc \<br>
&nbsp;&nbsp;&nbsp; ./konq-embed/dropin/kio/Makefile.am-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-I$(srcdir)/../../kdesrc/kio/http -I$(srcdir)/../../kdesrc/kio \<br>
&nbsp;&nbsp;&nbsp; ./konq-embed/dropin/kio/<a class="moz-txt-link-freetext" href="Makefile.am:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;">Makefile.am:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a> -I../../kdesrc/kio/http
-I../../kdesrc/interfaces \<br>
&nbsp;&nbsp;&nbsp; --<br>
&nbsp;&nbsp;&nbsp; ./konq-embed/kdesrc/kio/http/Makefile.am-<br>
&nbsp;&nbsp;&nbsp; ./konq-embed/kdesrc/kio/http/Makefile.am-INCLUDES =
-I$(srcdir)/../../../dropin -I$(srcdir)/../../kdecore &nbsp;&nbsp;&nbsp;
-I$(srcdir)/../.. \<br>
&nbsp;&nbsp;&nbsp; ./konq-embed/kdesrc/kio/http/Makefile.am-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-I$(srcdir)/../../../dropin/kio -I$(srcdir)/../../kssl \<br>
&nbsp;&nbsp;&nbsp; ./konq-embed/kdesrc/kio/http/<a class="moz-txt-link-freetext" href="Makefile.am:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;">Makefile.am:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
-I$(srcdir)/../../interfaces \</code><br>
<br>
<br>
<div class="moz-signature">~Keith<br>
</div>
</body>
</html>

--------------060008060800060907030204--