Ian, thank you for filenames and trying. if getting gtk binary is difficult in mac then Jsoftware may provide an all-in-one jgtk installer for Mac.
I guess neither Eric or Chris get a 64-bit mac for testing so that there was no J64 for mac. Срд, 10 Ноя 2010, Ian Clark писал(а): > > What are the file names for libcairo and libpangocairo ? > > Glade.app contains files called: > libcairo.2.dylib > libpangocairo-1.0.0.dylib > ...I guess these are the ones you mean. > ...They can go in any folder I care to put them. > ...I've put them both in: /Library/Frameworks/GLib.framework/Libraries/ > ......which I've created to hold the Glade.app dylib copies. > > I've also done, as Ric suggests: > 'install' jpkg 'gui/gtk' > >>>This is what the reply is: > Installing 1 package > Downloading gui/gtk... > Installing gui/gtk... > Done. > 2 addons can be updated, 22 addons are not yet installed. > The base library is up to date. > > > > You can proceed to test if both J and the gtk binary are 32-bit. > > You say that the dylibs in the list you posted are 64-bit. > Yet the J701 I have installed is this one: > J32 Mac Intel: j701abeta_mac_intel.dmg > ...there being no 64-bit version. > I guess this isn't going to work...? > > Anyway, let's try it ... > > I have installed all dylibs stated, and checked they exist within the > paths stated using: fexist. > > Now I guess I've got to launch '~addons/ide/gtk/gtk.ijs' using the > grey icon: jcon701 ... > (...is that right??) > > I get: > fexist zz=: '/Applications/j701/addons/ide/gtk/gtk.ijs' > 1 > load zz > |domain error: gtkinit > | 13!:8[3 > > I don't know how to proceed. > Did someone say this was tested for the Mac? I did just notice the following: > > UNAME > Darwin > > ...whereas if I look at the code for gtkinit_jgtk_ I see that the only > variants of UNAME that are handled there are: > case. 'Win' > case. 'Linux' > case. 'Mac' > > As a result, execution drops thru and 13!:8[3 gets executed. > I guess if UNAME -: 'Mac' it would have reported to me: mac_init_failed. > But that's not terribly surprising if the dylibs that Bill identified > for me are in fact 64-bit (--I don't know how to tell). > > I guess I'm going to give this up for now, and just concentrate on > jhs, which seems to work ok. > (It appears GTK+ for the Mac is in beta too, which is one too many > unknown-unknowns for me.) > > Ian > > > > On Wed, Nov 10, 2010 at 6:11 AM, bill lam <[email protected]> wrote: > > soureview has already been disabled in gtk for mac, so that it doesn't > > matter if you got libsourceview or not, the libxml2 is only required by > > glade iirc. You can proceed to test if both J and the gtk binary are > > 32-bit. > > > > What are the file names for libcairo and libpangocairo ? > > > > Срд, 10 Ноя 2010, Ian Clark писал(а): > >> Bill, > >> > >> /Library/Frameworks/ exists, but no framework within it relating to Gtk or > >> GLib. > >> But I can create it and populate it with the files you list below, > >> copies of which I find inside the Glade.app which I have downloaded > >> and which runs ok. > >> > >> I can see all these Dynamic Libraries except: > >> libgtksourceview-2.0.0.dylib and libxml2.dylib. > >> They are all dated 29 Jun 2009. > >> > >> Shall I go ahead and build the library structure you give below, with > >> what I've got? > >> > >> Ian > >> > >> > >> > >> On Tue, Nov 9, 2010 at 4:43 AM, bill lam <[email protected]> wrote: > >> > I assume snow leopard is 64-bit, in that case you should have 64-bit > >> > version of gtk binary as the following. I didn't know the exact path and > >> > file names for libcairo and libpangocairo, please post it if you can > >> > find out. > >> > > >> > libglib=: > >> > <'/Library/Frameworks/GLib.framework/Libraries/libglib-2.0.0.dylib' > >> > libgdk=: > >> > <'/Library/Frameworks/Gtk.framework/Libraries/libgdk-quartz-2.0.0.dylib' > >> > libgtk=: > >> > <'/Library/Frameworks/Gtk.framework/Libraries/libgtk-quartz-2.0.0.dylib' > >> > libpixbuf=: > >> > <'/Library/Frameworks/Gtk.framework/Libraries/libgdk_pixbuf-2.0.0.dylib' > >> > libgobject=: > >> > <'/Library/Frameworks/GLib.framework/Libraries/libgobject-2.0.0.dylib' > >> > libpango=: > >> > <'/Library/Frameworks/Gtk.framework/Libraries/libpango-1.0.0.dylib' > >> > libigemac=: > >> > <'/Library/Frameworks/Gtk.framework/Libraries/libigemacintegration.0.dylib' > >> > libgtksourceview=: > >> > <'/Library/Frameworks/Gtk.framework/Libraries/libgtksourceview-2.0.0.dylib' > >> > libxml=: <'/Library/Frameworks/Gtk.framework/Libraries/libxml2.dylib' > >> > libcairo=: <'/Library/Frameworks/where ?' > >> > libpangocairo=: <'/Library/Frameworks/where ?' > >> > > >> > Втр, 09 Ноя 2010, Sherlock Ric писал(а): > >> >> Ian, > >> >> At a minimum you will also need to install the 'gui/gtk' addon. > >> >> 'install' jpkg 'gui/gtk' > >> >> > >> >> The other bit that you need are the Gtk+ binaries. I'm not sure if they > >> >> are included by default on Mac? If so then you should be golden. > >> >> > >> >> If not you'll need to get them from somewhere. > >> >> http://gtk-osx.sourceforge.net/ looks promising. > >> >> > >> >> I managed (by mistake!) to get the Gtk IDE running on Windows (without > >> >> syntax-highlighting) by installing Glade (gui form designer for GTK), > >> >> they have a Mac binary too so that may also be useful. > >> >> http://glade.gnome.org/ > >> >> > >> >> Ric > >> >> > >> >> > >> >> > From: Ian Clark > >> >> > Sent: Tuesday, 9 November 2010 12:21 > >> >> > > >> >> > load'pacman' > >> >> > 'showinstalled'jpkg'' > >> >> > ┌────────────┬──────┬──────┬─────────────────────────────┐ > >> >> > │base library│7.1.2 │7.1.2 │base library scripts and labs│ > >> >> > ├────────────┼──────┼──────┼─────────────────────────────┤ > >> >> > │ide/gtk │1.0.1 │1.0.1 │GTK IDE │ > >> >> > ├────────────┼──────┼──────┼─────────────────────────────┤ > >> >> > │ide/jhs │1.0.38│1.0.38│JHS IDE │ > >> >> > └────────────┴──────┴──────┴─────────────────────────────┘ > >> >> > > >> >> > iMac running Mac OS X version 10.6.4 (aka Snow Leopard). > >> >> > > >> >> > Ian > >> >> > > >> >> > On Mon, Nov 8, 2010 at 7:38 AM, bill lam <[email protected]> wrote: > >> >> > > What is the output of > >> >> > > load 'pacman' > >> >> > > 'showinstalled'jpkg'' > >> >> > > > >> >> > > and what is your platform for this test? > >> >> > > > >> >> > > Пнд, 08 Ноя 2010, Ian Clark писал(а): > >> >> > >> So how do I activate it? > >> >> > >> > >> >> > >> I notice there's a file: '~addons/ide/gtk/gtk.ijs' > >> >> > >> > >> >> > >> But when I try to run it under jconsole, it fails because it's > >> >> > missing > >> >> > >> a script... > >> >> > >> > >> >> > >> loadd jpath '~addons/ide/gtk/gtk.ijs' > >> >> > >> NB. J gtkide > >> >> > >> > >> >> > >> require 'gui/gtk project' > >> >> > >> |file name error: script > >> >> > >> | 0!:0 y[4!:55<'y' > >> >> > >> > >> >> > >> I can't see via pacman how to get hold of any such script. > >> >> > >> > >> >> > >> Or maybe it's changed its name/path? > >> >> > >> > >> >> > >> Ian > >> >> > >> > >> >> > >> > >> >> > >> On Sun, Nov 7, 2010 at 5:39 AM, bill lam <[email protected]> > >> >> > wrote: > >> >> > >> > Chris confirmed gtk ide has been tested ok on a mac some time > >> >> > >> > ago. > >> >> > >> > > >> >> > >> > Вск, 07 Ноя 2010, Sherlock Ric писал(а): > >> >> > >> >> > From: Ian Clark > >> >> > >> >> > Sent: Sunday, 7 November 2010 09:31 > >> >> > >> >> > > >> >> > >> >> > I suppose there isn't a GTK ide for the Mac yet? I've tried > >> >> > running > >> >> > >> >> > /Applications/j701/addons/ide/gtk/gtk.ijs > >> >> > >> >> > but nothing happens. I guess it's just for M$ Win? I'm not > >> >> > >> >> > that > >> >> > >> >> > worried: coding browser apps will incline me towards jhs. > >> >> > >> >> > >> >> > >> >> I haven't tried the GTK ide on Mac. I imagine that the interface > >> >> > scripts should work OK, I imagine the issue (as on Windows) will be > >> >> > whether GTK+ binaries are already installed on your system or not. No > >> >> > idea if GTK+ is common on Macs? > >> >> > >> >> > >> >> > >> >> ----------------------------------------------------------------- > >> >> > ----- > >> >> > >> >> For information about J forums see > >> >> > http://www.jsoftware.com/forums.htm > >> >> > >> > > >> >> > >> > -- > >> >> > >> > regards, > >> >> > >> > ==================================================== > >> >> > >> > GPG key 1024D/4434BAB3 2008-08-24 > >> >> > >> > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > >> >> > >> > ------------------------------------------------------------------ > >> >> > ---- > >> >> > >> > For information about J forums see > >> >> > http://www.jsoftware.com/forums.htm > >> >> > >> -------------------------------------------------------------------- > >> >> > -- > >> >> > >> For information about J forums see > >> >> > http://www.jsoftware.com/forums.htm > >> >> > > > >> >> > > -- > >> >> > > regards, > >> >> > > ==================================================== > >> >> > > GPG key 1024D/4434BAB3 2008-08-24 > >> >> > > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > >> >> > > --------------------------------------------------------------------- > >> >> > - > >> >> > > For information about J forums see > >> >> > http://www.jsoftware.com/forums.htm > >> >> > ---------------------------------------------------------------------- > >> >> > For information about J forums see http://www.jsoftware.com/forums.htm > >> >> ---------------------------------------------------------------------- > >> >> For information about J forums see http://www.jsoftware.com/forums.htm > >> > > >> > -- > >> > regards, > >> > ==================================================== > >> > GPG key 1024D/4434BAB3 2008-08-24 > >> > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > >> > ---------------------------------------------------------------------- > >> > For information about J forums see http://www.jsoftware.com/forums.htm > >> ---------------------------------------------------------------------- > >> For information about J forums see http://www.jsoftware.com/forums.htm > > > > -- > > regards, > > ==================================================== > > GPG key 1024D/4434BAB3 2008-08-24 > > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
