9624 [Solved] emacs-devel, glib, g_spaw_sync() error - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old December 24th, 2011, 16:40
elfsechsundzwanzig elfsechsundzwanzig is offline
Junior Member
 
Join Date: Dec 2011
Location: Cologne, Germany
Posts: 18
Thanks: 4
Thanked 0 Times in 0 Posts
Default emacs-devel, glib, g_spaw_sync() error

Hello! As this is my first real post here on the forum, I hope I will do everything correctly.

I wanted to install and configure Emacs24 (emacs-devel in ports) over the Christmas holiday. As I am a new user of Emacs I thought it would be better to start with the new version instead of using the old one until the next is offically released. Well, it works without errors when I use it in console-mode (emacs -nw, that is), but when I try to start is as an X client, it throws this error:

Code:
emacs:83827): GLib-WARNING **: In call to g_spawn_sync(), exit status of a child
process was requested but SIGCHLD action was set to SIG_IGN and ECHILD was received by
waitpid(), so exit status can't be returned. This is a bug in the program calling 
g_spawn_sync(); either don't request the exit status, or don't set the SIGCHLD action.
I compiled the recent version from the ports. I got the advice to try a newer version of glib (glib 2.30.x from experimental ports), but that did not work (well, glib does, but emacs still refused to work). I compiled emacs with dbus support, without dbus, with gconf and without gconf, with both, with neither.. Well, it did not change a thing.

I googled the error, found some reports, but no real solution to it.

Does anyone here have the same issue? And has someone maybe - as a Christmas present - a solution?

I'm running FreeBSD 9.0-RC3.

Last edited by DutchDaemon; December 25th, 2011 at 04:01.
Reply With Quote
  #2  
Old December 25th, 2011, 17:12
elfsechsundzwanzig elfsechsundzwanzig is offline
Junior Member
 
Join Date: Dec 2011
Location: Cologne, Germany
Posts: 18
Thanks: 4
Thanked 0 Times in 0 Posts
Default

After googling once more I stumbled upon a solution (and wonder why I didn't find it before). In this blog the following solution is given:

One should enter the following in the .xinitrc:

Code:
exec dbus-launch --exit-with-session ck-launch-session YOUR_WM
At least for me, it works

Last edited by DutchDaemon; December 26th, 2011 at 07:17.
Reply With Quote
Reply

Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error While installing glib-2.28.8 drerzen Installation and Maintenance of FreeBSD Ports or Packages 2 October 11th, 2011 22:01
[Solved] build error on port upgrade devel/apr1 pippo2600 Installation and Maintenance of FreeBSD Ports or Packages 0 June 1st, 2011 15:14
[Solved] Build error for devel/icu ohle Installation and Maintenance of FreeBSD Ports or Packages 7 January 5th, 2011 18:19
[Solved] Error while compiling glib atealus Installation and Maintenance of FreeBSD Ports or Packages 3 August 23rd, 2010 10:03
[Solved] about the ports/editors/emacs/ reinstall error! zyanho Installation and Maintenance of FreeBSD Ports or Packages 12 June 5th, 2010 01:57


All times are GMT +1. The time now is 11:57.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0