Re: KDE MIME issues

2008-10-11 Thread William Tracy
Gah.

I spent a week doing clean rebuild after rebuild of KDE under a
chroot, whenever I had some free time to play around. I never did
manage to make the KSVG errors go away.

This morning, I finally got around to building strace, and actually
booted to the LFS partition to try it. Lo and behold, KDE magically is
working.

I'm not sure what change I made that fixed it; I'm not even sure
anymore how many changes I made. :-P

My best guess: Since I was installing under /usr instead of /opt, I
assumed that I didn't need to update /etc/ld.so.conf or
/etc/man_db.conf. (I interpreted the line If you are not installing
KDE in /usr, you will need to make some configuration changes to mean
that the rest of the instructions on that page only applied to
installing under /opt.)

At some point during the week, I know I manually added /usr/lib and
/usr/man respectively to these files. Maybe that's what did it. :-P

Anyway, I am happier now. :-) Thanks for the messages, and I'm glad
strace was brought up. That looks neat!

William
(Posting from Konqueror in KDE under LFS!)

-- 
William Tracy
[EMAIL PROTECTED] -- [EMAIL PROTECTED]
Vice President, Cal Poly Linux Users' Group
http://www.cplug.org
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: KDE MIME issues

2008-10-09 Thread Agathoklis D. Hatzimanikas
On Wed, Oct 08, at 10:05 Dan Nicholson wrote:
 On Wed, Oct 8, 2008 at 9:00 PM, Trent Shea [EMAIL PROTECTED] wrote:
  On Wednesday 08 October 2008 11:00:13 Dan Nicholson wrote:
  strace -f -eopen kdesktop
 
  That's fantastic.
 
  I'm going to have to spend some time on this page!
  http://www.linuxfromscratch.org/blfs/view/stable/general/other-tools.html
 
 I actually have a couple patches I never really finished off to add
 strace and gdb to BLFS. To me, they're essential debugging tools.

I agree that they are quite essential. Also some examples, on the same page
or in the wiki, or even some pointers to tutorials, would be more than 
welcomed.

 I'll try to get that finished off soon.

And git, don't forget the git. :)

 Dan

Regards,
Ag.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: KDE MIME issues

2008-10-08 Thread Dan Nicholson
On Tue, Oct 7, 2008 at 9:36 PM, William Tracy [EMAIL PROTECTED] wrote:
 At this point I would want to confirm that kdelibs did indeed build and
 install correctly, and to maybe run ldconfig before trying to build
 kdebase again.

 ldconfig doesn't seem to fix anything.

 I went through several rebuilds (make uninstall, then make clean, then
 follow the build instructions again) trying to see if I screwed up an
 environment variable or something. No dice.

 Anything in particular you would recommend looking at when trying see
 whether kdelib built correctly?

I'm not a KDE person, so this is just a wild guess looking at the
files that are installed by kdelibs. I have a directory full of
protocols and other stuff in /usr/share/service. In particular, I see
/usr/share/services/http.protocol. Maybe you're missing this file or
the applications are looking in the wrong location. strace might help
here. Something like:

strace -f -eopen kdesktop

And then look at all the places it's trying to open and see if they
match your installation.

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


Re: KDE MIME issues

2008-10-08 Thread Trent Shea
On Wednesday 08 October 2008 11:00:13 Dan Nicholson wrote:
 strace -f -eopen kdesktop

That's fantastic.

I'm going to have to spend some time on this page!
http://www.linuxfromscratch.org/blfs/view/stable/general/other-tools.html


strace /opt/qt-3.3.8b/bin/assistant  assistant 21
grep -c directory assistant
:~$ 553

strace /opt/qt-4.4.3/bin/assistant  assistant 21
grep -c directory assistant
:~$ 356

Yikes... Programmers have such dirty habits!
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: KDE MIME issues

2008-10-07 Thread William Tracy
 At this point I would want to confirm that kdelibs did indeed build and
 install correctly, and to maybe run ldconfig before trying to build
 kdebase again.

ldconfig doesn't seem to fix anything.

I went through several rebuilds (make uninstall, then make clean, then
follow the build instructions again) trying to see if I screwed up an
environment variable or something. No dice.

Anything in particular you would recommend looking at when trying see
whether kdelib built correctly?

Otherwise, Real Life is getting hectic enough that I'm about ready to
just drop this.

-- 
William Tracy
[EMAIL PROTECTED] -- [EMAIL PROTECTED]
Vice President, Cal Poly Linux Users' Group
http://www.cplug.org
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: KDE MIME issues

2008-10-05 Thread William Tracy
I'm trying a clean rebuild of KDE, and kdebase build chokes with this:

./.libs/libkdeinit_kdesktop.so: undefined reference to
`KSVGIconEngine::KSVGIconEngine()'
./.libs/libkdeinit_kdesktop.so: undefined reference to
`KSVGIconEngine::~KSVGIconEngine()'
./.libs/libkdeinit_kdesktop.so: undefined reference to
`KSVGIconEngine::load(int, int, QString const)'
./.libs/libkdeinit_kdesktop.so: undefined reference to `KSVGIconEngine::image()'

I have no idea if this is new, or if I just missed it the first time
around, and that's how I got a mostly-broken KDE.

Google dredged up a few people that ran into this problem when
building from SVN head, but I can't find any reference to anyone
having this problem with a stable release.

I can't find any evidence of a KSVG package outside of kdebase or
kdelib. Could there be a dependency I missed somewhere?

-- 
William Tracy
[EMAIL PROTECTED] -- [EMAIL PROTECTED]
Vice President, Cal Poly Linux Users' Group
http://www.cplug.org
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: KDE MIME issues

2008-10-05 Thread Trent Shea
On Sunday 05 October 2008 19:07:45 William Tracy wrote:
 I can't find any evidence of a KSVG package outside of kdebase or
 kdelib. Could there be a dependency I missed somewhere?

As long as you have Qt and X installed you should not run into any 
dependency problems. I've build 3.5.9 and 3.5.10 in recent months and 
not run into this.

At this point I would want to confirm that kdelibs did indeed build and 
install correctly, and to maybe run ldconfig before trying to build 
kdebase again.


Good luck,
Trent.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


KDE MIME issues

2008-10-02 Thread William Tracy
Hello,

I'm trying to get KDE 3.5.9 working on my BLFS system. For simplicity,
I installed it under /usr. Right now, it has some issues with MIME
types.

When I launch my startx script (containing the line exec startkde) I
get the KDE startup screen and the KDE window manager, but not much
else. (Artsd does launch, and then complains because I screwed up ALSA
somewhere. I'm not very worried about that right now.)

If I include xterm in my startx script, I can manually launch kicker
and kdesktop from there. (I'm not sure if startkde is misconfigured,
or if I'm just supposed to manually start those components.)

The first time I select the Kicker menu, I get the error:

Malformed URL:
System:/

The menu appears after I dismiss the dialog box.

When I launch kdesktop, I get the error:

Malformed URL:
file:///root/Desktop

After I dismiss the dialog box, I get a desktop with no icons.

Konqueror also has apparently never heard of that obscure protocol
called http. ;-)

I did build desktop-file-utils-0.13, but was fuzzy on where to place
the configuration commands that are supposed to go in the user or
system-wide profile. It's not obvious to me that putting them in
.bashrc would work, so I dumped them into my .xinitrc. What's a saner
location?

When nothing else worked, I tried building shared-mime-info-0.21, but
its presence doesn't seem to help.

So, am I making some simple and stupid mistake? :-)

-- 
William Tracy
[EMAIL PROTECTED] -- [EMAIL PROTECTED]
Vice President, Cal Poly Linux Users' Group
http://www.cplug.org
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: KDE MIME issues

2008-10-02 Thread Trent Shea

On Thu, 02 Oct 2008 11:48:27 -0700, William Tracy [EMAIL PROTECTED]
wrote:

Hi,


If I include xterm in my startx script, I can manually launch kicker
and kdesktop from there. (I'm not sure if startkde is misconfigured,
or if I'm just supposed to manually start those components.)

You should not have to manually start these.



I did build desktop-file-utils-0.13, but was fuzzy on where to place
the configuration commands that are supposed to go in the user or
system-wide profile. It's not obvious to me that putting them in
.bashrc would work, so I dumped them into my .xinitrc. What's a saner
location?

I'm afraid I can't help with this, other than to mention that I've had
both kde-3.5.9 and 3.5.10 running without building dekstop-file-utils or
shared-mime-info.


So, am I making some simple and stupid mistake? :-)

probably not ;)


I've attached a list of programs I have installed. The list mirrors the
install order; any duplicate entries are programs that were re-installed
for whatever reason.


Hope this helps,
Trent.

installed programs
Description: Binary data
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page