Re: [gtk-osx-users] [Gtk-osx-users] LibSoup buid fails HARD

On Apr 8, 2015, at 10:50 AM, Thinus Pollard <thinus pollard co za> wrote:

Hi there

I am trying to build gnucash on OS X 10.10

I have followed all the instructions and am running into some issues:

1. gwenhywfar fails to build

directory.c:207:7: error: implicit declaration of function '_NSGetExecutablePath' is invalid in C99 

This is easy to “fix”: Edit src/os/posix/Makefile and remove the -Werror=Implicit-function-declaration from 
the file, building continues

2. libsoup fails hard

GISCAN   Soup-2.4.gir
Traceback (most recent call last):
 File "/Users/thinus/gnucash-stable/bin/g-ir-scanner", line 55, in <module>
 File "/Users/thinus/gnucash-stable/lib/gobject-introspection/giscanner/", line 517, in 
   ss = create_source_scanner(options, args)
 File "/Users/thinus/gnucash-stable/lib/gobject-introspection/giscanner/", line 430, in 
 File "/Users/thinus/gnucash-stable/lib/gobject-introspection/giscanner/", line 256, in 
 File "/Users/thinus/gnucash-stable/lib/gobject-introspection/giscanner/", line 302, in 
   proc.stdin.write('#ifndef %s\n' % (define, ))
IOError: [Errno 32] Broken pipe
make[3]: *** [Soup-2.4.gir] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
*** Error during phase build of libsoup: ########## Error running make -j 9 *** [50/65]

it crashes python with a dialog box from OS X, I just cannot seem to get past this one.

Anyone else running into this issue?

Yeah, I know about both issues. The Gwenhywfar problem needs the patch tweaked a bit for the new version. I 
did that a couple of days ago but didn't get it completely right for 10.10. The actual fix is to replace 
#include <CoreFoundation/CoreFoundation.h> with #include <mach-o/dyld.h> in 

The g-ir-scanner problem that manifests with libsoup is caused by some weirdness in glib-networking that 
utterly baffles me. The workaround is to select '4 - open a shell' from the jhbuild menu, then
  cd ../glib-networking-2.42.1
  make uninstall && make install
Then ctrl-d to quit the shell and select "1 - rerun phase build`.

John Ralls

BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises event?utm_
Gtk-osx-users mailing list
Gtk-osx-users lists sourceforge net

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]