Em 05/06/2014, à(s) 18:45, David Evans <[email protected]> escreveu:
> On 6/5/14 2:21 PM, Gustavo Seabra wrote: >> Em 05/06/2014, à(s) 13:35, David Evans <[email protected]> escreveu: >> >>> On 6/5/14 3:18 AM, Gustavo Seabra wrote: >>>> Em 04/06/2014, à(s) 23:51, Jason Swails <[email protected]> escreveu: >>>> >>>>> >>>>> On Wed, Jun 4, 2014 at 10:15 PM, Gustavo Seabra >>>>> <[email protected]> wrote: >>>>> Hi Guys, >>>>> I’m trying to install gnucash by following the instructions here: >>>>> >>>>> http://wiki.gnucash.org/wiki/MacOSX/MacPortsDetail >>>>> >>>>> According to them, it gnucash needs to use xquartz, so that’s what I’m >>>>> using. >>>>> >>>>> However, after a long, long time, the installation stops with the message >>>>> below. Isn’t it possible to install gnucash with xquartz anymore? >>>>> >>>>> It looks like not all of the variants are getting set appropriately in >>>>> the dependencies (either that or some of the dependencies were already >>>>> installed without the proper variants). If I had to guess, I would say >>>>> it's probably a subtle error with some of the MacPorts dependency trees. >>>>> >>>>> You can try rebuilding libcanberra with the +x11 variant and then try >>>>> gnucash again. This is the approach I've used in the past when I've >>>>> gotten similar errors. It sometimes takes a bit of prodding (basically >>>>> doing this over and over for all unsatisfied dependencies until it works). >>>>> >>>>> All the best, >>>>> Jason >>>>> >>>>> -- >>>>> Jason M. Swails >>>>> BioMaPS, >>>>> Rutgers University >>>>> Postdoctoral Researcher >>>> Hi Jason, >>>> >>>> I’m actually trying to build a non-x11, “native” osx build, so building >>>> with +x11 might not be the best way to go here. But I’ll keep that in mind >>>> in case it’s really needed. >>>> >>>> Thanks! >>>> Gustavo Seabra >>>> >>>> >>>> >>> Gustavo -- >>> >>> I spent some time last night and this morning trying to work around >>> various issues regarding the build of gnucash with +quartz -x11 and was, >>> in the end, unsuccessful. But I now see where some of the problems lie: >>> >>> First, the libcanberra error cited is a red herring. libcanberra is a >>> dependency of yelp, which due to its current design requires X11, i.e. >>> the code uses direct X11 API with no quartz alternative, rather than >>> sticking to the GTK+ API. This is also true for some of its >>> dependencies. The way to fix this is to remove gnucash's run time >>> dependency on yelp when building +quartz. >>> >>> Secondly, having gotten rid of the yelp/libcanberra issue, the build >>> fails because dependency webkit-gtk-2.0 currently fails to build with >>> the +quartz variant. I thought this could be circumvented by using the >>> gtkhtml variant which claims to allow use of libgtkhtml3 as a substitute for >>> webkit-gtk but that variant is now obsolete -- the current version of >>> gnucash only accepts webkit-gtk, libgtkhtml3 support has been removed. >>> >>> So that's the sticking point for now. Will look into the webkit-gtk >>> build issue. >>> >>> For now, your best bet is to build the X11 version of gnucash. >>> >>> Dave Evans >> In this case, I suppose just removing the extra lines in >> /opt/local/etc/macports/variants.conf, uninstalling and cleaning and >> reinstalling gnucash and then trying the port install command should be >> enough, right? > And make sure that any dependencies that are built +quartz or -x11 are > rebuilt as well. Again ones to look for are > cairo +x11 > pango +x11 > gdk-pixbuf +x11 > gtk2 +x11 > > After building if rev-upgrade complains about missing quartz related > pieces then delete and reinstall them as well. > > Possibilities here are > > goffice08 > gwenhywfar4-gtk > aqbanking5-gtk That did it. I did: $ sudo vi /opt/local/etc/macports/variants.conf (comment the added lines) $ sudo port uninstall --follow-dependents cairo $ sudo port uninstall --follow-dependents dubs That did clean pretty much everything listed above. Then, finally: $ sudo port install gnucash +without_hbci +without_quotes And it did build a gnucash that apparently works fine. It’s not “native” and still opens the XQuartz, but it works just fine. The last question is: Is there a way to make a “clickable” app from it, so I don’t need to open a terminal every time? After the webkit-gtk issue is resolved, will it be possible to install a version that does not require the XQuartz window to open? Thanks a lot! Gustavo. _______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
