Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Trouble installing bundle-kde with FinkCommander

Trouble installing bundle-kde with FinkCommander
Thread Tools
Forum Regular
Join Date: Mar 2001
Location: Brookfield, CT, USA
Status: Offline
Reply With Quote
Feb 26, 2003, 08:16 AM
 
I've installed Apple's X11 Public Beta, fink, and FinkCommander. My NeXTStep was to install bundle-kde with FinkCommander. It downloaded all the stuff, and at the end I get the following error:

- found apple library
- found X plugin includes
- found /usr/X11R6/bin/xterm
- found /usr/X11R6/bin/xrdb
- found /usr/X11R6/bin/rman
- missing /usr/X11R6/lib/libX11.dylib
- missing /usr/X11R6/lib/libXpm.dylib
- missing /usr/X11R6/lib/libXaw.dylib
- missing /usr/X11R6/include/X11/Xlib.h

Your XFree86 installation is missing or incomplete. Please make sure you have
an XFree86 release installed and retry the installation of the system-xfree86
package.

The following XFree86 software is compatible with system-xfree86:

XonX (from the XFree86 Project):
http://sourceforge.net/project/showf...group_id=18034

Apple X11:
http://www.apple.com/macosx/x11/

I've done this on two different OS X machines (10.2.4) and gotten the same error. What am I doing wrong and/or how do I get those missing libraries?

Thanks in advance,

Steve
     
Forum Regular
Join Date: Sep 2000
Location: The dark side of the moon
Status: Offline
Reply With Quote
Feb 26, 2003, 09:55 AM
 
Did you download Apple's SDK?

You can download it from Apple's X11 page, just look in the lower right corner. (it's only 3.9 MB big)
     
scip  (op)
Forum Regular
Join Date: Mar 2001
Location: Brookfield, CT, USA
Status: Offline
Reply With Quote
Feb 26, 2003, 10:27 AM
 
Yes, subsequently to posting my first message, I managed to find on the web that the Apple SDK is needed. I downloaded and installed that and was able to install bundle-kde successfully. Now, I can't seem to do anything with it. I launch X11 and a terminal window opens but nothing happens. I've created an .xinitrc file in my home directory and added a single line to it that says startkde. Is that correct?

Now, what happens is the X11 terminal window comes up, but the title bar is off the top of my screen so I can't move it.

Ok, so I've looked at the package info for bundle-kde and it says to add the following line to your .xinitrc file:

/sw/bin/init.sh /sw/binstartkde >/sw/var/log/kde.log 2>&1

I did that and still nada. Or at least it *appears* that nothing is happening. What I'm expecting is to see the kde window/desktop/whatever you call it load so I get windows like the screenshots that are posted on kdg.org. No?

What gives?

Steve
(Last edited by scip; Feb 26, 2003 at 10:41 AM. )
     
Mac Elite
Join Date: Mar 2001
Location: Provo, UT
Status: Offline
Reply With Quote
Feb 26, 2003, 12:06 PM
 
I don't know what is wrong in your particular case. However I found I got best results installing KDE by compiling it using Fink rather than a binary install. (You didn't mention how you did it) If you installed it prior to the X11 SDK install there is a small chance something didn't configure correctly. (I can't say for sure - I was running KDE under XDarwin and it ran fine when I installed X11.app) Anyway with X11.app I did have various unusual problems that ended when I installed and compiled the source. Be aware that it takes a long time though. Start it before you go to bed and let it run all night.
     
scip  (op)
Forum Regular
Join Date: Mar 2001
Location: Brookfield, CT, USA
Status: Offline
Reply With Quote
Feb 26, 2003, 12:48 PM
 
Originally posted by clarkgoble:
I don't know what is wrong in your particular case. However I found I got best results installing KDE by compiling it using Fink rather than a binary install. (You didn't mention how you did it) If you installed it prior to the X11 SDK install there is a small chance something didn't configure correctly
I used FinkCommander to do the install. I didn't install the SDK before trying to install kde, so after FinkComm complained about missing libraries, I downloaded and installed the SDK. I then went back to FC and installed kde again, and it seemed to pick up where it left off, meaning it identified the packages that were missing, and installed them.

What should I expect now? When I launch X11, how do I get kde to load?

Since I'm running low on disk space, does fink keep the original install archives on disk (similar to a .pkg file in OS X that you can keep on disk if you wish) or does it "cleanup" after itself automatically? Where do I look for that stuff?
     
Forum Regular
Join Date: Sep 2000
Location: The dark side of the moon
Status: Offline
Reply With Quote
Feb 26, 2003, 05:48 PM
 
Can you show us what your .xinitrc file looks like please? It might help. Just open up a new terminal window and type "cat .xinitrc", then paste the resulting text-output here.

You shouldn't need to reinstall anything, at least from what I can gather by your description of what you have done so far.


Edit:
Almost forgot, there is a cleanup command you can use; in FinkCommander, select "Source" -> "Utilities" -> "Cleanup". Authenticate, and it's done.
(Last edited by warpmoon; Feb 26, 2003 at 05:56 PM. )
     
scip  (op)
Forum Regular
Join Date: Mar 2001
Location: Brookfield, CT, USA
Status: Offline
Reply With Quote
Feb 26, 2003, 06:07 PM
 
[QUOTE]Originally posted by warpmoon:
[B]Can you show us what your .xinitrc file looks like please? It might help. Just open up a new terminal window and type "cat .xinitrc", then paste the resulting text-output here.

My .xinitrc file looks like this:

source /sw/bin/init.sh /sw/bin/startkde >/sw/var/log/kde.log 2>&1

I've also tried a .xinitrc file with nothing but this:

startkde

When either of these files are present (separately of course) the X11 term window's title bar gets pushed up behind the menu bar such that I can't move it around...so, it's obviously seeing the file, and not liking something. When I delete the .xinitrc file, the term window displays normally (with the title bar visible and able to be dragged).

Let me clarify a little here. When I have an .xinitrc file with the following:

source /sw/bin/init.sh /sw/bin/startkde >/sw/var/log/kde.log 2>&1

I see the X11 "X" cursor, but nothing else. It's as if it's trying to do something.

Here's a question that's somewhat related. It seems that BBEdit does not allow you to create a file with a . (a period) as the first character of the filename. Not a major deal, since I just went into my home directory via the terminal and created an empty file with touch, then was able to open/edit it with BBEdit, but I wonder why Barebones doesn't allow you to specify a period as the first char. of a filename so you can intentionally create an invisible file...? Perhaps I'll email them.

One final note: I've got two OS X machines both running 10.2.4 and both having the same exact problem, so I must really be missing something here.

Thanks again,

Steve
     
Forum Regular
Join Date: Sep 2000
Location: The dark side of the moon
Status: Offline
Reply With Quote
Feb 26, 2003, 06:25 PM
 
Those commands should be on two seperate lines, like such:

source /sw/bin/init.sh
/sw/bin/startkde >/sw/var/log/kde.log 2>&1



(also, just incase, make sure there's at least one clear line after the last command in the file)
     
scip  (op)
Forum Regular
Join Date: Mar 2001
Location: Brookfield, CT, USA
Status: Offline
Reply With Quote
Feb 26, 2003, 06:40 PM
 
Originally posted by warpmoon:
Those commands should be on two seperate lines, like such:

source /sw/bin/init.sh
/sw/bin/startkde >/sw/var/log/kde.log 2>&1

(also, just incase, make sure there's at least one clear line after the last command in the file)
Ok, did that, just like above. Still no workie. {shrugs}
     
Forum Regular
Join Date: Sep 2000
Location: The dark side of the moon
Status: Offline
Reply With Quote
Feb 26, 2003, 07:27 PM
 
Start up the console.app located in /Applications/Utilities/ before you start X11. Look in the console.log window for new text similar to this:

XFree86 Version 4.2.1 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 3 September 2002
If the server is older than 6-12 months, or if your hardware is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/FAQ)
Operating System: Darwin OSVendor
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
PseudoramiX screen 0 added: 1024x746 @ (0,22).
PseudoramiX screen 0 placed at X11 coordinate (0,22)
....

(and so on)

...
Paste everything that comes up after you try to start X11 here, please.
     
Forum Regular
Join Date: Sep 2000
Location: The dark side of the moon
Status: Offline
Reply With Quote
Feb 26, 2003, 07:46 PM
 
One more thing, did you specifically select Unix line breaks in BBEdit when you saved the file? (You can select it if you press the Options button in the save window)
     
scip  (op)
Forum Regular
Join Date: Mar 2001
Location: Brookfield, CT, USA
Status: Offline
Reply With Quote
Feb 27, 2003, 07:06 AM
 
Originally posted by warpmoon:
One more thing, did you specifically select Unix line breaks in BBEdit when you saved the file? (You can select it if you press the Options button in the save window)
Yep, I made sure I saved the file with Unix line breaks. This is the output of the console.log:

XFree86 Version 4.2.1 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 3 September 2002
If the server is older than 6-12 months, or if your hardware is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/FAQ)
Operating System: Darwin OSVendor
PseudoramiX screen 0 added: 800x578 @ (0,22).
PseudoramiX screen 0 placed at X11 coordinate (0,22).
[DRI] screen 0 installation complete
Screen 0 added: 800x600 @ (0,0)
/Users/steve/.xinitrc: /sw/var/log/kde.log: Permission denied

I wonder if that Permission denied has anything to do with it...? hmmmm
     
Fresh-Faced Recruit
Join Date: Mar 2002
Status: Offline
Reply With Quote
Feb 27, 2003, 07:54 AM
 
I had a similar problem recently and found that the command in xinitrc:

/sw/bin/startkde >/sw/var/log/kde.log 2>&1

was causing an error due to permission problems with the log file. I dropped the logging function and KDE now runs fine.

/sw/bin/startkde
     
scip  (op)
Forum Regular
Join Date: Mar 2001
Location: Brookfield, CT, USA
Status: Offline
Reply With Quote
Feb 27, 2003, 09:02 AM
 
Originally posted by Ken Jacobs:
I had a similar problem recently and found that the command in xinitrc:

/sw/bin/startkde >/sw/var/log/kde.log 2>&1

was causing an error due to permission problems with the log file. I dropped the logging function and KDE now runs fine.

/sw/bin/startkde
Yes, what I ended up doing was looking at the console.log (per the sugg. of another user on this forum) and I saw the permission denied error. I redirected the kde.log to my home directory, and it fired up.

I still have the problem where the X11 term window is being pushed up off the top left of the screen, and this also happened when I fired up the Konqueror web browser.

How do you switch between the Finder and the kde? kde seems to take over the entire screen (I guess that's what's called root mode?).

Thanks again,

Steve
     
Senior User
Join Date: Dec 2001
Status: Offline
Reply With Quote
Feb 27, 2003, 09:17 AM
 
Before the 'startkde' line in your put a line reading 'quartz-wm &'. Don't forget the '&', it is very important. This will start Apple's window manager instead of KDE's kwin. Only Apple's window manager respects the menubar. To remove the KDE desktop, there is an option in kcontrol that reads something like "use KDE to draw the desktop". Uncheck that option.
"Think Different. Like The Rest Of Us."

iBook G4/1.2GHz | 1.25GB | 60GB | Mac OS X 10.4.2
Athlon XP 2500+/1.83GHz | 1GB PC3200 | 120GB | Windows XP
     
Fresh-Faced Recruit
Join Date: Mar 2002
Status: Offline
Reply With Quote
Feb 27, 2003, 01:43 PM
 
I am not running the Apple version of X86 and have not had your problem, so perhaps the previous reply is the solution.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 05:43 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2