Go Back   The macosxhints Forums > OS X Help Requests > UNIX - X11



Reply
 
Thread Tools Rate Thread Display Modes
Old 09-17-2003, 07:51 AM   #1
junior
Prospect
 
Join Date: Sep 2003
Posts: 8
Windowmaker crash after install

Hello,

I have just installed Windowmaker, after setup completed I loaded X11 and got this error:

"The application menu could not be loaded. Look at the console output for a detailed description of the errors"

This is the crash.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
_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).
[DRI] screen 0 installation complete
Screen 0 added: 1024x768 @ (0,0)
wmaker warning: could not read domain "WindowMaker" from defaults database
wmaker warning: could not read domain "WMRootMenu" from defaults database
wmaker warning: could not read domain "WMWindowAttributes" from defaults database
wmsetbg warning: could not open domain file /Users/asaf/GNUstep/Defaults/WindowMaker
wmsetbg warning: could not open domain file /Users/asaf/GNUstep/Defaults/WindowMaker
wmaker warning: could not load logo image for panels: no error
Sep 17 15:46:08 genie crashdump: Crash report written to: /Users/asaf/Library/Logs/CrashReporter/wmaker.crash.log

2003-09-17 15:46:09.133 Console[2311] Exception raised during posting of notification. Ignored. exception: *** NSRunStorage, _NSBlockNumberForIndex(): index (8078) beyond array bounds (8078)
wmaker fatal error: got signal 10 (Bus error)


Any ideas/suggestions?

Note: X11 runs fine with quartz-wm
junior is offline   Reply With Quote
Old 09-17-2003, 08:28 AM   #2
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
junior,

Please, more info:

sw_vers

Which version of Apple's X11?

How did you installed windowmaker and which version?
sao is offline   Reply With Quote
Old 09-17-2003, 08:41 AM   #3
junior
Prospect
 
Join Date: Sep 2003
Posts: 8
Versions:
1. X11 Beta 3 - XFree86 4.2.1
2. Windowmaker version 0.80.1 , installed today using Fink "sudo apt-get install windowmaker"
junior is offline   Reply With Quote
Old 09-17-2003, 09:12 AM   #4
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
junior,

Run in terminal.app the command:

wmaker.inst

this command will create and set up automatically the .xinitrc file in your home directory to use windowmaker, and also will create a bunch of subdirectories for user customization purposes.


For more info on windowmaker, you will find a lot of documentation in /sw/share/doc/windowmaker/

Also, if you want to know what files fink installed, then run in terminal.app:

dpkg -L windowmaker

Last edited by sao; 09-17-2003 at 10:31 AM.
sao is offline   Reply With Quote
Old 09-18-2003, 04:17 AM   #5
junior
Prospect
 
Join Date: Sep 2003
Posts: 8
I have tried all your suggestions with no luck. still get these errors.

Is there another stable Window Manager I can use?

Thx for all the help!
junior is offline   Reply With Quote
Old 09-18-2003, 08:00 AM   #6
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
junior,

Please, post a copy of your ~/.xinitrc file.
sao is offline   Reply With Quote
Old 09-18-2003, 08:22 AM   #7
junior
Prospect
 
Join Date: Sep 2003
Posts: 8
my .xinitrx:

# Window Maker default X session startup script

PATH="$PATH:/sw/bin"

# If you login from xdm, uncomment this to make error messages appear
# in the console window.
#
# tail -f /Users/asaf/.xsession-errors > /dev/console &

#exec quartz-wm
exec wmaker
junior is offline   Reply With Quote
Old 09-18-2003, 10:53 AM   #8
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
junior,

Try the following:

You should "source init.sh" right at the beginning of your ~/.xinitrc file to make sure the environment is set up correctly:
Code:
# Window Maker default X session startup script
 
source /sw/bin/init.sh

#PATH="$PATH:/sw/bin"
 
# If you login from xdm, uncomment this to make error messages appear
# in the console window.
#
# tail -f /Users/asaf/.xsession-errors > /dev/console &
 
#exec quartz-wm
exec wmaker
Then start Apple's X11 and see if it works now with windowmaker.

Also, please post the result of:

% echo $PATH

and

% fink list -i xfree86
sao is offline   Reply With Quote
Old 09-18-2003, 12:00 PM   #9
junior
Prospect
 
Join Date: Sep 2003
Posts: 8
Tried with no luck

Result of echo $PATH
/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin

Result of fink list -i xfree86
Information about 1277 packages read in 1 seconds.
junior is offline   Reply With Quote
Old 09-18-2003, 10:51 PM   #10
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
junior,

Never seen your error message before. Let's dig a little more. Please, run in terminal.app and post the result of:

fink -V

sw_vers

fink list -i system-xfree86
sao is offline   Reply With Quote
Old 09-19-2003, 03:20 PM   #11
junior
Prospect
 
Join Date: Sep 2003
Posts: 8
sao, thanks for all the help.

fink -V
Package manager version: 0.13.2
Distribution version: 0.5.3

Copyright (c) 2001 Christoph Pfisterer
Copyright (c) 2001-2003 The Fink Package Manager Team
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

sw_vers
ProductName: Mac OS X
ProductVersion: 10.2.6
BuildVersion: 6L60

fink list -i system-xfree86
Information about 1277 packages read in 2 seconds.
junior is offline   Reply With Quote
Old 09-19-2003, 03:43 PM   #12
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
junior,

Wow, it seems you haven't installed Fink's 'system-xfree86'.

To work with Apple's X11 and Fink, you need to install the Fink package 'system-xfree86', version 4.2-11 or higher. ( Is just a necessary placeholder package that Fink uses to "recognize" your Apple's X11 installation)

To install it, run the following commands in terminal.app or using FinkCommander:

For a binary install:

'sudo apt-get update'
'sudo apt-get install system-xfree86'
sao is offline   Reply With Quote
Old 09-20-2003, 02:21 AM   #13
junior
Prospect
 
Join Date: Sep 2003
Posts: 8
It appears I also missing the SDK... this is what I get
after sudo apt-get install system-xfree86, going to look for the SDK now, I'll update you...


Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
system-xfree86
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
9 packages not fully installed or removed.
Need to get 0B/3044B of archives. After unpacking 0B will be used.
(Reading database ... 4273 files and directories currently installed.)
Unpacking system-xfree86 (from .../system-xfree86_4.2-11_darwin-powerpc.deb) ...

- found apple library
- 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
- Apple X11 SDK is missing

** ERROR! **
It appears you have a partially-installed version of the Apple X11
release. To use Apple's X11 with Fink, you must download both the
main X11 installer, as well as the SDK (there are actually 2 separate
downloads for the Apple X11 release). Please go to
http://www.apple.com/macosx/x11/ and download and install the missing
files, and re-attempt your install of system-xfree86.

dpkg: error processing /sw/var/cache/apt/archives/system-xfree86_4.2-11_darwin-powerpc.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/sw/var/cache/apt/archives/system-xfree86_4.2-11_darwin-powerpc.deb
E: Sub-process /sw/bin/dpkg returned an error code (1)

Last edited by junior; 09-20-2003 at 02:28 AM.
junior is offline   Reply With Quote
Old 09-20-2003, 03:10 AM   #14
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Junior,

Yes, you also need to install Apple's SDK.

There is a lot of info on this forum on what you need to install to work with Apple's X11 and Fink.

Next time, I suggest you do your homework.
sao is offline   Reply With Quote
Old 09-21-2003, 03:15 AM   #15
junior
Prospect
 
Join Date: Sep 2003
Posts: 8
Sao,

Thank you very much for your help!

I've uninstalled X11, X11 SDK, Fink and Windowmaker.

Reinstall everything correctly and now I have X11 with Windowmaker working like a charm.

Thanks much for the great help!!!

/junior

Last edited by junior; 09-21-2003 at 05:19 AM.
junior is offline   Reply With Quote
Old 09-21-2003, 04:42 AM   #16
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
junior,

Glad you got it working!
sao is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting 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

Forum Jump



All times are GMT -5. The time now is 02:36 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.