Re: Building GnuCash without X11

2008-11-04 Thread Charles Day
On Tue, Nov 4, 2008 at 11:17 AM, Harry van der Wolf [EMAIL PROTECTED]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 [EMAIL PROTECTED]

 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@lists.macosforge.org
 http://lists.macosforge.org/mailman/listinfo.cgi/macports-users



___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Building GnuCash without X11

2008-11-03 Thread Charles Day
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@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Building GnuCash without X11

2008-11-03 Thread Bryan Blackburn
On Mon, Nov 03, 2008 at 06:49:04PM -0800, Charles Day said:
 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

I think you might want to add +quartz in there as well, someone mentioned
there isn't complete consistency on naming (though +quartz is more specific
than just +no_x11).  I can't speak from personal experience on this,
however, since my gtk stuff is all X11.

[...]
 
 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
[...]
 -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

That's an issue with the default X11 for 10.5, which has buggy .la files;
see ticket #17008:

http://trac.macports.org/ticket/17008

But more interesting is that it's still linking against X11 libraries at
all, so maybe it's the +quartz issue I mentioned.

Bryan


 
 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@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: building gnucash

2008-09-27 Thread Jeffrey Goldberg
On Sep 23, 2008, at 12:06 AM, Ryan Schmidt wrote:

 I don't think you have any misconfiguration. As was said, gnucash has
 lots of dependencies -- so many that my port dependency graph maker
 just draws a jumble, which you can view here for your undoubtedly
 great amusement:

 http://www.ryandesign.com/tmp/gnucash.png (1.2MB)

That pretty much confirms my view about gnucash dependencies.

Is your port dependency graph maker available as a port?

Cheers,

-j


-- 
Jeffrey Goldberghttp://www.goldmark.org/jeff/

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: building gnucash

2008-09-27 Thread Ryan Schmidt
On Sep 27, 2008, at 18:12, Jeffrey Goldberg wrote:

 On Sep 23, 2008, at 12:06 AM, Ryan Schmidt wrote:

 I don't think you have any misconfiguration. As was said, gnucash has
 lots of dependencies -- so many that my port dependency graph maker
 just draws a jumble, which you can view here for your undoubtedly
 great amusement:

 http://www.ryandesign.com/tmp/gnucash.png (1.2MB)

 That pretty much confirms my view about gnucash dependencies.

 Is your port dependency graph maker available as a port?

No, it's just a php script I wrote, but you can get it here:

http://lists.macosforge.org/pipermail/macports-dev/2008-April/ 
005038.html

In further messages in that thread, someone tried to integrate the  
graph creation into MacPorts itself, but I don't think it ever got  
committed. Would be nice to have though.

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: building gnucash

2008-09-23 Thread Robert Goldman
Ryan Schmidt wrote:
 
 On Sep 22, 2008, at 6:22 PM, Robert Goldman wrote:
 
 I was trying to 'port install gnucash' the other day, and the building
 process failed on some dependencies.
 
 If you show us exactly what error occurred we may be able to help you
 diagnose it! :)

Thanks.  What I really wanted to know was whether somehow I had messed
things up resulting in spurious (and failed) dependencies.  Learning
that it wasn't a mess up, I managed to grind through all of the
dependencies and get gnucash to build (and then kill the ffi that caused
it to fail to run, per earlier correspondence on this list).

So the good news is that I don't have an error anymore!  ;-)
 
 What surprised me was the sheer
 scale of the set of dependencies.  For example, one of the listed failed
 dependencies was 'nautilus'.  Isn't this a GNOME file manager GUI?  I
 can't see why gnucash would require nautilus installation.  So I'm
 wondering if somehow I've gotten macports misconfigured, or if there's
 some way to build a more minimal gnucash version.
 
 I don't think you have any misconfiguration. As was said, gnucash has
 lots of dependencies -- so many that my port dependency graph maker just
 draws a jumble, which you can view here for your undoubtedly great
 amusement:
 
 http://www.ryandesign.com/tmp/gnucash.png (1.2MB)
 
 port variants gnucash explains that there are some variants which may
 help a bit: without_quotes, without_hbci, without_ofx, each of which
 deletes some of the dependencies (at the expense of some feature).
 

I was going to do this, but frankly didn't know what hbci, quotes and
ofx are, so I just installed the whole mess!

Best,
r


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


building gnucash

2008-09-22 Thread Robert Goldman
I was trying to 'port install gnucash' the other day, and the building
process failed on some dependencies.  What surprised me was the sheer
scale of the set of dependencies.  For example, one of the listed failed
dependencies was 'nautilus'.  Isn't this a GNOME file manager GUI?  I
can't see why gnucash would require nautilus installation.  So I'm
wondering if somehow I've gotten macports misconfigured, or if there's
some way to build a more minimal gnucash version.

thanks,
R
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: building gnucash

2008-09-22 Thread Lenore Horner
On Sep 22, 2008, at 18:22 PM, Robert Goldman wrote:

 I was trying to 'port install gnucash' the other day, and the building
 process failed on some dependencies.  What surprised me was the sheer
 scale of the set of dependencies.  For example, one of the listed  
 failed
 dependencies was 'nautilus'.  Isn't this a GNOME file manager GUI?  I
 can't see why gnucash would require nautilus installation.  So I'm
 wondering if somehow I've gotten macports misconfigured, or if there's
 some way to build a more minimal gnucash version.

 thanks,
 R
Gnucash is huge.  I think nautilus, assuming it's what you say it is,  
must be in there for when you open a file - so there's a nice browser  
window.

Lenore

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: building gnucash

2008-09-22 Thread Mike Procario
I have used gnucash for a long time, and I remember building it from  
source on linux. The developers said that gnucash lived high on the  
software foodchain. They used all sorts of libraries to reduce the  
code that they had to write, but macports dependencies still surprise  
me. I think firefox is a dependency too.

I have gotten it to build and it seems to work except for the help  
system. It displays the raw html instead of showing it formatted. I am  
still working on what is causing that.

Mike

On Sep 22, 2008, at 7:22 PM, Robert Goldman wrote:

 I was trying to 'port install gnucash' the other day, and the building
 process failed on some dependencies.  What surprised me was the sheer
 scale of the set of dependencies.  For example, one of the listed  
 failed
 dependencies was 'nautilus'.  Isn't this a GNOME file manager GUI?  I
 can't see why gnucash would require nautilus installation.  So I'm
 wondering if somehow I've gotten macports misconfigured, or if there's
 some way to build a more minimal gnucash version.

 thanks,
 R
 ___
 macports-users mailing list
 macports-users@lists.macosforge.org
 http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: building gnucash

2008-09-22 Thread Ryan Schmidt

On Sep 22, 2008, at 6:22 PM, Robert Goldman wrote:

 I was trying to 'port install gnucash' the other day, and the building
 process failed on some dependencies.

If you show us exactly what error occurred we may be able to help you  
diagnose it! :)

 What surprised me was the sheer
 scale of the set of dependencies.  For example, one of the listed  
 failed
 dependencies was 'nautilus'.  Isn't this a GNOME file manager GUI?  I
 can't see why gnucash would require nautilus installation.  So I'm
 wondering if somehow I've gotten macports misconfigured, or if there's
 some way to build a more minimal gnucash version.

I don't think you have any misconfiguration. As was said, gnucash has  
lots of dependencies -- so many that my port dependency graph maker  
just draws a jumble, which you can view here for your undoubtedly  
great amusement:

http://www.ryandesign.com/tmp/gnucash.png (1.2MB)

port variants gnucash explains that there are some variants which  
may help a bit: without_quotes, without_hbci, without_ofx, each of  
which deletes some of the dependencies (at the expense of some feature).


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users