Building GnuCash without X11

Charles Day cedayiv at gmail.com
Tue Nov 4 15:02:22 PST 2008


On Tue, Nov 4, 2008 at 11:17 AM, Harry van der Wolf <hvdwolf at gmail.com>wrote:

> Hi Charles,
>
> You mention that you typed:
> "sudo port install gnucash +without_hbci"
>
> you should type: "sudo port install gnucash +without_hbci +no_x11"
> (if you didn't do that already but didn't mention it in your mail)
>

Thanks everyone for the help! I think this gives me enough to try again.
I'll give it another shot in a day or so (I'm in transit the next 24 hours)
and see how it goes.

Cheers,
Charles


>
> Harry
>
> 2008/11/4 Charles Day <cedayiv at gmail.com>
>
>> Greetings,
>> I am one of the GnuCash developers, so I read with some excitement Olaf
>> Foellinger's report that he was able to build GnuCash without X11. If I can
>> repeat his success and test it out, I hope that at some point we might be
>> able to begin offering GnuCash for Mac in native form.
>>
>> However, I tried it myself without much luck. Perhaps someone could
>> advise.
>>
>> I have a brand-new MacBook Pro now (10.5.5), on which I installed
>> MacPorts. I started with the following:
>> sudo port install dbus +no_x11
>> sudo port install cairo +no_x11
>> sudo port install pango +no_x11
>> sudo port install gtk2 +no_x11
>>
>> These all worked fine except for a few python stumbles which succeeded on
>> the next attempt. Once all that was finished, I tried:
>> sudo port install gnucash +without_hbci
>>
>> The "+without_hbci" was just to remove a few dependencies, for a hopefully
>> greater chance of success. However, this failed when it reached the
>> desktop-gnome dependency, saying what I understand to mean "I'm trying to
>> build desktop-gnome +x11 but I need gtk2 +x11 and you have gtk2 +no_x11
>> instead."
>>
>> --->  Configuring gnome-desktop
>> Error: Target org.macports.configure returned: +x11 variant selected, but
>> gtk2+quartz is installed
>>
>> I wasn't sure what to do at this point, so I tried:
>> sudo port clean gnome-desktop
>> sudo port install gnome-desktop +no_x11
>>
>> However this failed too:
>> /usr/bin/gcc-4.0 -dynamiclib  -o .libs/libgnome-desktop-2.7.2.4.dylib
>>  .libs/gnome-desktop-item.o .libs/gnome-ditem-edit.o .libs/gnome-hint.o
>> .libs/gnome-bg.o .libs/display-name.o .libs/gnome-rr.o
>> .libs/gnome-rr-config.o .libs/gnome-rr-labeler.o .libs/edid-parse.o
>>  -L/opt/local/lib -L/usr/X11/lib /usr/X11/lib/libX11.6.2.0.dylib
>> /usr/X11/lib/libXau.6.0.0.dylib /usr/X11/lib/libXdmcp.6.0.0.dylib
>> /usr/X11/lib/libXrandr.2.0.0.dylib /usr/X11/lib/libXext.6.4.0.dylib
>> /usr/X11/lib/libXrender.1.3.0.dylib /opt/local/lib/libgnomeui-2.dylib
>> /opt/local/lib/libtiff.dylib /opt/local/lib/libjasper.dylib
>> /opt/local/lib/libjpeg.dylib /opt/local/lib/libORBitCosNaming-2.dylib
>> /opt/local/lib/libssl.dylib /opt/local/lib/libcrypto.dylib
>> /opt/local/lib/libz.dylib /opt/local/lib/libdbus-glib-1.dylib
>> /usr/X11/lib/libSM.6.0.0.dylib /usr/X11/lib/libICE.6.3.0.dylib
>> /opt/local/lib/libgnome-keyring.dylib /opt/local/lib/libbonoboui-2.dylib
>> /opt/local/lib/libxml2.dylib -lpthread /opt/local/lib/libgnomecanvas-2.dylib
>> /opt/local/lib/libgnome-2.dylib /opt/local/lib/libpopt.dylib
>> /opt/local/lib/libgnomevfs-2.dylib /opt/local/lib/libesd.dylib
>> /opt/local/lib/libbonobo-2.dylib /opt/local/lib/libaudiofile.dylib
>> /opt/local/lib/libbonobo-activation.dylib /opt/local/lib/libgailutil.dylib
>> /opt/local/lib/libart_lgpl_2.dylib /opt/local/lib/libgtk-quartz-2.0.dylib
>> /opt/local/lib/libgdk-quartz-2.0.dylib /opt/local/lib/libatk-1.0.dylib
>> /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libgdk_pixbuf-2.0.dylib
>> /opt/local/lib/libpangocairo-1.0.dylib /opt/local/lib/libcairo.dylib
>> /opt/local/lib/libpangoft2-1.0.dylib /opt/local/lib/libpango-1.0.dylib
>> /opt/local/lib/libpixman-1.dylib /opt/local/lib/libfontconfig.dylib
>> /opt/local/lib/libexpat.dylib /opt/local/lib/libfreetype.dylib
>> /opt/local/lib/libpng12.dylib -lz /opt/local/lib/libgconf-2.dylib
>> /opt/local/lib/libORBit-2.dylib -lm /opt/local/lib/libdbus-1.dylib
>> /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libgthread-2.0.dylib
>> /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libglib-2.0.dylib
>> /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib  -Wl,-framework
>> -Wl,CoreServices -Wl,-framework -Wl,ApplicationServices -Wl,-framework
>> -Wl,CoreAudio -install_name  /opt/local/lib/libgnome-desktop-2.7.dylib
>> -compatibility_version 10 -current_version 10.4 -Wl,-single_module
>> i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXrandr.2.0.0.dylib: No such
>> file or directory
>> make[3]: *** [libgnome-desktop-2.la] Error 1
>> make[2]: *** [all-recursive] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>>
>> Forgive me if the answer is obvious, but this is my first day using
>> MacPorts and in fact I am new to Apple in general.
>>
>> Cheers,
>> Charles
>>
>>
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20081104/404dc082/attachment.html>


More information about the macports-users mailing list