[Gtk-osx-users] Now it is WebKit (was LibSoup buid fails HARD)
Status: Beta
Brought to you by:
jralls
From: Thinus P. <th...@po...> - 2015-04-09 06:25:28
|
Sorry for the state of this reply, but I don’t seem to be receiving mails from the list. I re-subscribed, lets see if it comes through now. Thanks John, I stumbled my way through the make uninstall && make install in glib-networking. It is very weird. After this issue all went well until I got to WebKit. That crashed with an function it could not find. The patch at https://bugs.webkit.org/attachment.cgi?id=154643&action=diff sorted the first issue. Now it is complaining about: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:423: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__tree:157:23: error: invalid operands to binary expression ('pointer' (aka 'std::__1::__tree_node_base<void *> *') and 'std::nullptr_t') if (__x->__right_ != nullptr) and Tools/DumpRenderTree/gtk/DumpRenderTree.cpp:470:15: error: use of undeclared identifier 'LC_ALL'; did you mean 'P_ALL'? setlocale(LC_ALL, ""); ^~~~~~ P_ALL /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/sys/wait.h:80:2: note: 'P_ALL' declared here P_ALL, ^ Tools/DumpRenderTree/gtk/DumpRenderTree.cpp:470:5: error: use of undeclared identifier 'setlocale' setlocale(LC_ALL, "”); The first issue looks like the nullptr variable is a different type than the other pointer from (it looks like) a tree class in the std lib. And C++ is barfing all over it when you try to compare the two. I’m no C++ expert… The second issue looks like the includes for some localisation package may be missing. Any ideas? Kind regards Thinus > > On Apr 8, 2015, at 10:50 AM, Thinus Pollard <thinus@...> 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 > > > > 2. libsoup fails hard > > ... > > 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 gwenhywfar-1.13.1/src/os/posix/directory.c. The g-ir-scanner problem that manifests with lib soup > 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`. >Regards, John Ralls |