On Wednesday 20 February 2008 07:02:39 pm DJ Lucas wrote:
> Robert Daniels wrote:
> > I have nearly finished building kde-3.5.9, only have kdemultimedia and
> > kdeaddons left.  I am working on getting a patch together to update the
> > book, I just need to ask a couple questions.
> >
> > 1) I'm pretty sure I got this right, but to calculate SBU's, I just need
> > to do time { build commands } and divide by the time for binutils in lfs,
> > correct? I'm mostly asking because a couple of my measurements came up a
> > good deal higher than what's in the book (about 30% higher actually). 
> > Most are close to the same though.
>
> Yes, the time of the first pass static binutils build in chapter 5.
>
> > 2) What does the "Estimated disk space required" actually measure? Is it
> > just what's installed, or does it include the build tree, or what?
>
> Extracted build tree and installed size.  There are various ways to get
> this, the easiest is to use df before and after the build.  I personally
> use DESTDIR in my builds, and use 'du -shk' on the build tree and the
> target DESTDIR after installation.
>
> > 3) When I have everything ready, how do you want the patch submitted?  I
> > figured out 'svn diff' (I'm so smart), is this acceptable, or is there
> > another way to create a patch you would prefer?
>
> That would be perfect!  However, there are more things to test before it
> can committed.  I know OOo (a huge time consuming beast) was broken when
> building against 3.5.8.  I'll get KDE built as soon as you get that
> patch in here though, and get to work on that breakage for OOo.  Let us
> know if you find any breakage as you go through the rest of the packages
> that you build. and thank you very much for the help.
>
> -- DJ Lucas

OK, here's a patch to update to kde-3.5.9.

A couple points of interest:
1)  A problem with the build system of kdelibs and kdebase keep them from find 
qt (kdelibs) or kdelibs (kdebase).  This only seems to happen if the relevant 
libraries are installed in /opt.  I did a test installing everything in /usr, 
and the commands worked as normal.  However, using /opt, I had to set 
LD_LIBRARY_PATH.  What's strange is that configure does find the libraries, 
but make does not.  I did set up /etc/ld.so.conf, but that did not work.

I did document this in the command explanation section, perhaps you could take 
a look at the wording, assuming you can verify this problem occurs for you.

2) The python kdebindings build barfs when trying to link to qt.  The problem 
here is that it finds both libqt-mt and libqt ( which is just a link to 
libqt-mt ), and it can't deal with the choice.  A message is printed about 
a -y option to select the proper libqt, but I'm not sure how to provide this 
from either the top-level configure or a sed somewhere.  I worked around this 
by just removing the libqt link, and putting it back after the build.

This is not documented in the patch, as I don't know how you guys want to 
handle this in the book.

3) Added sizes and times for every package that has api documentation.  A 
couple were missing.

4) Lastly, my build times for several packages were pretty inconsistent when 
repeated.  It would be good to get some other input here and get some kind of 
average.

I think that's about it, any feedback is appreciated.

Robert
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to